ror_generators 0.2.1 → 0.2.2

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: 126fe02a93198385d95634250381ba2f8a6b5278
4
- data.tar.gz: 1a2c9890c82984b23e145b88eb1314c1ffee0288
3
+ metadata.gz: 56856411cf18a98f59733a837f6840c64aa811ab
4
+ data.tar.gz: f85c1bbe3ea5ada1bad12eb4ae5c376690ffe6df
5
5
  SHA512:
6
- metadata.gz: 15540b30619414e618ea42f703db40b094e68a5ae49ae387dd20d561edcfcc00b851f1cc43aa119785116c35acb98b9a428e3d31ac6d60446ba804dba0a9faae
7
- data.tar.gz: f098ca2057b606e5802db060656cecaaf9206ff179cd5d24b543e33630ace38d2dc90b1f9666dc2294f2d25003a8b13fa64d5208598b6a67e1b0911520ab7227
6
+ metadata.gz: 2302ebcb75793903d2566eb32f2dfbe3d6a97df0968265c5bdc2debbdeb844a8e636764c83e1bf0fdadf30f24c0e71509fd89dde912b4659182341d6fdad01e6
7
+ data.tar.gz: 173721f96d8d9f0d28d3ea2bde842e99648cbfca7565c10193f179587db7958b1049c918432bc76fe4e8cd41e622753e7405f1435c75517733a3ae9dfc2c02f6
@@ -47,10 +47,9 @@ module RorGenerators
47
47
  end
48
48
 
49
49
  def copy_webpack_config
50
- if dest_file_exists?("client/webpack.config.js.erb")
51
- inject_into_file "client/webpack.config.js.erb", after: "'babel-polyfill',\n" do <<-'RUBY'
52
- puts "'./app/bundles/#{module_name}/startup/registration',"
53
- RUBY
50
+ if dest_file_exists?("client/webpack.config.js")
51
+ inject_into_file "client/webpack.config.js", after: "'babel-polyfill',\n" do
52
+ "'./app/bundles/#{module_name}/startup/registration',\n"
54
53
  end
55
54
  else
56
55
  template "client/webpack.config.js.erb", "client/webpack.config.js"
@@ -1,3 +1,3 @@
1
1
  module RorGenerators
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ror_generators
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dakota Martinez