railsbuilder 0.1.18 → 0.1.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/railsbuilder.rb +5 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1b546a592c51d2e8a4f7792cad307585e0c182b1
|
4
|
+
data.tar.gz: eacfbee50e3beca731df7ef78e0754673b93cd89
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: acdf3bbef87e31f9c199c19834a9147eb2f5e0698464bcc1027a294964505d6a4212a7ecdc60ba1572045bc490396319d96fe6e430384602ae04cfe5c8738129
|
7
|
+
data.tar.gz: 110c180f6f4575957fcd93ede187e76ac4389dbd4bb86b88ee128577dad6d6287c9c4b0f7b4d7b91750ecdcef9ee0bf3ad4f1fe6287b9419f367fca80a11b01d
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/railsbuilder.rb
CHANGED
@@ -298,9 +298,13 @@ class RailsBuilder
|
|
298
298
|
else
|
299
299
|
|
300
300
|
unless File.exists? view_file then
|
301
|
+
|
302
|
+
actions = child.xpath('resource_cv_av') do |x|
|
303
|
+
x.attributes[:captures0]
|
304
|
+
end.join(' ')
|
301
305
|
|
302
306
|
command = "rails generate controller %s %s" %
|
303
|
-
[resource,
|
307
|
+
[resource, actions]
|
304
308
|
puts ":: preparing to execute shell command: `#{command}`"
|
305
309
|
puts 'Are you sure you want to generate a ' \
|
306
310
|
+ 'controller action? (Y/n)'
|
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|