activeadmin-generator 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activeadmin-generator (0.0.8)
4
+ activeadmin-generator (0.0.9)
5
5
  heroku-api
6
6
  mechanize
7
7
  railties
@@ -27,7 +27,7 @@ module ::Bricks
27
27
  end
28
28
 
29
29
  def apply_letter_opener!
30
- inject_into_file "config/environments/development.rb", " config.action_mailer.delivery_method = :letter_opener", after: 'config.assets.debug = true'
30
+ inject_into_file "config/environments/development.rb", " config.action_mailer.delivery_method = :letter_opener\n", after: "config.assets.debug = true\n"
31
31
  end
32
32
 
33
33
  end
@@ -45,8 +45,8 @@ module ::Bricks
45
45
  gsub_file "config/environments/production.rb", /Don't fallback to assets pipeline/, "Fallback to assets pipeline"
46
46
  gsub_file "config/environments/production.rb", /config\.assets\.compile = false/, "config.assets.compile = true"
47
47
  gsub_file "config/environments/production.rb", /config\.serve_static_assets = false/, "config.serve_static_assets = true"
48
- inject_into_file "config/environments/production.rb", ' config.static_cache_control = "public, max-age=2592000"', after: "config.serve_static_assets = true"
49
- inject_into_file "config/environments/production.rb", ' config.middleware.insert_before ActionDispatch::Static, Rack::Deflater', after: "config.serve_static_assets = true"
48
+ inject_into_file "config/environments/production.rb", " config.static_cache_control = 'public, max-age=2592000'\n", after: "config.serve_static_assets = true\n"
49
+ inject_into_file "config/environments/production.rb", " config.middleware.insert_before ActionDispatch::Static, Rack::Deflater\n", after: "config.serve_static_assets = true\n"
50
50
  inject_into_file "config/application.rb", " config.assets.initialize_on_precompile = false\n", after: "config.assets.enabled = true\n"
51
51
 
52
52
  @access_key = ENV['AMAZON_ACCESS_KEY_ID'] || ask("Amazon access key ID: ")
@@ -1,6 +1,6 @@
1
1
  module ActiveAdmin
2
2
  module Generator
3
- VERSION = "0.0.8"
3
+ VERSION = "0.0.9"
4
4
  end
5
5
  end
6
6
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin-generator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: