riveter 0.0.14 → 0.0.15

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: 849dcddba56b040d3ecd567651c3345eb5b7c2ea
4
- data.tar.gz: 63e21ab07b3ba2ac97ef07fb26a894c6b4f8b0b2
3
+ metadata.gz: 7ce2d029360891da83fc8f9860b0ccb1ecc19e40
4
+ data.tar.gz: 5452c025390507bfd13510dfe9cf6ece1bca3e2e
5
5
  SHA512:
6
- metadata.gz: 84fdde38d402187da7d911eee517a6baba54fd0d694ac200b58d91f0ba80b966cc0fdf7ff5e990b2324c6d3721b327b6217573972dc68112a6f781af47e44313
7
- data.tar.gz: 2880503d4a14e09fefc8138e186aac9623cd7f977554fb80b472c5a4e5d2df1038a9988eed97a430d18dcbbf1290d013b624f83191360fc9afa1b1e8e34358af
6
+ metadata.gz: 660da844347ffdc1a86a7d4cce1944750588ee5f007acbafdd4f5aef6485dfcbcb12d6be1e06fbc11b93d10f5c42c3afcc2c9346737bd073e822310c476f6cd0
7
+ data.tar.gz: d4c3050221b26c0afed7b2ac6e6e40880f9b6cba266aff1a8a45ad129d40ed82070ee29400da89e02803d55afbe871b0517280451d62ec366768bbfc36231ebe
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- riveter (0.0.14)
4
+ riveter (0.0.15)
5
5
  actionpack (>= 4.1.0)
6
6
  activemodel (>= 4.1.0)
7
7
  activerecord (>= 4.1.0)
@@ -12,37 +12,46 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- actionmailer (4.1.8)
16
- actionpack (= 4.1.8)
17
- actionview (= 4.1.8)
15
+ actionmailer (4.2.0)
16
+ actionpack (= 4.2.0)
17
+ actionview (= 4.2.0)
18
+ activejob (= 4.2.0)
18
19
  mail (~> 2.5, >= 2.5.4)
19
- actionpack (4.1.8)
20
- actionview (= 4.1.8)
21
- activesupport (= 4.1.8)
22
- rack (~> 1.5.2)
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)
23
25
  rack-test (~> 0.6.2)
24
- actionview (4.1.8)
25
- activesupport (= 4.1.8)
26
+ rails-dom-testing (~> 1.0, >= 1.0.5)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
28
+ actionview (4.2.0)
29
+ activesupport (= 4.2.0)
26
30
  builder (~> 3.1)
27
31
  erubis (~> 2.7.0)
28
- activemodel (4.1.8)
29
- activesupport (= 4.1.8)
32
+ rails-dom-testing (~> 1.0, >= 1.0.5)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
34
+ activejob (4.2.0)
35
+ activesupport (= 4.2.0)
36
+ globalid (>= 0.3.0)
37
+ activemodel (4.2.0)
38
+ activesupport (= 4.2.0)
30
39
  builder (~> 3.1)
31
- activerecord (4.1.8)
32
- activemodel (= 4.1.8)
33
- activesupport (= 4.1.8)
34
- arel (~> 5.0.0)
35
- activesupport (4.1.8)
36
- i18n (~> 0.6, >= 0.6.9)
40
+ activerecord (4.2.0)
41
+ activemodel (= 4.2.0)
42
+ activesupport (= 4.2.0)
43
+ arel (~> 6.0)
44
+ activesupport (4.2.0)
45
+ i18n (~> 0.7)
37
46
  json (~> 1.7, >= 1.7.7)
38
47
  minitest (~> 5.1)
39
- thread_safe (~> 0.1)
48
+ thread_safe (~> 0.3, >= 0.3.4)
40
49
  tzinfo (~> 1.1)
41
50
  ammeter (1.1.2)
42
51
  activesupport (>= 3.0)
43
52
  railties (>= 3.0)
44
53
  rspec-rails (>= 2.2)
45
- arel (5.0.1.20140414130214)
54
+ arel (6.0.0)
46
55
  builder (3.2.2)
47
56
  byebug (3.5.1)
48
57
  columnize (~> 0.8)
@@ -50,110 +59,128 @@ GEM
50
59
  slop (~> 3.6)
51
60
  coderay (1.1.0)
52
61
  columnize (0.9.0)
53
- coveralls (0.7.2)
54
- multi_json (~> 1.3)
55
- rest-client (= 1.6.7)
56
- simplecov (>= 0.7)
57
- term-ansicolor (= 1.2.2)
58
- thor (= 0.18.1)
62
+ coveralls (0.7.11)
63
+ multi_json (~> 1.10)
64
+ rest-client (>= 1.6.8, < 2)
65
+ simplecov (~> 0.9.1)
66
+ term-ansicolor (~> 1.3)
67
+ thor (~> 0.19.1)
59
68
  debugger-linecache (1.2.0)
60
69
  diff-lcs (1.2.5)
61
70
  docile (1.1.5)
62
71
  erubis (2.7.0)
63
- haml (4.1.0.beta.1)
72
+ globalid (0.3.3)
73
+ activesupport (>= 4.1.0)
74
+ haml (4.0.6)
64
75
  tilt
65
- haml-rails (0.6.0)
76
+ haml-rails (0.8.2)
66
77
  actionpack (>= 4.0.1)
67
78
  activesupport (>= 4.0.1)
68
79
  haml (>= 3.1, < 5.0)
69
80
  html2haml (>= 1.0.1)
70
81
  railties (>= 4.0.1)
71
82
  hike (1.2.3)
72
- hpricot (0.8.6)
73
- html2haml (1.0.1)
83
+ html2haml (2.0.0)
74
84
  erubis (~> 2.7.0)
75
- haml (>= 4.0.0.rc.1)
76
- hpricot (~> 0.8.6)
77
- ruby_parser (~> 3.1.1)
78
- i18n (0.6.11)
79
- json (1.8.1)
85
+ haml (~> 4.0.0)
86
+ nokogiri (~> 1.6.0)
87
+ ruby_parser (~> 3.5)
88
+ i18n (0.7.0)
89
+ json (1.8.2)
90
+ loofah (2.0.1)
91
+ nokogiri (>= 1.5.9)
80
92
  mail (2.6.3)
81
93
  mime-types (>= 1.16, < 3)
82
94
  method_source (0.8.2)
83
95
  mime-types (2.4.3)
84
- minitest (5.5.0)
96
+ mini_portile (0.6.2)
97
+ minitest (5.5.1)
85
98
  multi_json (1.10.1)
99
+ netrc (0.10.3)
100
+ nokogiri (1.6.6.2)
101
+ mini_portile (~> 0.6.0)
86
102
  pry (0.10.1)
87
103
  coderay (~> 1.1.0)
88
104
  method_source (~> 0.8.1)
89
105
  slop (~> 3.4)
90
- pry-byebug (2.0.0)
106
+ pry-byebug (3.0.1)
91
107
  byebug (~> 3.4)
92
108
  pry (~> 0.10)
93
- rack (1.5.2)
94
- rack-test (0.6.2)
109
+ rack (1.6.0)
110
+ rack-test (0.6.3)
95
111
  rack (>= 1.0)
96
- rails (4.1.8)
97
- actionmailer (= 4.1.8)
98
- actionpack (= 4.1.8)
99
- actionview (= 4.1.8)
100
- activemodel (= 4.1.8)
101
- activerecord (= 4.1.8)
102
- activesupport (= 4.1.8)
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)
103
120
  bundler (>= 1.3.0, < 2.0)
104
- railties (= 4.1.8)
105
- sprockets-rails (~> 2.0)
106
- railties (4.1.8)
107
- actionpack (= 4.1.8)
108
- activesupport (= 4.1.8)
121
+ railties (= 4.2.0)
122
+ sprockets-rails
123
+ rails-deprecated_sanitizer (1.0.3)
124
+ activesupport (>= 4.2.0.alpha)
125
+ rails-dom-testing (1.0.5)
126
+ activesupport (>= 4.2.0.beta, < 5.0)
127
+ nokogiri (~> 1.6.0)
128
+ rails-deprecated_sanitizer (>= 1.0.1)
129
+ rails-html-sanitizer (1.0.1)
130
+ loofah (~> 2.0)
131
+ railties (4.2.0)
132
+ actionpack (= 4.2.0)
133
+ activesupport (= 4.2.0)
109
134
  rake (>= 0.8.7)
110
135
  thor (>= 0.18.1, < 2.0)
111
136
  rake (10.4.2)
112
- rest-client (1.6.7)
113
- mime-types (>= 1.16)
114
- rspec-core (3.1.7)
115
- rspec-support (~> 3.1.0)
116
- rspec-expectations (3.1.2)
137
+ rest-client (1.7.3)
138
+ mime-types (>= 1.16, < 3.0)
139
+ netrc (~> 0.7)
140
+ rspec-core (3.2.1)
141
+ rspec-support (~> 3.2.0)
142
+ rspec-expectations (3.2.0)
117
143
  diff-lcs (>= 1.2.0, < 2.0)
118
- rspec-support (~> 3.1.0)
119
- rspec-mocks (3.1.3)
120
- rspec-support (~> 3.1.0)
121
- rspec-rails (3.1.0)
122
- actionpack (>= 3.0)
123
- activesupport (>= 3.0)
124
- railties (>= 3.0)
125
- rspec-core (~> 3.1.0)
126
- rspec-expectations (~> 3.1.0)
127
- rspec-mocks (~> 3.1.0)
128
- rspec-support (~> 3.1.0)
129
- rspec-support (3.1.2)
130
- ruby_parser (3.1.3)
144
+ rspec-support (~> 3.2.0)
145
+ rspec-mocks (3.2.1)
146
+ diff-lcs (>= 1.2.0, < 2.0)
147
+ rspec-support (~> 3.2.0)
148
+ rspec-rails (3.2.1)
149
+ actionpack (>= 3.0, < 4.3)
150
+ activesupport (>= 3.0, < 4.3)
151
+ railties (>= 3.0, < 4.3)
152
+ rspec-core (~> 3.2.0)
153
+ rspec-expectations (~> 3.2.0)
154
+ rspec-mocks (~> 3.2.0)
155
+ rspec-support (~> 3.2.0)
156
+ rspec-support (3.2.2)
157
+ ruby_parser (3.6.4)
131
158
  sexp_processor (~> 4.1)
132
- sexp_processor (4.4.4)
133
- shoulda-matchers (2.7.0)
159
+ sexp_processor (4.4.5)
160
+ shoulda-matchers (2.8.0)
134
161
  activesupport (>= 3.0.0)
135
- simplecov (0.9.1)
162
+ simplecov (0.9.2)
136
163
  docile (~> 1.1.0)
137
164
  multi_json (~> 1.0)
138
- simplecov-html (~> 0.8.0)
139
- simplecov-html (0.8.0)
165
+ simplecov-html (~> 0.9.0)
166
+ simplecov-html (0.9.0)
140
167
  slop (3.6.0)
141
168
  sprockets (2.12.3)
142
169
  hike (~> 1.2)
143
170
  multi_json (~> 1.0)
144
171
  rack (~> 1.0)
145
172
  tilt (~> 1.1, != 1.3.0)
146
- sprockets-rails (2.2.2)
173
+ sprockets-rails (2.2.4)
147
174
  actionpack (>= 3.0)
148
175
  activesupport (>= 3.0)
149
176
  sprockets (>= 2.8, < 4.0)
150
- term-ansicolor (1.2.2)
151
- tins (~> 0.8)
152
- thor (0.18.1)
177
+ term-ansicolor (1.3.0)
178
+ tins (~> 1.0)
179
+ thor (0.19.1)
153
180
  thread_safe (0.3.4)
154
181
  tilt (1.4.1)
155
182
  timeliness (0.3.7)
156
- tins (0.13.2)
183
+ tins (1.3.4)
157
184
  tzinfo (1.2.2)
158
185
  thread_safe (~> 0.1)
159
186
  validates_timeliness (3.0.14)
@@ -195,6 +195,9 @@ module Riveter
195
195
  add_attr(name, :hash, converter, options)
196
196
  end
197
197
 
198
+ ##
199
+ # FIXME: this doesn't work as expected
200
+ #
198
201
  def attr_model(name, model_or_scope, options={}, &block)
199
202
  options = {
200
203
  :model => model_or_scope,
@@ -20,6 +20,14 @@ module Riveter
20
20
  )
21
21
  end
22
22
 
23
+ def failure_notice
24
+ I18n.translate(
25
+ :failure,
26
+ :scope => [i18n_scope, :notices, command_name.i18n_key],
27
+ :default => "Failed to execute #{command_name.human}."
28
+ )
29
+ end
30
+
23
31
  def submit(*args)
24
32
  new().submit(*args)
25
33
  end
@@ -1,3 +1,3 @@
1
1
  module Riveter
2
- VERSION = "0.0.14"
2
+ VERSION = "0.0.15"
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.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Stefano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-19 00:00:00.000000000 Z
11
+ date: 2015-02-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties