summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Release 3.7.0HEADv3.7.0masterMatt Brictson2023-02-211-1/+1
|
* Allow `Marshal.load` to be disabled for `Plist.parse_xml` (#61)Matt Brictson2023-02-211-11/+18
| | | | | * Allow `Marshal.load` to be disabled for `Plist.parse_xml` * Document the new :marshal option
* Release 3.6.0v3.6.0Matt Brictson2020-12-301-1/+1
|
* Do not indent multiline string values (#54)Taylor Boyko2020-12-281-141/+91
| | | | | | | | | | | | | | | | * do not indent multiline string values * bug fix for newline issue * modified test asset formatting * Add all necessary indentation at time of line output. Indent data fields but not multiline strings. Move much of generator code to class for code simplicity. General code cleanup. * added test for multiline string * Add CHANGELOG entry Co-authored-by: Matt Brictson <matt@mattbrictson.com> Co-authored-by: Matt Brictson <mattbrictson@users.noreply.github.com>
* Add error unimplemented (#51)Laurent Arnoud2019-12-291-1/+6
| | | | * Add test for unimplemented error * Add UnimplementedElementError exception
* Substitute require for require_relative (#52)Tim Smith2019-12-291-3/+3
| | | | | require_relative is significantly faster and should be used when available. Signed-off-by: Tim Smith <tsmith@chef.io>
* Add support for text inside `<![CDATA[ ... ]]>`. (#49)Markus Reiter2019-09-041-2/+8
| | | | | | | * Add support for text inside `<![CDATA[ ... ]]>`. * Add tests for `CDATA`. * Remove Ruby 1.8.7 and Ree from Travis config. * Add `required_ruby_version`.
* 3.5.0 was released on 2018-12-22 to rubygemsv3.5.0Matt Brictson2019-07-031-1/+1
| | | | | The gem was packaged and published to rubygems but never committed to GitHub. This commit catches up the repo to match the published gem.
* Preparing v3.4.0v3.4.0Matt Brictson2017-12-081-1/+1
|
* Use options hash instead of keyword arguments to support Ruby 1.8 & 1.9Yen-Nan Lin2017-08-011-22/+28
|
* Support custom indent stringYen-Nan Lin2017-07-311-20/+22
|
* Update communication prompts to point to githubPatrick Way2017-07-201-2/+3
|
* Move `module Emit` into `module Plist`.Markus Reiter2017-05-061-166/+166
|
* Fix comment indentation.Markus Reiter2017-05-061-11/+11
|
* Don’t use class variables.Markus Reiter2017-05-061-4/+2
|
* Refactor method code style.Markus Reiter2017-05-062-21/+22
|
* Remove extra empty line.Markus Reiter2017-05-061-2/+0
|
* Replace `Hash.new` with literal `{}`.Markus Reiter2017-05-061-1/+1
|
* Replace `Array.new` with literal `[]`.Markus Reiter2017-05-061-2/+2
|
* Remove useless `module Plist` from `plist.rb`.Markus Reiter2017-05-061-3/+0
|
* Preparing v3.3.0v3.3.0Matt Brictson2017-04-281-1/+1
|
* Fix ASCII/UTF-8 error. (#38)Markus Reiter2017-04-231-4/+27
| | | | | | | | | | * Add reproducible test for UTF-8/ASCII error. * Change encoding according to `xml` tag. * Add changelog entry. * Add helper method to parse XML encoding.
* Add `encoding` comment to Ruby files.Markus Reiter2017-04-234-0/+8
|
* Remove shebangs from Ruby files.Markus Reiter2017-04-233-6/+0
|
* Fix whitespace.Markus Reiter2017-04-231-1/+1
|
* require plist/versionMatt Brictson2017-04-181-0/+1
|
* Fix unused variable `e` warning (#32)Matt Brictson2017-04-171-1/+1
|
* Fix Fixnum, Bignum deprecations in Ruby 2.4 (#33)Matt Brictson2017-04-171-2/+2
| | | | | | Fixnum and Bignum have been deprecated in Ruby 2.4. In any case, both of these classes are subclasses of Integer, so using just Integer in the case statements is sufficient. Remove references to Fixnum and Bignum to silence the deprecations warnings.
* Reorganize project based on `bundle gem` practices (#35)Matt Brictson2017-04-172-1/+3
| | | | | | | | | | | | | | | | Remove the custom Rake tasks for packaging and release the gem in favor of a standard layout as suggested by the `bundle gem` command: * Add a Gemfile and gemspec * Use Bundler's built-in `gem_tasks` * Add appropriate file extension to LICENSE * Add development utils in `bin` * Move version number to `plist/version.rb` * Use Bundler's recommended `.gitignore` * Add `gem install bundler` to `.travis.yml` This reorganization allows any Ruby open source developer to easily check out, run tests, and release the gem without any special knowledge or tooling.
* Update versionAlbert Wang2016-01-311-1/+1
|
* Merge pull request #18 from bfreese/pdata-fixPatrick Way2016-01-271-2/+1
|\ | | | | Fixed PData parsing issue
| * Fixed defect in PData in which exception was thrown when <data/> element was ↵Brian Freese2013-02-281-2/+1
| | | | | | | | read from plist.
* | Updated dprecated File.exists? to File.exist?Chris Larsen2016-01-171-1/+1
|/
* Merge pull request #2 from bradleyjucsc/masterBen Bleything2012-08-011-8/+1
|\ | | | | Sorting issue
| * Changed sort to sort_by in Plist::Emit.plist_node to allow mixed symbol and ↵bradleyjucsc2010-09-231-8/+1
| | | | | | | | string hash keys.
* | Merge pull request #5 from shayfrendt/masterBen Bleything2012-08-011-1/+1
|\ \ | | | | | | Xcode 4 doesn't use the word Computer anymore
| * | Remove 'Computer' from 'Apple Computer' string in plist files ;-)Shay Frendt2011-07-061-1/+1
| |/
* | Fix typo in commentDustin J. Mitchell2012-08-011-1/+1
|/ | | "data" should be "Date". In fact, Data elements seem to work just fine.
* version bump: 3.1.0 releasedintegrate_DanaDangerBen Bleything2010-02-231-1/+1
|
* ruby 1.9 compatibility!Ben Bleything2010-02-231-6/+12
|
* excise a bunch of unnecessary @@ variablesBen Bleything2010-02-161-5/+4
|
* remove ugly header comments, replace with simpler alternativeBen Bleything2010-02-143-25/+24
|
* rejigger generator.rb so we don't have extra indentation to worry aboutBen Bleything2010-02-141-162/+163
|
* * parser now accepts strings or anything that responds to #readBen Bleything2007-02-241-11/+10
|
* comment tweakageBen Bleything2006-09-211-1/+1
|
* move IndentedString inside Plist::EmitBen Bleything2006-09-211-33/+32
|
* fix whitespaceBen Bleything2006-09-202-16/+16
|
* add tests and fixes for empty collection elements (more pedantic adherence ↵Ben Bleything2006-09-151-13/+21
| | | | to What Apple Does)
* reinsert rdoc modifiersBen Bleything2006-09-151-2/+2
|
* merge generator-injection-removal branch into trunkBen Bleything2006-09-133-162/+210
|