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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eab75b065f3c45da2a5ebe2e2476b020e46bb74a
4
- data.tar.gz: b2b3dddce7b57069353ff2de1783c567e89afaf6
3
+ metadata.gz: 1b546a592c51d2e8a4f7792cad307585e0c182b1
4
+ data.tar.gz: eacfbee50e3beca731df7ef78e0754673b93cd89
5
5
  SHA512:
6
- metadata.gz: 86b59e46c6a549506414a07ec464bc5ca3bb7f7b37b9d7229c3471962f62e689b0a10b1e803a4207306fc64f8adadf61a0e75edca513b2a69882ae4ba40be761
7
- data.tar.gz: a2e211fb9e9a462945dc83de06fb2966d1ed6c12d25f4d6a9f8a255d8dab3eefdc535baef1a72a39ac158918c95222cf8a60cd4349013f18bd4ad07d7752a0dc
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, action]
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
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railsbuilder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.18
4
+ version: 0.1.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Robertson
metadata.gz.sig CHANGED
Binary file