riveter 0.0.15 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ce2d029360891da83fc8f9860b0ccb1ecc19e40
4
- data.tar.gz: 5452c025390507bfd13510dfe9cf6ece1bca3e2e
3
+ metadata.gz: 35fd3b8b69eada7cb425d63be0b3c477904c0143
4
+ data.tar.gz: d49906f5f2b5916335f6ee324bad015369e1db88
5
5
  SHA512:
6
- metadata.gz: 660da844347ffdc1a86a7d4cce1944750588ee5f007acbafdd4f5aef6485dfcbcb12d6be1e06fbc11b93d10f5c42c3afcc2c9346737bd073e822310c476f6cd0
7
- data.tar.gz: d4c3050221b26c0afed7b2ac6e6e40880f9b6cba266aff1a8a45ad129d40ed82070ee29400da89e02803d55afbe871b0517280451d62ec366768bbfc36231ebe
6
+ metadata.gz: 3aeacdccf3969aecf6ff61ad6079e7947da1d30ad03a1dbccf181b71cc689a0813305e43df7f60d252fc65c45d2916867d4bd6cf7e5c63174173c117161c572d
7
+ data.tar.gz: 196ee1563b9d204adfea3aed166aafc79983145e41bb19082c10273919528c1f10fdb9630ac9f3d6a1bab31c6993a699a5c06a54b54f3bdee0350e974fc64d99
data/.travis.yml CHANGED
@@ -6,6 +6,7 @@ rvm:
6
6
  - 2.1.0
7
7
  - 2.1.1
8
8
  - 2.1.2
9
+ - 2.2.0
9
10
 
10
11
  script: 'bundle exec rake spec'
11
12
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- riveter (0.0.15)
4
+ riveter (0.1.1)
5
5
  actionpack (>= 4.1.0)
6
6
  activemodel (>= 4.1.0)
7
7
  activerecord (>= 4.1.0)
@@ -12,36 +12,36 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- actionmailer (4.2.0)
16
- actionpack (= 4.2.0)
17
- actionview (= 4.2.0)
18
- activejob (= 4.2.0)
15
+ actionmailer (4.2.1)
16
+ actionpack (= 4.2.1)
17
+ actionview (= 4.2.1)
18
+ activejob (= 4.2.1)
19
19
  mail (~> 2.5, >= 2.5.4)
20
20
  rails-dom-testing (~> 1.0, >= 1.0.5)
21
- actionpack (4.2.0)
22
- actionview (= 4.2.0)
23
- activesupport (= 4.2.0)
24
- rack (~> 1.6.0)
21
+ actionpack (4.2.1)
22
+ actionview (= 4.2.1)
23
+ activesupport (= 4.2.1)
24
+ rack (~> 1.6)
25
25
  rack-test (~> 0.6.2)
26
26
  rails-dom-testing (~> 1.0, >= 1.0.5)
27
27
  rails-html-sanitizer (~> 1.0, >= 1.0.1)
28
- actionview (4.2.0)
29
- activesupport (= 4.2.0)
28
+ actionview (4.2.1)
29
+ activesupport (= 4.2.1)
30
30
  builder (~> 3.1)
31
31
  erubis (~> 2.7.0)
32
32
  rails-dom-testing (~> 1.0, >= 1.0.5)
33
33
  rails-html-sanitizer (~> 1.0, >= 1.0.1)
34
- activejob (4.2.0)
35
- activesupport (= 4.2.0)
34
+ activejob (4.2.1)
35
+ activesupport (= 4.2.1)
36
36
  globalid (>= 0.3.0)
37
- activemodel (4.2.0)
38
- activesupport (= 4.2.0)
37
+ activemodel (4.2.1)
38
+ activesupport (= 4.2.1)
39
39
  builder (~> 3.1)
40
- activerecord (4.2.0)
41
- activemodel (= 4.2.0)
42
- activesupport (= 4.2.0)
40
+ activerecord (4.2.1)
41
+ activemodel (= 4.2.1)
42
+ activesupport (= 4.2.1)
43
43
  arel (~> 6.0)
44
- activesupport (4.2.0)
44
+ activesupport (4.2.1)
45
45
  i18n (~> 0.7)
46
46
  json (~> 1.7, >= 1.7.7)
47
47
  minitest (~> 5.1)
@@ -53,30 +53,29 @@ GEM
53
53
  rspec-rails (>= 2.2)
54
54
  arel (6.0.0)
55
55
  builder (3.2.2)
56
- byebug (3.5.1)
57
- columnize (~> 0.8)
58
- debugger-linecache (~> 1.2)
59
- slop (~> 3.6)
56
+ byebug (4.0.5)
57
+ columnize (= 0.9.0)
60
58
  coderay (1.1.0)
61
59
  columnize (0.9.0)
62
- coveralls (0.7.11)
60
+ coveralls (0.8.0)
63
61
  multi_json (~> 1.10)
64
62
  rest-client (>= 1.6.8, < 2)
65
63
  simplecov (~> 0.9.1)
66
64
  term-ansicolor (~> 1.3)
67
65
  thor (~> 0.19.1)
68
- debugger-linecache (1.2.0)
69
66
  diff-lcs (1.2.5)
70
67
  docile (1.1.5)
68
+ domain_name (0.5.23)
69
+ unf (>= 0.0.5, < 1.0.0)
71
70
  erubis (2.7.0)
72
- globalid (0.3.3)
71
+ globalid (0.3.5)
73
72
  activesupport (>= 4.1.0)
74
73
  haml (4.0.6)
75
74
  tilt
76
- haml-rails (0.8.2)
75
+ haml-rails (0.9.0)
77
76
  actionpack (>= 4.0.1)
78
77
  activesupport (>= 4.0.1)
79
- haml (>= 3.1, < 5.0)
78
+ haml (>= 4.0.6, < 5.0)
80
79
  html2haml (>= 1.0.1)
81
80
  railties (>= 4.0.1)
82
81
  hike (1.2.3)
@@ -85,6 +84,8 @@ GEM
85
84
  haml (~> 4.0.0)
86
85
  nokogiri (~> 1.6.0)
87
86
  ruby_parser (~> 3.5)
87
+ http-cookie (1.0.2)
88
+ domain_name (~> 0.5)
88
89
  i18n (0.7.0)
89
90
  json (1.8.2)
90
91
  loofah (2.0.1)
@@ -95,7 +96,7 @@ GEM
95
96
  mime-types (2.4.3)
96
97
  mini_portile (0.6.2)
97
98
  minitest (5.5.1)
98
- multi_json (1.10.1)
99
+ multi_json (1.11.0)
99
100
  netrc (0.10.3)
100
101
  nokogiri (1.6.6.2)
101
102
  mini_portile (~> 0.6.0)
@@ -103,43 +104,44 @@ GEM
103
104
  coderay (~> 1.1.0)
104
105
  method_source (~> 0.8.1)
105
106
  slop (~> 3.4)
106
- pry-byebug (3.0.1)
107
- byebug (~> 3.4)
107
+ pry-byebug (3.1.0)
108
+ byebug (~> 4.0)
108
109
  pry (~> 0.10)
109
110
  rack (1.6.0)
110
111
  rack-test (0.6.3)
111
112
  rack (>= 1.0)
112
- rails (4.2.0)
113
- actionmailer (= 4.2.0)
114
- actionpack (= 4.2.0)
115
- actionview (= 4.2.0)
116
- activejob (= 4.2.0)
117
- activemodel (= 4.2.0)
118
- activerecord (= 4.2.0)
119
- activesupport (= 4.2.0)
113
+ rails (4.2.1)
114
+ actionmailer (= 4.2.1)
115
+ actionpack (= 4.2.1)
116
+ actionview (= 4.2.1)
117
+ activejob (= 4.2.1)
118
+ activemodel (= 4.2.1)
119
+ activerecord (= 4.2.1)
120
+ activesupport (= 4.2.1)
120
121
  bundler (>= 1.3.0, < 2.0)
121
- railties (= 4.2.0)
122
+ railties (= 4.2.1)
122
123
  sprockets-rails
123
124
  rails-deprecated_sanitizer (1.0.3)
124
125
  activesupport (>= 4.2.0.alpha)
125
- rails-dom-testing (1.0.5)
126
+ rails-dom-testing (1.0.6)
126
127
  activesupport (>= 4.2.0.beta, < 5.0)
127
128
  nokogiri (~> 1.6.0)
128
129
  rails-deprecated_sanitizer (>= 1.0.1)
129
- rails-html-sanitizer (1.0.1)
130
+ rails-html-sanitizer (1.0.2)
130
131
  loofah (~> 2.0)
131
- railties (4.2.0)
132
- actionpack (= 4.2.0)
133
- activesupport (= 4.2.0)
132
+ railties (4.2.1)
133
+ actionpack (= 4.2.1)
134
+ activesupport (= 4.2.1)
134
135
  rake (>= 0.8.7)
135
136
  thor (>= 0.18.1, < 2.0)
136
137
  rake (10.4.2)
137
- rest-client (1.7.3)
138
+ rest-client (1.8.0)
139
+ http-cookie (>= 1.0.2, < 2.0)
138
140
  mime-types (>= 1.16, < 3.0)
139
141
  netrc (~> 0.7)
140
- rspec-core (3.2.1)
142
+ rspec-core (3.2.3)
141
143
  rspec-support (~> 3.2.0)
142
- rspec-expectations (3.2.0)
144
+ rspec-expectations (3.2.1)
143
145
  diff-lcs (>= 1.2.0, < 2.0)
144
146
  rspec-support (~> 3.2.0)
145
147
  rspec-mocks (3.2.1)
@@ -154,9 +156,9 @@ GEM
154
156
  rspec-mocks (~> 3.2.0)
155
157
  rspec-support (~> 3.2.0)
156
158
  rspec-support (3.2.2)
157
- ruby_parser (3.6.4)
159
+ ruby_parser (3.6.5)
158
160
  sexp_processor (~> 4.1)
159
- sexp_processor (4.4.5)
161
+ sexp_processor (4.5.0)
160
162
  shoulda-matchers (2.8.0)
161
163
  activesupport (>= 3.0.0)
162
164
  simplecov (0.9.2)
@@ -177,12 +179,15 @@ GEM
177
179
  term-ansicolor (1.3.0)
178
180
  tins (~> 1.0)
179
181
  thor (0.19.1)
180
- thread_safe (0.3.4)
182
+ thread_safe (0.3.5)
181
183
  tilt (1.4.1)
182
184
  timeliness (0.3.7)
183
- tins (1.3.4)
185
+ tins (1.3.5)
184
186
  tzinfo (1.2.2)
185
187
  thread_safe (~> 0.1)
188
+ unf (0.1.4)
189
+ unf_ext
190
+ unf_ext (0.0.6)
186
191
  validates_timeliness (3.0.14)
187
192
  timeliness (~> 0.3.6)
188
193
 
@@ -43,7 +43,7 @@ module Riveter
43
43
 
44
44
  # returns the human name for the given constant name or value
45
45
  # it uses the locale to lookup the translation
46
- # and defaults to the capitalized name of the constant
46
+ # and defaults to the underscore name of the constant
47
47
  define_singleton_method :human_name_for do |name_or_value, options={}|
48
48
  const_name = name_or_value.is_a?(Symbol) ?
49
49
  name_or_value :
@@ -54,7 +54,7 @@ module Riveter
54
54
  :default => const_name.to_s.titleize
55
55
  }.merge!(options)
56
56
 
57
- I18n.translate(const_name, options)
57
+ I18n.translate(const_name.to_s.underscore, options)
58
58
  end
59
59
 
60
60
  # defines the "All" constant
@@ -64,7 +64,7 @@ module Riveter
64
64
 
65
65
  # for use within form select inputs
66
66
  define_singleton_method :collection do
67
- self.const_get(:All).collect {|m| [m.human, m.name] }
67
+ self.const_get(:All).collect {|m| [m.human, m.value] }
68
68
  end
69
69
  end
70
70
 
@@ -1,3 +1,3 @@
1
1
  module Riveter
2
- VERSION = "0.0.15"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: riveter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.15
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Stefano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-26 00:00:00.000000000 Z
11
+ date: 2015-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties