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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 74425ad78096321db1002fd96caf9d0d16874cab
4
- data.tar.gz: 1034f056022a81783b7cc1617cc26261aa176aeb
3
+ metadata.gz: f8c12f894f1c6eddcd61539322b6ed5823ef59d8
4
+ data.tar.gz: e6dca1256e36c49c084d3effa8589310685ff566
5
5
  SHA512:
6
- metadata.gz: eb21dedd3b1d9b5d2a666de69ff104576ea7c916e13e9a5450bb7e054582a16098641ed235fc1c8d76c95b771311dce7c9d69cf41d7ce968b47b92480a0c8497
7
- data.tar.gz: 930646001f9e30293ac5d9f3f7cc99df1e2871376604934023b242cd714d5e22c66a8f6aa3e92bdb677385bd98ced88a0dd51876d4e46d4412b9f9214afdba1e
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
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Linuxpl
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
@@ -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=production", "rake assets:precompile")
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.3
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-08-30 00:00:00.000000000 Z
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