mobile_rails_jqm 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
1
  ## v0.0.1
2
2
 
3
- * initial release
3
+ * initial release
4
+
5
+ ## v0.0.2
6
+
7
+ * fixed assets precompile issue
@@ -14,6 +14,11 @@ DESC
14
14
  end
15
15
  copy_file "mobile.css", "app/assets/stylesheets/mobile.css"
16
16
  copy_file "mobile.js", "app/assets/javascripts/mobile.js"
17
+
18
+ inject_into_file 'config/environments/production.rb', :after => "Application.configure do" do
19
+ "\n\n # Added by mobile_rails_jqm, precompile jQuery Related assets in production."+
20
+ "\n config.assets.precompile += %w(mobile.css mobile.js)\n"
21
+ end
17
22
  end
18
23
 
19
24
  protected
@@ -1,3 +1,3 @@
1
1
  module MobileRailsJqm
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mobile_rails_jqm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
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: 2011-12-12 00:00:00.000000000Z
12
+ date: 2011-12-13 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: A gem packaged with Jquery Mobile and a generator to work with mobile_rails
15
15
  gem
@@ -26,7 +26,6 @@ files:
26
26
  - README.md
27
27
  - Rakefile
28
28
  - lib/generators/mobile_rails_jqm/install_generator.rb
29
- - lib/generators/mobile_rails_jqm/layout_generator.rb
30
29
  - lib/generators/mobile_rails_jqm/templates/mobile.css
31
30
  - lib/generators/mobile_rails_jqm/templates/mobile.js
32
31
  - lib/generators/mobile_rails_jqm/templates/mobile.mobile.erb
@@ -1,7 +0,0 @@
1
- module MobileRailsJqm
2
- module Generators
3
- class LayoutGenerator < Rails::Generator::Base
4
-
5
- end
6
- end
7
- end