figleaf 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.travis.yml +1 -5
- data/Gemfile +7 -4
- data/Gemfile.lock +82 -33
- data/Guardfile +10 -0
- data/figleaf.gemspec +8 -1
- data/lib/figleaf/version.rb +1 -1
- data/lib/figleaf.rb +1 -0
- data/spec/figleaf/configuration_spec.rb +5 -9
- metadata +50 -35
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c34ecefd305356a76cbdc55e7c13fdb00a6f2f65
|
4
|
+
data.tar.gz: bef872b89c5847b5d64110b6a80de5dc56263d83
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 8e14ebdc3cd747d3dca531cf1d200e8d8917a248428e03e3fad267fa6dd6fb58cdabb2ae3783363f9abff48a4f653ec0b6f06af4eb5fa8c8644a1aa4c319800e
|
7
|
+
data.tar.gz: 4792942855f09111ae1a08f6d46a3245ee68791ef99ef167e8b97964f09f8112a8cd225c1a38cbf75b0454d40625f7c695f53f34c23daad96c5b0f8836e2f5e2
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/Gemfile
CHANGED
@@ -1,8 +1,11 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
group :development
|
6
|
-
gem
|
7
|
-
gem
|
5
|
+
group :development do
|
6
|
+
gem "rb-fchange", require: false
|
7
|
+
gem "rb-fsevent", require: false
|
8
|
+
gem "rb-inotify", require: false
|
9
|
+
gem "ruby_gntp"
|
10
|
+
gem "terminal-notifier-guard"
|
8
11
|
end
|
data/Gemfile.lock
CHANGED
@@ -1,54 +1,103 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
figleaf (0.0.
|
4
|
+
figleaf (0.0.7)
|
5
5
|
activesupport
|
6
6
|
hashie
|
7
7
|
|
8
8
|
GEM
|
9
|
-
remote:
|
9
|
+
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
activesupport (
|
12
|
-
i18n (~> 0.6)
|
13
|
-
|
14
|
-
|
11
|
+
activesupport (4.0.0)
|
12
|
+
i18n (~> 0.6, >= 0.6.4)
|
13
|
+
minitest (~> 4.2)
|
14
|
+
multi_json (~> 1.3)
|
15
|
+
thread_safe (~> 0.1)
|
16
|
+
tzinfo (~> 0.3.37)
|
17
|
+
atomic (1.1.14)
|
18
|
+
coderay (1.0.9)
|
15
19
|
columnize (0.3.6)
|
16
|
-
debugger (1.
|
20
|
+
debugger (1.6.2)
|
17
21
|
columnize (>= 0.3.1)
|
18
|
-
debugger-linecache (~> 1.
|
19
|
-
debugger-ruby_core_source (~> 1.
|
20
|
-
debugger-linecache (1.
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
22
|
+
debugger-linecache (~> 1.2.0)
|
23
|
+
debugger-ruby_core_source (~> 1.2.3)
|
24
|
+
debugger-linecache (1.2.0)
|
25
|
+
debugger-ruby_core_source (1.2.3)
|
26
|
+
diff-lcs (1.2.4)
|
27
|
+
ffi (1.9.0)
|
28
|
+
formatador (0.2.4)
|
29
|
+
graphviz (0.0.2)
|
30
|
+
rexec
|
31
|
+
guard (1.8.3)
|
32
|
+
formatador (>= 0.2.4)
|
33
|
+
listen (~> 1.3)
|
34
|
+
lumberjack (>= 1.0.2)
|
35
|
+
pry (>= 0.9.10)
|
36
|
+
thor (>= 0.14.6)
|
37
|
+
guard-bundler (1.0.0)
|
38
|
+
bundler (~> 1.0)
|
39
|
+
guard (~> 1.1)
|
40
|
+
guard-rspec (3.1.0)
|
41
|
+
guard (>= 1.8)
|
42
|
+
rspec (~> 2.13)
|
43
|
+
hashie (2.0.5)
|
44
|
+
i18n (0.6.5)
|
45
|
+
listen (1.3.1)
|
46
|
+
rb-fsevent (>= 0.9.3)
|
47
|
+
rb-inotify (>= 0.9)
|
48
|
+
rb-kqueue (>= 0.2)
|
49
|
+
lumberjack (1.0.4)
|
50
|
+
method_source (0.8.2)
|
51
|
+
minitest (4.7.5)
|
52
|
+
multi_json (1.8.2)
|
53
|
+
pry (0.9.12.2)
|
29
54
|
coderay (~> 1.0.5)
|
30
55
|
method_source (~> 0.8)
|
31
|
-
slop (~> 3.
|
32
|
-
pry-debugger (0.2.
|
33
|
-
debugger (~> 1.
|
34
|
-
pry (~> 0.9.
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
56
|
+
slop (~> 3.4)
|
57
|
+
pry-debugger (0.2.2)
|
58
|
+
debugger (~> 1.3)
|
59
|
+
pry (~> 0.9.10)
|
60
|
+
rainbow (1.1.4)
|
61
|
+
rake (10.1.0)
|
62
|
+
rb-fchange (0.0.6)
|
63
|
+
ffi
|
64
|
+
rb-fsevent (0.9.3)
|
65
|
+
rb-inotify (0.9.2)
|
66
|
+
ffi (>= 0.5.0)
|
67
|
+
rb-kqueue (0.2.0)
|
68
|
+
ffi (>= 0.5.0)
|
69
|
+
rexec (1.6.0)
|
70
|
+
rainbow
|
71
|
+
rspec (2.14.1)
|
72
|
+
rspec-core (~> 2.14.0)
|
73
|
+
rspec-expectations (~> 2.14.0)
|
74
|
+
rspec-mocks (~> 2.14.0)
|
75
|
+
rspec-core (2.14.6)
|
76
|
+
rspec-expectations (2.14.3)
|
77
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
78
|
+
rspec-mocks (2.14.4)
|
79
|
+
ruby_gntp (0.3.4)
|
80
|
+
slop (3.4.6)
|
81
|
+
terminal-notifier-guard (1.5.3)
|
82
|
+
thor (0.18.1)
|
83
|
+
thread_safe (0.1.3)
|
84
|
+
atomic
|
85
|
+
tzinfo (0.3.38)
|
45
86
|
|
46
87
|
PLATFORMS
|
47
88
|
ruby
|
48
89
|
|
49
90
|
DEPENDENCIES
|
50
91
|
figleaf!
|
51
|
-
|
92
|
+
graphviz
|
93
|
+
guard
|
94
|
+
guard-bundler
|
95
|
+
guard-rspec
|
52
96
|
pry-debugger
|
53
97
|
rake
|
98
|
+
rb-fchange
|
99
|
+
rb-fsevent
|
100
|
+
rb-inotify
|
54
101
|
rspec
|
102
|
+
ruby_gntp
|
103
|
+
terminal-notifier-guard
|
data/Guardfile
ADDED
data/figleaf.gemspec
CHANGED
@@ -15,7 +15,14 @@ Gem::Specification.new do |gem|
|
|
15
15
|
gem.require_paths = ["lib"]
|
16
16
|
gem.version = Figleaf::VERSION
|
17
17
|
|
18
|
-
%w(
|
18
|
+
%w(
|
19
|
+
rake
|
20
|
+
rspec
|
21
|
+
pry-debugger
|
22
|
+
guard
|
23
|
+
guard-bundler
|
24
|
+
guard-rspec
|
25
|
+
).each do |g|
|
19
26
|
gem.add_development_dependency(g)
|
20
27
|
end
|
21
28
|
|
data/lib/figleaf/version.rb
CHANGED
data/lib/figleaf.rb
CHANGED
@@ -29,14 +29,10 @@ describe Figleaf::Configuration do
|
|
29
29
|
described_class.fictional_feature_enabled = :on
|
30
30
|
described_class.auto_define = false
|
31
31
|
end
|
32
|
-
it "should not auto defined setters and getters" do
|
33
|
-
lambda {
|
34
|
-
described_class.undefined_setting = :raises_error
|
35
|
-
}.should raise_error
|
36
32
|
|
37
|
-
|
38
|
-
|
39
|
-
}.
|
33
|
+
it "should not auto defined setters and getters" do
|
34
|
+
expect { described_class.undefined_setting = :raises_error }.to raise_error
|
35
|
+
expect { described_class.undefined_setting }.to raise_error
|
40
36
|
end
|
41
37
|
|
42
38
|
it "should set/get previous defined attributes" do
|
@@ -119,11 +115,11 @@ describe Figleaf::Configuration do
|
|
119
115
|
end
|
120
116
|
|
121
117
|
it "should only allow setting of values for previously defined attributes" do
|
122
|
-
|
118
|
+
expect {
|
123
119
|
described_class.configure do |s|
|
124
120
|
s.undefined_setting = :should_raise_error
|
125
121
|
end
|
126
|
-
}.
|
122
|
+
}.to raise_error
|
127
123
|
end
|
128
124
|
end
|
129
125
|
|
metadata
CHANGED
@@ -1,110 +1,125 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: figleaf
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.7
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Juan C. Müller
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2013-10-25 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rake
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :development
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - '>='
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: rspec
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
33
|
version: '0'
|
38
34
|
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
40
|
version: '0'
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
|
-
name: pry
|
42
|
+
name: pry-debugger
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - '>='
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :development
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - '>='
|
60
53
|
- !ruby/object:Gem::Version
|
61
54
|
version: '0'
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
|
-
name:
|
56
|
+
name: guard
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: guard-bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard-rspec
|
64
85
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
86
|
requirements:
|
67
|
-
- -
|
87
|
+
- - '>='
|
68
88
|
- !ruby/object:Gem::Version
|
69
89
|
version: '0'
|
70
90
|
type: :development
|
71
91
|
prerelease: false
|
72
92
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
93
|
requirements:
|
75
|
-
- -
|
94
|
+
- - '>='
|
76
95
|
- !ruby/object:Gem::Version
|
77
96
|
version: '0'
|
78
97
|
- !ruby/object:Gem::Dependency
|
79
98
|
name: activesupport
|
80
99
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
100
|
requirements:
|
83
|
-
- -
|
101
|
+
- - '>='
|
84
102
|
- !ruby/object:Gem::Version
|
85
103
|
version: '0'
|
86
104
|
type: :runtime
|
87
105
|
prerelease: false
|
88
106
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
107
|
requirements:
|
91
|
-
- -
|
108
|
+
- - '>='
|
92
109
|
- !ruby/object:Gem::Version
|
93
110
|
version: '0'
|
94
111
|
- !ruby/object:Gem::Dependency
|
95
112
|
name: hashie
|
96
113
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
114
|
requirements:
|
99
|
-
- -
|
115
|
+
- - '>='
|
100
116
|
- !ruby/object:Gem::Version
|
101
117
|
version: '0'
|
102
118
|
type: :runtime
|
103
119
|
prerelease: false
|
104
120
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
121
|
requirements:
|
107
|
-
- -
|
122
|
+
- - '>='
|
108
123
|
- !ruby/object:Gem::Version
|
109
124
|
version: '0'
|
110
125
|
description: YAML based DRY settings manager.
|
@@ -119,6 +134,7 @@ files:
|
|
119
134
|
- .travis.yml
|
120
135
|
- Gemfile
|
121
136
|
- Gemfile.lock
|
137
|
+
- Guardfile
|
122
138
|
- LICENSE
|
123
139
|
- README.md
|
124
140
|
- Rakefile
|
@@ -135,27 +151,26 @@ files:
|
|
135
151
|
- spec/spec_helper.rb
|
136
152
|
homepage: http://github.com/challengepost/figleaf
|
137
153
|
licenses: []
|
154
|
+
metadata: {}
|
138
155
|
post_install_message:
|
139
156
|
rdoc_options: []
|
140
157
|
require_paths:
|
141
158
|
- lib
|
142
159
|
required_ruby_version: !ruby/object:Gem::Requirement
|
143
|
-
none: false
|
144
160
|
requirements:
|
145
|
-
- -
|
161
|
+
- - '>='
|
146
162
|
- !ruby/object:Gem::Version
|
147
163
|
version: '0'
|
148
164
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
149
|
-
none: false
|
150
165
|
requirements:
|
151
|
-
- -
|
166
|
+
- - '>='
|
152
167
|
- !ruby/object:Gem::Version
|
153
168
|
version: '0'
|
154
169
|
requirements: []
|
155
170
|
rubyforge_project:
|
156
|
-
rubygems_version:
|
171
|
+
rubygems_version: 2.0.3
|
157
172
|
signing_key:
|
158
|
-
specification_version:
|
173
|
+
specification_version: 4
|
159
174
|
summary: YAML based DRY settings manager.
|
160
175
|
test_files:
|
161
176
|
- spec/figleaf/configuration_spec.rb
|