rails-precompile2git 1.0.3 → 1.0.4
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 +2 -2
- data/VERSION +1 -1
- data/lib/precompile2git.rb +1 -1
- data/precompile2git.yml.example +2 -1
- data/rails-precompile2git.gemspec +2 -2
- metadata +2 -2
data/README.md
CHANGED
@@ -15,13 +15,13 @@
|
|
15
15
|
- commit everything (with `user_name` and `user_email` for git config as set in config file)
|
16
16
|
- push to origin on a specific branch (as set in config file)
|
17
17
|
|
18
|
-
It makes deployments as fast as before Rails 3.1
|
18
|
+
It makes deployments as fast as before Rails 3.1 and it secures the process.
|
19
19
|
|
20
20
|
## Installation
|
21
21
|
|
22
22
|
Everything should be pretty straight forward:
|
23
23
|
|
24
|
-
- Copy the `precompile2git.yml.example into `YOUR_RAILS_PROJECT/config/precompile2git.yml` and customize it
|
24
|
+
- Copy the `precompile2git.yml.example` into `YOUR_RAILS_PROJECT/config/precompile2git.yml` and customize it
|
25
25
|
- In `YOUR_RAILS_PROJECT/` folder run `precompile2git`
|
26
26
|
|
27
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.4
|
data/lib/precompile2git.rb
CHANGED
@@ -83,7 +83,7 @@ class Precompile2git
|
|
83
83
|
@precompilation_process_pid = fork do
|
84
84
|
@logger.info("Precompiler: Starting assets precompilation...")
|
85
85
|
|
86
|
-
system('bundle install >
|
86
|
+
system('bundle install > ' + @commands_log_file + '; RAILS_ENV=' + @rails_env + ' rake assets:precompile > ' + @commands_log_file + ';')
|
87
87
|
|
88
88
|
@logger.info("Precompiler: Precompilation done. Committing and pushing")
|
89
89
|
|
data/precompile2git.yml.example
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "rails-precompile2git"
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.4"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Robin Komiwes"]
|
12
|
-
s.date = "2012-
|
12
|
+
s.date = "2012-04-05"
|
13
13
|
s.description = "Daemon that watch a Git repo for new commit, pull changes, precompile assets and push back to Git"
|
14
14
|
s.email = "robin.komiwes@gmail.com"
|
15
15
|
s.executables = ["precompile2git"]
|
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.4
|
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-04-
|
12
|
+
date: 2012-04-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: git
|