nifty_settings 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/nifty_settings/settings.rb +1 -1
- data/lib/nifty_settings/version.rb +1 -1
- data/nifty_settings.gemspec +1 -1
- data/spec/nifty_settings/settings_spec.rb +4 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 027269b16af0f027d079732f8d1c367e4b9b6290
|
4
|
+
data.tar.gz: 086be73a4982fc80b6b62d4d5e65303a86458e2a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97bf3f6f449614dc71b5986d89b3271ae89484e0839206f875aa2ea3e91750780e20c06b7d59a05854429fe8ba23ec4d19c405c3bd8806b1530961f9a71d3481
|
7
|
+
data.tar.gz: 5e6e851acd5d6cbf49695ea9da486023d2ee410d34288b6c715ef9ed7a4918c5b0f57042dab0671bf6d0a682b86ba9bfe9cea031adb9a23d33e37cb73bd28400
|
data/nifty_settings.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
|
|
19
19
|
gem.test_files = gem.files.grep(%r(^(test|spec|features)/))
|
20
20
|
gem.require_paths = ['lib']
|
21
21
|
|
22
|
-
gem.add_development_dependency 'rake'
|
22
|
+
gem.add_development_dependency 'rake'
|
23
23
|
gem.add_development_dependency 'rspec', '~> 2.14.0'
|
24
24
|
gem.add_development_dependency 'rb-fsevent', '~> 0.9.0'
|
25
25
|
if RUBY_VERSION < '1.9.3'
|
@@ -7,9 +7,10 @@ describe NiftySettings::Settings do
|
|
7
7
|
let(:empty_settings) { NiftySettings::Settings.new }
|
8
8
|
|
9
9
|
context 'comparing two settings' do
|
10
|
-
it '
|
11
|
-
expect(NiftySettings::Settings.new(settings_hash)).to
|
12
|
-
expect(NiftySettings::Settings.new(settings_hash)).to_not
|
10
|
+
it 'works as expected' do
|
11
|
+
expect(NiftySettings::Settings.new(settings_hash)).to be == NiftySettings::Settings.new(settings_hash)
|
12
|
+
expect(NiftySettings::Settings.new(settings_hash)).to_not be == NiftySettings::Settings.new(nested_settings_hash)
|
13
|
+
expect(NiftySettings::Settings.new(settings_hash)).to_not be == 'random string'
|
13
14
|
end
|
14
15
|
end
|
15
16
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nifty_settings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Meurer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04-
|
11
|
+
date: 2014-04-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0
|
19
|
+
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|