bootscaf 0.1.12 → 0.1.13

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: 14cbbddbb53d1da9fbb246fff35ce18bd520f8bd
4
- data.tar.gz: 74b50c9a80933ee0c243a7423a07071e34f57eb8
3
+ metadata.gz: 2f956a1ac78cdc95ad2cc31317f6cda8777f9be9
4
+ data.tar.gz: a6bba87adeb50f5150f309fa693ffbc2ad31b5cb
5
5
  SHA512:
6
- metadata.gz: c38761e0d25c5e998cf86fa2897655bf391fa9f3a99f6af70a08dd41f0527d63c1147893ec57b185bb2e831bdf25205b7a3ff074f045954c28ff7252088af102
7
- data.tar.gz: b3f7a3dc9241b2d8fe665ecfc1f626158915d0262f00de16ff7fa7b09453593ba4a00d876f80dfc08bbd77bb5ea021f3bffc7984b6b0e0cc36b9507dac4f442a
6
+ metadata.gz: 1d4eae10b26572719abc4eade2780b4bf8f896d5d7a1c1e74c8ce62351913eaea056dc9945e85aa55955c6a0adf4b083ec524a87b370da61a9e1670f9d17da5a
7
+ data.tar.gz: 201c168bc7c26592241d1484268c93299d51d8b0524fb4bcccb20185ff85e8f4a14cc88d39723f6bdea1a0d6e0800a20eda18e01f619cbb35bad9ef41e6d3443
data/lib/bootscaf/cli.rb CHANGED
@@ -17,13 +17,13 @@ module Bootscaf
17
17
  puts Bootscaf::VERSION
18
18
  end
19
19
 
20
- desc "nest PLURALMODELNAME>PLURALMODELNAME[>PLURALMODELNAME...]", "Updates the scaffold controller and views to nest the models"
20
+ desc "nest PLURALMODELNAME:PLURALMODELNAME[:PLURALMODELNAME...]", "Updates the scaffold controller and views to nest the models"
21
21
  def nest(nestpath)
22
22
 
23
23
  is_mac = (RbConfig::CONFIG['host_os'] =~ /^darwin/) >= 0
24
24
  icmd = is_mac ? "-i ''" : '--in-place'
25
25
 
26
- fullpath = nestpath.split('>').map { |a| a.downcase }
26
+ fullpath = nestpath.split(':').map { |a| a.downcase }
27
27
  ancestors_only = fullpath.first(fullpath.size-1)
28
28
  singularized_ancestors = ancestors_only.map {|a| Bootscaf::Utils.singularize(a) }
29
29
  modelname = fullpath.last
@@ -1,3 +1,3 @@
1
1
  module Bootscaf
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.13"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bootscaf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Moore