confstruct 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NWFmNTQ3YzUyOTI3OWFhNzg3NjIwZDM0MzZhN2Q4ZTgwYzU0Zjg4ZQ==
5
+ data.tar.gz: !binary |-
6
+ YzEyNWQ2ODg2YzEzYjg2YmYxZDllNTJiN2VjYzQ5OTk4ZWU0YTNiNQ==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZGVkODNkNjM3MWVjNmY5ZTUxNTlkYWY1M2JmNmUzMWQ5MWUxY2FjOTNiMzRh
10
+ ZGM1NWU5NmViYTM0NmRlYzM0Y2ZkNThhZDVkZjU1MWMzNGE2MWM2MjAwOTQ5
11
+ ZDY0MmIyYjRmZTE0Mzg2YTRmMjljNWMyMzA0MzY2OTQ1NDdmOWI=
12
+ data.tar.gz: !binary |-
13
+ MjViNTQyNDk4YTQxYjhhNzkzNTQyZjNkYmRmZmM4Mjk4NjBkMzYzYzEyNDcx
14
+ MjZjMjU5MTc4YTA0ZDQ1NjI3M2ExYWFjMTU4MjdkYzg4YmMxZWVhMmJjZGJl
15
+ MWE0MDBkODJlZmFiNTU0MmRjYjQzMzIyM2JiYzVjNDQyMGY0ZWE=
@@ -1,5 +1,7 @@
1
1
  language: ruby
2
2
  rvm:
3
3
  - 1.8.7
4
- - 1.9.2
5
4
  - 1.9.3
5
+ - 2.0.0
6
+ - 2.1.0
7
+ - 2.1.1
data/README.md CHANGED
@@ -194,6 +194,7 @@ The pattern `add_$key!` can be used to add to or create an array.
194
194
  - <b>v0.2.3</b> - Don't evaluate Deferreds during #inspect
195
195
  - <b>v0.2.4</b> - Fix deferreds under Ruby 1.9.x
196
196
  - <b>v0.2.5</b> - #14 #configure loses nested hashes somehow
197
+ - <b>v0.2.6</b> - Fix test scoping issue under Ruby 2.1.0+
197
198
 
198
199
  ## Contributing to confstruct
199
200
 
@@ -19,7 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.add_development_dependency 'active_support'
20
20
  s.add_development_dependency "rake", ">=0.8.7"
21
21
  s.add_development_dependency "simplecov"
22
- s.add_development_dependency "rdiscount"
23
22
  s.add_development_dependency "rdoc"
24
23
  s.add_development_dependency "rspec"
25
24
  s.add_development_dependency "yard"
@@ -4,5 +4,5 @@ module Confstruct
4
4
  autoload :HashWithStructAccess, 'confstruct/hash_with_struct_access'
5
5
  autoload :Configuration, 'confstruct/configuration'
6
6
 
7
- VERSION = '0.2.5'
7
+ VERSION = '0.2.6'
8
8
  end
@@ -219,7 +219,7 @@ describe Confstruct::HashWithStructAccess do
219
219
  it "should allow definition of deferreds in block mode" do
220
220
  @hwsa.github do
221
221
  defproc deferred! { reverse_url + upcase_url }
222
- regproc lambda { reverse_url + upcase_url }
222
+ regproc Kernel.lambda { reverse_url + upcase_url }
223
223
  end
224
224
  @hwsa.github.defproc.is_a?(Proc).should be_false
225
225
  @hwsa.github.defproc.should == @hwsa.github.reverse_url + @hwsa.github.upcase_url
metadata CHANGED
@@ -1,128 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: confstruct
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.2.5
4
+ version: 0.2.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Michael Klein
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-12-05 00:00:00.000000000 Z
11
+ date: 2014-03-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- version_requirements: !ruby/object:Gem::Requirement
14
+ name: active_support
15
+ requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
- none: false
21
- name: active_support
22
20
  type: :development
23
21
  prerelease: false
24
- requirement: !ruby/object:Gem::Requirement
22
+ version_requirements: !ruby/object:Gem::Requirement
25
23
  requirements:
26
24
  - - ! '>='
27
25
  - !ruby/object:Gem::Version
28
26
  version: '0'
29
- none: false
30
27
  - !ruby/object:Gem::Dependency
31
- version_requirements: !ruby/object:Gem::Requirement
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
32
30
  requirements:
33
31
  - - ! '>='
34
32
  - !ruby/object:Gem::Version
35
33
  version: 0.8.7
36
- none: false
37
- name: rake
38
34
  type: :development
39
35
  prerelease: false
40
- requirement: !ruby/object:Gem::Requirement
36
+ version_requirements: !ruby/object:Gem::Requirement
41
37
  requirements:
42
38
  - - ! '>='
43
39
  - !ruby/object:Gem::Version
44
40
  version: 0.8.7
45
- none: false
46
41
  - !ruby/object:Gem::Dependency
47
- version_requirements: !ruby/object:Gem::Requirement
48
- requirements:
49
- - - ! '>='
50
- - !ruby/object:Gem::Version
51
- version: '0'
52
- none: false
53
42
  name: simplecov
54
- type: :development
55
- prerelease: false
56
43
  requirement: !ruby/object:Gem::Requirement
57
44
  requirements:
58
45
  - - ! '>='
59
46
  - !ruby/object:Gem::Version
60
47
  version: '0'
61
- none: false
62
- - !ruby/object:Gem::Dependency
63
- version_requirements: !ruby/object:Gem::Requirement
64
- requirements:
65
- - - ! '>='
66
- - !ruby/object:Gem::Version
67
- version: '0'
68
- none: false
69
- name: rdiscount
70
48
  type: :development
71
49
  prerelease: false
72
- requirement: !ruby/object:Gem::Requirement
50
+ version_requirements: !ruby/object:Gem::Requirement
73
51
  requirements:
74
52
  - - ! '>='
75
53
  - !ruby/object:Gem::Version
76
54
  version: '0'
77
- none: false
78
55
  - !ruby/object:Gem::Dependency
79
- version_requirements: !ruby/object:Gem::Requirement
56
+ name: rdoc
57
+ requirement: !ruby/object:Gem::Requirement
80
58
  requirements:
81
59
  - - ! '>='
82
60
  - !ruby/object:Gem::Version
83
61
  version: '0'
84
- none: false
85
- name: rdoc
86
62
  type: :development
87
63
  prerelease: false
88
- requirement: !ruby/object:Gem::Requirement
64
+ version_requirements: !ruby/object:Gem::Requirement
89
65
  requirements:
90
66
  - - ! '>='
91
67
  - !ruby/object:Gem::Version
92
68
  version: '0'
93
- none: false
94
69
  - !ruby/object:Gem::Dependency
95
- version_requirements: !ruby/object:Gem::Requirement
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
96
72
  requirements:
97
73
  - - ! '>='
98
74
  - !ruby/object:Gem::Version
99
75
  version: '0'
100
- none: false
101
- name: rspec
102
76
  type: :development
103
77
  prerelease: false
104
- requirement: !ruby/object:Gem::Requirement
78
+ version_requirements: !ruby/object:Gem::Requirement
105
79
  requirements:
106
80
  - - ! '>='
107
81
  - !ruby/object:Gem::Version
108
82
  version: '0'
109
- none: false
110
83
  - !ruby/object:Gem::Dependency
111
- version_requirements: !ruby/object:Gem::Requirement
84
+ name: yard
85
+ requirement: !ruby/object:Gem::Requirement
112
86
  requirements:
113
87
  - - ! '>='
114
88
  - !ruby/object:Gem::Version
115
89
  version: '0'
116
- none: false
117
- name: yard
118
90
  type: :development
119
91
  prerelease: false
120
- requirement: !ruby/object:Gem::Requirement
92
+ version_requirements: !ruby/object:Gem::Requirement
121
93
  requirements:
122
94
  - - ! '>='
123
95
  - !ruby/object:Gem::Version
124
96
  version: '0'
125
- none: false
126
97
  description: A simple, hash/struct-based configuration object
127
98
  email:
128
99
  - mbklein@gmail.com
@@ -148,6 +119,7 @@ files:
148
119
  - spec/spec_helper.rb
149
120
  homepage: ''
150
121
  licenses: []
122
+ metadata: {}
151
123
  post_install_message:
152
124
  rdoc_options: []
153
125
  require_paths:
@@ -157,18 +129,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
157
129
  - - ! '>='
158
130
  - !ruby/object:Gem::Version
159
131
  version: '0'
160
- none: false
161
132
  required_rubygems_version: !ruby/object:Gem::Requirement
162
133
  requirements:
163
134
  - - ! '>='
164
135
  - !ruby/object:Gem::Version
165
136
  version: '0'
166
- none: false
167
137
  requirements: []
168
138
  rubyforge_project:
169
- rubygems_version: 1.8.23
139
+ rubygems_version: 2.2.2
170
140
  signing_key:
171
- specification_version: 3
141
+ specification_version: 4
172
142
  summary: A simple, hash/struct-based configuration object
173
143
  test_files:
174
144
  - spec/confstruct/configuration_spec.rb