fig_newton 0.9 → 0.10

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 78a5695e459aae4a5dc84ccf8a3f4d33509dba3a
4
+ data.tar.gz: 67f5e1fe7700ec8c719fd91b3a2660f38da6c88e
5
+ SHA512:
6
+ metadata.gz: 0af8ea7f96dea2b0ca29cf0b265ee6abb435c9858adb32e87f2a2b27aee9a746e42994e20c3e1703295511d336ad102c57d83cadf93c13ab4d8228230eab9fad
7
+ data.tar.gz: 8f69c22e2a7970e1c8dd5a2e9ba962bfcbeab4bf1c7a45c92f5d8d36aa8929e88a7ac3fb77307cfabce71257e33e8107baa244249b20fad8abcac5dcac2ce71c
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-1.9.3-p392
1
+ ruby-2.0.0-p353
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ === Version 0.10 / 2014-6-1
2
+ * Enhancements
3
+ * Can now include ERB in yml file due to changes in yml_reader
4
+
1
5
  === Version 0.9 / 2013-3-2
2
6
  * Enhancements
3
7
  * Fixed so no longer reading file when using default
data/fig_newton.gemspec CHANGED
@@ -4,6 +4,7 @@ require File.expand_path('../lib/fig_newton/version', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.authors = ["Jeff Morgan", "Steve Jackson"]
6
6
  gem.email = ["jeff.morgan@leandog.com", "steve.jackson@leandogsoftware.com"]
7
+ gem.license = 'MIT'
7
8
  gem.description = %q{Provides a simple mechanism to maintain and use different configurations stored in yml files.}
8
9
  gem.summary = %q{Provides a simple mechanism to maintain and use different configurations stored in yml files.}
9
10
  gem.homepage = "http://github.com/cheezy/fig_newton"
@@ -15,7 +16,7 @@ Gem::Specification.new do |gem|
15
16
  gem.require_paths = ["lib"]
16
17
  gem.version = FigNewton::VERSION
17
18
 
18
- gem.add_dependency 'yml_reader', '>= 0.2'
19
+ gem.add_dependency 'yml_reader', '>= 0.3'
19
20
 
20
21
  gem.add_development_dependency 'rspec', '>= 2.12.0'
21
22
  gem.add_development_dependency 'cucumber', '>= 1.2.0'
@@ -1,3 +1,3 @@
1
1
  module FigNewton
2
- VERSION = "0.9"
2
+ VERSION = "0.10"
3
3
  end
@@ -5,7 +5,8 @@ describe FigNewton do
5
5
  it "should retrieve the data by a key named after the method called" do
6
6
  FigNewton.yml_directory = 'conf'
7
7
  yml_mock = double('yaml')
8
- YAML.should_receive(:load_file).with('conf/test').and_return(yml_mock)
8
+ File.should_receive(:read).with('conf/test').and_return('test')
9
+ YAML.should_receive(:load).and_return(yml_mock)
9
10
  yml_mock.should_receive(:[]).with('desired_data').and_return('information')
10
11
  FigNewton.load('test')
11
12
  FigNewton.desired_data.should == 'information'
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fig_newton
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.9'
5
- prerelease:
4
+ version: '0.10'
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jeff Morgan
@@ -10,54 +9,48 @@ authors:
10
9
  autorequire:
11
10
  bindir: bin
12
11
  cert_chain: []
13
- date: 2013-06-02 00:00:00.000000000 Z
12
+ date: 2014-06-01 00:00:00.000000000 Z
14
13
  dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: yml_reader
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
- version: '0.2'
20
+ version: '0.3'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
- version: '0.2'
27
+ version: '0.3'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: rspec
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
- - - ! '>='
32
+ - - '>='
37
33
  - !ruby/object:Gem::Version
38
34
  version: 2.12.0
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
- - - ! '>='
39
+ - - '>='
45
40
  - !ruby/object:Gem::Version
46
41
  version: 2.12.0
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: cucumber
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: 1.2.0
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: 1.2.0
63
56
  description: Provides a simple mechanism to maintain and use different configurations
@@ -95,34 +88,28 @@ files:
95
88
  - spec/fig_newton/fig_newton_spec.rb
96
89
  - spec/spec_helper.rb
97
90
  homepage: http://github.com/cheezy/fig_newton
98
- licenses: []
91
+ licenses:
92
+ - MIT
93
+ metadata: {}
99
94
  post_install_message:
100
95
  rdoc_options: []
101
96
  require_paths:
102
97
  - lib
103
98
  required_ruby_version: !ruby/object:Gem::Requirement
104
- none: false
105
99
  requirements:
106
- - - ! '>='
100
+ - - '>='
107
101
  - !ruby/object:Gem::Version
108
102
  version: '0'
109
- segments:
110
- - 0
111
- hash: -2725441559212189178
112
103
  required_rubygems_version: !ruby/object:Gem::Requirement
113
- none: false
114
104
  requirements:
115
- - - ! '>='
105
+ - - '>='
116
106
  - !ruby/object:Gem::Version
117
107
  version: '0'
118
- segments:
119
- - 0
120
- hash: -2725441559212189178
121
108
  requirements: []
122
109
  rubyforge_project:
123
- rubygems_version: 1.8.25
110
+ rubygems_version: 2.0.14
124
111
  signing_key:
125
- specification_version: 3
112
+ specification_version: 4
126
113
  summary: Provides a simple mechanism to maintain and use different configurations
127
114
  stored in yml files.
128
115
  test_files: