rails-precompile2git 1.0.2 → 1.0.3
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.
- data/README.md +3 -1
- data/VERSION +1 -1
- data/lib/precompile2git.rb +2 -2
- metadata +2 -2
data/README.md
CHANGED
@@ -22,4 +22,6 @@
|
|
22
22
|
Everything should be pretty straight forward:
|
23
23
|
|
24
24
|
- Copy the `precompile2git.yml.example into `YOUR_RAILS_PROJECT/config/precompile2git.yml` and customize it
|
25
|
-
- In `YOUR_RAILS_PROJECT/` folder run `precompile2git`
|
25
|
+
- In `YOUR_RAILS_PROJECT/` folder run `precompile2git`
|
26
|
+
|
27
|
+
NB: you may want to first add `config/precompile2git.yml` in your `.gitignore`
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
data/lib/precompile2git.rb
CHANGED
@@ -81,9 +81,9 @@ class Precompile2git
|
|
81
81
|
|
82
82
|
|
83
83
|
@precompilation_process_pid = fork do
|
84
|
-
@logger.info("Precompiler: Starting assets precompilation")
|
84
|
+
@logger.info("Precompiler: Starting assets precompilation...")
|
85
85
|
|
86
|
-
system('RAILS_ENV=' + @rails_env + ' rake assets:precompile ;')
|
86
|
+
system('bundle install > /dev/null; RAILS_ENV=' + @rails_env + ' rake assets:precompile > /dev/null;')
|
87
87
|
|
88
88
|
@logger.info("Precompiler: Precompilation done. Committing and pushing")
|
89
89
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-precompile2git
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
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
|
+
date: 2012-04-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: git
|