activeadmin-generator 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,10 +1,12 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- activeadmin-generator (0.0.3)
5
- aws-s3
4
+ activeadmin-generator (0.0.7)
5
+ heroku-api
6
+ mechanize
6
7
  railties
7
8
  rake
9
+ s3
8
10
  thor
9
11
 
10
12
  GEM
@@ -26,18 +28,32 @@ GEM
26
28
  activesupport (3.2.9)
27
29
  i18n (~> 0.6)
28
30
  multi_json (~> 1.0)
29
- aws-s3 (0.6.3)
30
- builder
31
- mime-types
32
- xml-simple
33
31
  builder (3.0.4)
32
+ domain_name (0.5.6)
33
+ unf (~> 0.0.3)
34
34
  erubis (2.7.0)
35
+ excon (0.16.10)
36
+ heroku-api (0.3.7)
37
+ excon (~> 0.16.10)
35
38
  hike (1.2.1)
36
39
  i18n (0.6.1)
37
40
  journey (1.0.4)
38
41
  json (1.7.5)
42
+ mechanize (2.5.1)
43
+ domain_name (~> 0.5, >= 0.5.1)
44
+ mime-types (~> 1.17, >= 1.17.2)
45
+ net-http-digest_auth (~> 1.1, >= 1.1.1)
46
+ net-http-persistent (~> 2.5, >= 2.5.2)
47
+ nokogiri (~> 1.4)
48
+ ntlm-http (~> 0.1, >= 0.1.1)
49
+ webrobots (~> 0.0, >= 0.0.9)
39
50
  mime-types (1.19)
40
- multi_json (1.3.7)
51
+ multi_json (1.5.0)
52
+ net-http-digest_auth (1.2.1)
53
+ net-http-persistent (2.8)
54
+ nokogiri (1.5.6)
55
+ ntlm-http (0.1.1)
56
+ proxies (0.2.1)
41
57
  rack (1.4.1)
42
58
  rack-cache (1.2)
43
59
  rack (>= 0.4)
@@ -52,17 +68,22 @@ GEM
52
68
  rake (>= 0.8.7)
53
69
  rdoc (~> 3.4)
54
70
  thor (>= 0.14.6, < 2.0)
55
- rake (10.0.2)
71
+ rake (10.0.3)
56
72
  rdoc (3.12)
57
73
  json (~> 1.4)
58
- sprockets (2.2.1)
74
+ s3 (0.3.11)
75
+ proxies (~> 0.2.0)
76
+ sprockets (2.2.2)
59
77
  hike (~> 1.2)
60
78
  multi_json (~> 1.0)
61
79
  rack (~> 1.0)
62
80
  tilt (~> 1.1, != 1.3.0)
63
81
  thor (0.16.0)
64
82
  tilt (1.3.3)
65
- xml-simple (1.1.2)
83
+ unf (0.0.5)
84
+ unf_ext
85
+ unf_ext (0.0.5)
86
+ webrobots (0.0.13)
66
87
 
67
88
  PLATFORMS
68
89
  ruby
@@ -7,6 +7,9 @@ module ::Bricks
7
7
  gem "sextant"
8
8
  gem "modernizr-rails"
9
9
  gem "hive-rails", github: 'stefanoverna/hive-rails', branch: 'master'
10
+ gem "sprockets-image_compressor"
11
+ gem 'better_errors'
12
+ gem 'binding_of_caller'
10
13
  commit_all "Added frontend gems"
11
14
 
12
15
  remove_dir 'app'
@@ -18,10 +21,6 @@ module ::Bricks
18
21
  apply_i18n_routes!
19
22
  end
20
23
 
21
- def deflate_assets
22
- copy_file "config.ru"
23
- end
24
-
25
24
  def apply_i18n_routes!
26
25
  gem 'i18n_routing'
27
26
  copy_file "config/locales/it.yml"
@@ -44,6 +44,9 @@ module ::Bricks
44
44
 
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
+ 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"
47
50
  inject_into_file "config/application.rb", " config.assets.initialize_on_precompile = false\n", after: "config.assets.enabled = true\n"
48
51
 
49
52
  @access_key = ENV['AMAZON_ACCESS_KEY_ID'] || ask("Amazon access key ID: ")
@@ -1,3 +1,6 @@
1
1
  it:
2
2
  resources:
3
3
  static: 'statiche'
4
+
5
+ named_routes_path:
6
+ foo: 'bar'
@@ -1,6 +1,6 @@
1
1
  module ActiveAdmin
2
2
  module Generator
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
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.6
4
+ version: 0.0.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-14 00:00:00.000000000 Z
12
+ date: 2012-12-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -157,7 +157,6 @@ files:
157
157
  - lib/active_admin/generator/templates/app/views/application/_js_includes.html.slim
158
158
  - lib/active_admin/generator/templates/app/views/layouts/application.html.slim
159
159
  - lib/active_admin/generator/templates/app/views/static/homepage.html.slim
160
- - lib/active_admin/generator/templates/config.ru
161
160
  - lib/active_admin/generator/templates/config/active_admin_initializer.rb
162
161
  - lib/active_admin/generator/templates/config/database.yml
163
162
  - lib/active_admin/generator/templates/config/initializers/active_admin.rb
@@ -1 +0,0 @@
1
- use Rack::Deflater