capistrano-sumo 1.3.0 → 1.3.1

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: '00088bf80ff920288f5460ec2318cbaf8fad65f8'
4
- data.tar.gz: a6c5573045e6d05ec0fce6dd8ad73e5e18e2c1bc
3
+ metadata.gz: f2efcdf843bf76e4d72e0a2f4a03839eda14cb39
4
+ data.tar.gz: c1dd00d6b955512326c8170cc888f58027b86a01
5
5
  SHA512:
6
- metadata.gz: 5ae08a893c6176adfdd4f4deacb7e125aac834f8ce6f02f2970e3cb3fe9446a2659a6dbdfd50ca85b261a7153dd4576829d59c15d4f154416b94f66c5440c753
7
- data.tar.gz: f0596141b5bd0e4d6dbc1e410eefbb2a538ee38dc0d8d28eaaa5d11d9fe97a230a48fd82112b463f9578645b5b7c76f7fe08ef7ae3b5a688cfecf6e664f7ef63
6
+ metadata.gz: 8e8dbc6a33a889bf9a35f99b1a4a61e930b53413a6d0619bb08b2e98bb25f144569a8b10bb71df0ef51f964cd791e11d374b060740f2e3953333eb03c29fe42e
7
+ data.tar.gz: 57ee1c090743ab2e7aec2458f66df1d931071f81c3cac7a6903b743700779f1dc6354b77866a3cd4d8f08035b4f29dca4ef0115c9ac01293d159a8ca8bd8e0c5
@@ -1,6 +1,10 @@
1
+ require 'json'
2
+
1
3
  namespace :deploy do
2
- # compile and upload the assets
3
- after :updated, 'sumo:assets:put'
4
+ package = JSON.parse(File.read('composer.json'))
5
+
6
+ # compile and upload the assets, but only if it's a Fork CMS project
7
+ after :updated, 'sumo:assets:put' if package['name'] == 'forkcms/forkcms'
4
8
 
5
9
  # notify our bot about the deploy
6
10
  after :finished, 'sumo:notifications:deploy'
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Sumo
3
- VERSION = '1.3.0'
3
+ VERSION = '1.3.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-sumo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tijs Verkoyen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-11 00:00:00.000000000 Z
11
+ date: 2018-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler