easy_settings 0.1.0 → 0.1.1

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
  SHA1:
3
- metadata.gz: 66b0810ec966c00736a4eaef690c20165175bb39
4
- data.tar.gz: 82bf4ff3af0cdfa919828e74726c877779eb3918
3
+ metadata.gz: 827b69b45d86134959d77d73490c8531bc213b78
4
+ data.tar.gz: 5605569579894ee23ebdc06fa923c455f212d32c
5
5
  SHA512:
6
- metadata.gz: 6048687c08e06e24432aeb5875d4f6ebd47b4b11c04ac4134850ded49d88a859fa39ff487f3d1d5dbb133dec1681d74c5f75e1aaca3e1d6bbaad25c30f73b800
7
- data.tar.gz: cd08d5c305f3906664f084c94daaa7f78339ec5f963d5b42e79c6177162117d8b7cf120a6a1e472ee8a9ac1141f1689b8cea532283aa98afe2efc8f6b6e11f45
6
+ metadata.gz: 5a1fa628bbe199f431ee8434c17763fb083a385a3c2984921d686e6c4ed97a0f49a667e403197e8f1d10c3414735fa23b9732d46e9dc890778701cd550705725
7
+ data.tar.gz: 6f3bd2bb344cb2f6a9ad27b20673fda388b89a2fc05f89fcc1943cfc4005ca57ca18cf65c370fccfbf4be95634a33a88db5461329abfab68a2ae28926c6ff6d4
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ["lib"]
19
19
 
20
- spec.add_dependency "hashie"
20
+ spec.add_dependency "hashie", "~> 3.4.3"
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.7"
23
23
  spec.add_development_dependency "rake", "~> 10.0"
data/lib/easy_settings.rb CHANGED
@@ -76,7 +76,7 @@ class EasySettings < Hashie::Mash
76
76
 
77
77
  def method_missing(method_name, *args, &blk)
78
78
  return self.[](method_name, &blk) if key?(method_name)
79
- name, suffix = method_suffix(method_name)
79
+ name, suffix = method_name_and_suffix(method_name)
80
80
  case suffix
81
81
  when "="
82
82
  assign_property(name, args.first)
@@ -1,3 +1,3 @@
1
1
  module EasySettingsVersion
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -1 +1,2 @@
1
1
  /log/*.log
2
+ /Gemfile.lock
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: easy_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - nownabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-05 00:00:00.000000000 Z
11
+ date: 2015-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 3.4.3
20
20
  type: :runtime
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: 3.4.3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -131,7 +131,6 @@ files:
131
131
  - spec/easy_settings_test/.gitignore
132
132
  - spec/easy_settings_test/.rspec
133
133
  - spec/easy_settings_test/Gemfile
134
- - spec/easy_settings_test/Gemfile.lock
135
134
  - spec/easy_settings_test/README.rdoc
136
135
  - spec/easy_settings_test/Rakefile
137
136
  - spec/easy_settings_test/app/assets/images/.keep
@@ -212,7 +211,6 @@ test_files:
212
211
  - spec/easy_settings_test/.gitignore
213
212
  - spec/easy_settings_test/.rspec
214
213
  - spec/easy_settings_test/Gemfile
215
- - spec/easy_settings_test/Gemfile.lock
216
214
  - spec/easy_settings_test/README.rdoc
217
215
  - spec/easy_settings_test/Rakefile
218
216
  - spec/easy_settings_test/app/assets/images/.keep
@@ -263,3 +261,4 @@ test_files:
263
261
  - spec/settings.yml
264
262
  - spec/settings_with_namespace.yml
265
263
  - spec/spec_helper.rb
264
+ has_rdoc:
@@ -1,139 +0,0 @@
1
- PATH
2
- remote: /Users/nownabe/src/github.com/nownabe/easy_settings
3
- specs:
4
- easy_settings (0.0.5)
5
- hashie
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actionmailer (4.2.4)
11
- actionpack (= 4.2.4)
12
- actionview (= 4.2.4)
13
- activejob (= 4.2.4)
14
- mail (~> 2.5, >= 2.5.4)
15
- rails-dom-testing (~> 1.0, >= 1.0.5)
16
- actionpack (4.2.4)
17
- actionview (= 4.2.4)
18
- activesupport (= 4.2.4)
19
- rack (~> 1.6)
20
- rack-test (~> 0.6.2)
21
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
- actionview (4.2.4)
24
- activesupport (= 4.2.4)
25
- builder (~> 3.1)
26
- erubis (~> 2.7.0)
27
- rails-dom-testing (~> 1.0, >= 1.0.5)
28
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
29
- activejob (4.2.4)
30
- activesupport (= 4.2.4)
31
- globalid (>= 0.3.0)
32
- activemodel (4.2.4)
33
- activesupport (= 4.2.4)
34
- builder (~> 3.1)
35
- activerecord (4.2.4)
36
- activemodel (= 4.2.4)
37
- activesupport (= 4.2.4)
38
- arel (~> 6.0)
39
- activesupport (4.2.4)
40
- i18n (~> 0.7)
41
- json (~> 1.7, >= 1.7.7)
42
- minitest (~> 5.1)
43
- thread_safe (~> 0.3, >= 0.3.4)
44
- tzinfo (~> 1.1)
45
- arel (6.0.3)
46
- builder (3.2.2)
47
- diff-lcs (1.2.5)
48
- dotenv (2.0.2)
49
- dotenv-rails (2.0.2)
50
- dotenv (= 2.0.2)
51
- railties (~> 4.0)
52
- erubis (2.7.0)
53
- globalid (0.3.6)
54
- activesupport (>= 4.1.0)
55
- hashie (3.4.2)
56
- i18n (0.7.0)
57
- jbuilder (2.3.2)
58
- activesupport (>= 3.0.0, < 5)
59
- multi_json (~> 1.2)
60
- json (1.8.3)
61
- loofah (2.0.3)
62
- nokogiri (>= 1.5.9)
63
- mail (2.6.3)
64
- mime-types (>= 1.16, < 3)
65
- mime-types (2.6.2)
66
- mini_portile (0.6.2)
67
- minitest (5.8.1)
68
- multi_json (1.11.2)
69
- nokogiri (1.6.6.2)
70
- mini_portile (~> 0.6.0)
71
- rack (1.6.4)
72
- rack-test (0.6.3)
73
- rack (>= 1.0)
74
- rails (4.2.4)
75
- actionmailer (= 4.2.4)
76
- actionpack (= 4.2.4)
77
- actionview (= 4.2.4)
78
- activejob (= 4.2.4)
79
- activemodel (= 4.2.4)
80
- activerecord (= 4.2.4)
81
- activesupport (= 4.2.4)
82
- bundler (>= 1.3.0, < 2.0)
83
- railties (= 4.2.4)
84
- sprockets-rails
85
- rails-deprecated_sanitizer (1.0.3)
86
- activesupport (>= 4.2.0.alpha)
87
- rails-dom-testing (1.0.7)
88
- activesupport (>= 4.2.0.beta, < 5.0)
89
- nokogiri (~> 1.6.0)
90
- rails-deprecated_sanitizer (>= 1.0.1)
91
- rails-html-sanitizer (1.0.2)
92
- loofah (~> 2.0)
93
- railties (4.2.4)
94
- actionpack (= 4.2.4)
95
- activesupport (= 4.2.4)
96
- rake (>= 0.8.7)
97
- thor (>= 0.18.1, < 2.0)
98
- rake (10.4.2)
99
- rspec-core (3.3.2)
100
- rspec-support (~> 3.3.0)
101
- rspec-expectations (3.3.1)
102
- diff-lcs (>= 1.2.0, < 2.0)
103
- rspec-support (~> 3.3.0)
104
- rspec-its (1.2.0)
105
- rspec-core (>= 3.0.0)
106
- rspec-expectations (>= 3.0.0)
107
- rspec-mocks (3.3.2)
108
- diff-lcs (>= 1.2.0, < 2.0)
109
- rspec-support (~> 3.3.0)
110
- rspec-rails (3.3.3)
111
- actionpack (>= 3.0, < 4.3)
112
- activesupport (>= 3.0, < 4.3)
113
- railties (>= 3.0, < 4.3)
114
- rspec-core (~> 3.3.0)
115
- rspec-expectations (~> 3.3.0)
116
- rspec-mocks (~> 3.3.0)
117
- rspec-support (~> 3.3.0)
118
- rspec-support (3.3.0)
119
- sprockets (3.3.5)
120
- rack (> 1, < 3)
121
- sprockets-rails (2.3.3)
122
- actionpack (>= 3.0)
123
- activesupport (>= 3.0)
124
- sprockets (>= 2.8, < 4.0)
125
- thor (0.19.1)
126
- thread_safe (0.3.5)
127
- tzinfo (1.2.2)
128
- thread_safe (~> 0.1)
129
-
130
- PLATFORMS
131
- ruby
132
-
133
- DEPENDENCIES
134
- dotenv-rails
135
- easy_settings!
136
- jbuilder (~> 2.0)
137
- rails (= 4.2.4)
138
- rspec-its
139
- rspec-rails