nanaimo 0.2.6 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c1081493a2517a57bb1e78617df2d88f088ab01a5d67b349ca6bdb7a1b0abfc5
4
- data.tar.gz: 7a654acc8e0e8f792a584d3dab347a29fc6cb6e18d8a79e55d0a83cfbf6574ff
3
+ metadata.gz: d44e0a3c7b1780d4f3599d2e8c215577fd518a95a8a581c9f322e0b607127df2
4
+ data.tar.gz: 3610b29faf500e0a9489a5f3e6fda8d6f3d0da4fa38eba6c28c66cd34521c221
5
5
  SHA512:
6
- metadata.gz: 51b9aabdc0d52b41745e9d212d5ab11b682ac84a62d4a164099b98a21049e8029c378621c8ee8b82a55b7ab6eb5f548372ea84cd2381270f8a3ba30d508a6523
7
- data.tar.gz: 866422ae0447fc661d5fa9dc551f62b31aba0094c0a1acdedaeb90a69523260ff765794f1197112b157fe093b6e8e17e401615c5b258ff20826b522070e1aac7
6
+ metadata.gz: f1bc93d5f8536a491ccbb93f6f22571e11201d08d8db3116c73c4707bfc54945ca65ad4f30fe09eb04ef700a9ac55b91779aff5f7bfefc9efdb88847d86874e7
7
+ data.tar.gz: e637b3f427c8507ff47f92ecea660416673fa7f5d5243b0a6f992cb7ac2133427041d96fe52f0a95ce11a0429fc8dc566f3e1af653166867dfd552622ebb229e
@@ -1,3 +1,5 @@
1
+ dist: trusty
2
+ bundler_args: --without debugging documentation
1
3
  branches:
2
4
  only:
3
5
  - master
@@ -6,7 +8,11 @@ language: ruby
6
8
  cache: bundler
7
9
  rvm:
8
10
  # The latest ruby version
11
+ - 2.7.0
12
+ - 2.6.2
9
13
  - 2.5.0
10
14
  - 2.4.2
11
15
  # OS X 10.9.5-10.10.0 (2.0.0-p481)
12
16
  - 2.0.0-p481
17
+ before_install:
18
+ - gem install bundler -v "~> 1.17"
@@ -1,5 +1,16 @@
1
1
  # Nanaimo Changelog
2
2
 
3
+ ## 0.3.0 (2020-07-17)
4
+
5
+ ##### Enhancements
6
+
7
+ * None.
8
+
9
+ ##### Bug Fixes
10
+
11
+ * None.
12
+
13
+
3
14
  ## 0.2.6 (2018-07-01)
4
15
 
5
16
  ##### Enhancements
data/Gemfile CHANGED
@@ -6,5 +6,7 @@ source 'https://rubygems.org'
6
6
  gemspec
7
7
 
8
8
  group :development do
9
+ gem 'rake', '~> 12.0'
10
+ gem 'rspec'
9
11
  gem 'rubocop', install_if: RUBY_VERSION >= '2.1'
10
12
  end
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nanaimo (0.2.6)
4
+ nanaimo (0.3.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -13,20 +13,20 @@ GEM
13
13
  ast (~> 2.4.0)
14
14
  powerpack (0.1.1)
15
15
  rainbow (3.0.0)
16
- rake (10.5.0)
17
- rspec (3.7.0)
18
- rspec-core (~> 3.7.0)
19
- rspec-expectations (~> 3.7.0)
20
- rspec-mocks (~> 3.7.0)
21
- rspec-core (3.7.1)
22
- rspec-support (~> 3.7.0)
23
- rspec-expectations (3.7.0)
16
+ rake (12.3.3)
17
+ rspec (3.9.0)
18
+ rspec-core (~> 3.9.0)
19
+ rspec-expectations (~> 3.9.0)
20
+ rspec-mocks (~> 3.9.0)
21
+ rspec-core (3.9.1)
22
+ rspec-support (~> 3.9.1)
23
+ rspec-expectations (3.9.1)
24
24
  diff-lcs (>= 1.2.0, < 2.0)
25
- rspec-support (~> 3.7.0)
26
- rspec-mocks (3.7.0)
25
+ rspec-support (~> 3.9.0)
26
+ rspec-mocks (3.9.1)
27
27
  diff-lcs (>= 1.2.0, < 2.0)
28
- rspec-support (~> 3.7.0)
29
- rspec-support (3.7.1)
28
+ rspec-support (~> 3.9.0)
29
+ rspec-support (3.9.2)
30
30
  rubocop (0.52.1)
31
31
  parallel (~> 1.10)
32
32
  parser (>= 2.4.0.2, < 3.0)
@@ -43,9 +43,9 @@ PLATFORMS
43
43
  DEPENDENCIES
44
44
  bundler (~> 1.12)
45
45
  nanaimo!
46
- rake (~> 10.0)
47
- rspec (~> 3.0)
46
+ rake (~> 12.0)
47
+ rspec
48
48
  rubocop
49
49
 
50
50
  BUNDLED WITH
51
- 1.16.2
51
+ 1.17.3
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Nanaimo
4
- VERSION = '0.2.6'.freeze
4
+ VERSION = '0.3.0'.freeze
5
5
  end
@@ -27,7 +27,7 @@ module Nanaimo
27
27
  #
28
28
  UTF8 = "// !$*UTF8*$!\n".freeze
29
29
 
30
- # @param plist [Plist,String,Hash,Array] The plist obejct to write
30
+ # @param plist [Plist,String,Hash,Array] The plist object to write
31
31
  # @param pretty [Boolean] Whether to serialize annotations and add
32
32
  # spaces and newlines to make output more legible
33
33
  # @param output [#<<] The output stream to write the plist to
@@ -90,7 +90,7 @@ module Nanaimo
90
90
  output
91
91
  end
92
92
 
93
- QUOTED_STRING_REGEXP = %r{\A\z|[^\w\./]}
93
+ QUOTED_STRING_REGEXP = %r{\A\z|[^\w\./]|\A___}
94
94
  private_constant :QUOTED_STRING_REGEXP
95
95
 
96
96
  def write_string_quoted_if_necessary(object)
@@ -9,8 +9,8 @@ module Nanaimo
9
9
  ISA = String.new('isa', '')
10
10
  private_constant :ISA
11
11
 
12
- def initialize(*)
13
- super
12
+ def initialize(plist, **args)
13
+ super(plist, **args)
14
14
  @objects_section = false
15
15
  end
16
16
 
@@ -21,6 +21,6 @@ Gem::Specification.new do |spec|
21
21
  spec.require_paths = ['lib']
22
22
 
23
23
  spec.add_development_dependency 'bundler', '~> 1.12'
24
- spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'rake', '~> 12.3'
25
25
  spec.add_development_dependency 'rspec', '~> 3.0'
26
26
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nanaimo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Danielle Tomlinson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-07-01 00:00:00.000000000 Z
12
+ date: 2020-07-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -31,14 +31,14 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: '10.0'
34
+ version: '12.3'
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: '10.0'
41
+ version: '12.3'
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rspec
44
44
  requirement: !ruby/object:Gem::Requirement
@@ -106,8 +106,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
106
106
  - !ruby/object:Gem::Version
107
107
  version: '0'
108
108
  requirements: []
109
- rubyforge_project:
110
- rubygems_version: 2.7.7
109
+ rubygems_version: 3.0.3
111
110
  signing_key:
112
111
  specification_version: 4
113
112
  summary: A library for (de)serialization of ASCII Plists.