capistrano-linuxpl 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -0
- data/capistrano-linuxpl-0.0.3.gem +0 -0
- data/lib/capistrano/linuxpl/version.rb +1 -1
- data/lib/capistrano/tasks/precompile_assets.rake +3 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8c12f894f1c6eddcd61539322b6ed5823ef59d8
|
4
|
+
data.tar.gz: e6dca1256e36c49c084d3effa8589310685ff566
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3e03a128b9eae7b89ba87db72d8bd40835a1362f39c0ac8e3c7c6b5830d98afd9f2cf6aea01b0638251478259cb3c8b36322e2818a504c4f3a34d743e9d912d
|
7
|
+
data.tar.gz: 07ab9ed5863f1c80f71d4b92b9f775c643e52cb25bc7a946cfe0d32825bac65da098eadc267141b7bfb75e789184eaf42ed1fc4a72966ed7c811767dc1202964
|
data/README.md
CHANGED
@@ -38,3 +38,9 @@ gem push
|
|
38
38
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
39
39
|
4. Push to the branch (`git push origin my-new-feature`)
|
40
40
|
5. Create new Pull Request
|
41
|
+
|
42
|
+
|
43
|
+
## Using temporary local version of gem
|
44
|
+
gem "capistrano-linuxpl", path: "/home/mariusz/Projects/Ruby/capistrano-linuxpl"
|
45
|
+
bundle install
|
46
|
+
|
Binary file
|
@@ -4,9 +4,11 @@ require 'capistrano'
|
|
4
4
|
|
5
5
|
task :precompile_assets do
|
6
6
|
run_locally do
|
7
|
+
stage = fetch(:stage, "production")
|
8
|
+
puts "stage - #{stage}"
|
7
9
|
execute(:rm, "-rf public/assets/*")
|
8
10
|
execute(:rm, "-rf public/assets/.sprockets-manifest*")
|
9
|
-
execute("RAILS_ENV
|
11
|
+
execute("RAILS_ENV=#{stage}", "rake assets:precompile")
|
10
12
|
execute('git add . && git commit -m "update assets" && git push')
|
11
13
|
end
|
12
14
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-linuxpl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mariusz Błaszczak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: capistrano
|
@@ -63,6 +63,7 @@ files:
|
|
63
63
|
- README.md
|
64
64
|
- Rakefile
|
65
65
|
- capistrano-linuxpl-0.0.1.gem
|
66
|
+
- capistrano-linuxpl-0.0.3.gem
|
66
67
|
- capistrano-linuxpl.gemspec
|
67
68
|
- lib/capistrano-linuxpl.rb
|
68
69
|
- lib/capistrano/linuxpl.rb
|