prima-twig 0.10.2 → 0.10.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/twig-deploy +0 -10
  3. data/lib/prima_twig.rb +1 -1
  4. metadata +2 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d746857247cf3cdfe983484bae04f04c920ac9a7
4
- data.tar.gz: cf6c14063ee415df9f9bcd195d50c15c2d31dfcd
3
+ metadata.gz: 933526e713347d4e203a634e1ca243a22d0a86a3
4
+ data.tar.gz: 581abd742b3edf9dd9eeefb6c96500ab4e376112
5
5
  SHA512:
6
- metadata.gz: a800aa0f0f2e6121aec9a537752a024efdcb2d8deff7b93d3872e9d3e6819b629d38cace03059f241de9b5b8ab2ef52ae47a21462eaead0b06327c414f0f255d
7
- data.tar.gz: 6a09f02668dfd181e21964fc1c014a37e7025a87f4085cf00e0582c68416c1bdd0c0ef13f17f7ad7ea163b5a5a73a316013d71c1f413554225caa659b294a14c
6
+ metadata.gz: b4cfa1e57936f711d9c8b021fea19b6b0a061d302b1f3a8082c78e2dab8e0eaa245cb8fa3c941f59e132ae25f832fa8aaf9c8d911b44698edf8a9941819ca60f
7
+ data.tar.gz: c54e60ab01f3a87fbb7bba4d7c063f63e458eb782537a47792455d6ce8423edfafad49cccd3259a9f8400df5d935a58a6ddab7e5e1f7dfba45a2eb9837af8d4e
@@ -90,11 +90,6 @@ class Review
90
90
 
91
91
  do_deploy! artifact_rev
92
92
 
93
- output "Cancello la cache CDN".yellow
94
- clear_cdn_cache
95
- output "Cache cancellata con successo, la modifica sara' operativa entro 30 secondi\n\n".green
96
-
97
-
98
93
  output "Avvio paparatzinger per gli screenshot".yellow
99
94
  job_name = launch_paparatzinger(artifact[:commit_msg])
100
95
 
@@ -287,9 +282,4 @@ def get_paparatzinger_job_name(job_name)
287
282
  job_name.gsub /[^0-9a-z]/i, '-'
288
283
  end
289
284
 
290
- def clear_cdn_cache
291
- connection = Rubyflare.connect_with(@prima.config['cloudflare_email'], @prima.config['cloudflare_apikey'])
292
- res = connection.delete("zones/1fb634f19c43dfb0162cc4cb91915da2/purge_cache", {"purge_everything":true})
293
- end
294
-
295
285
  Review.new.execute! args
@@ -12,7 +12,7 @@ class Prima
12
12
  LABEL_HOTFIX='hotfix'
13
13
  LABEL_NEXT_RELEASE='next release'
14
14
  LABEL_IN_STAGING='in staging'
15
- CONFIG_KEYS=['github', 'mandrill', 'cloudflare_email', 'cloudflare_apikey']
15
+ CONFIG_KEYS=['github', 'mandrill']
16
16
  attr_reader :gh, :twig, :config, :rugged, :aws
17
17
 
18
18
  def initialize
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prima-twig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matteo Giachino
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-10-14 00:00:00.000000000 Z
14
+ date: 2016-10-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: twig
@@ -139,20 +139,6 @@ dependencies:
139
139
  - - "~>"
140
140
  - !ruby/object:Gem::Version
141
141
  version: '2.6'
142
- - !ruby/object:Gem::Dependency
143
- name: rubyflare
144
- requirement: !ruby/object:Gem::Requirement
145
- requirements:
146
- - - ">="
147
- - !ruby/object:Gem::Version
148
- version: '0'
149
- type: :runtime
150
- prerelease: false
151
- version_requirements: !ruby/object:Gem::Requirement
152
- requirements:
153
- - - ">="
154
- - !ruby/object:Gem::Version
155
- version: '0'
156
142
  description: Our tools to manage git and github
157
143
  email: matteo.giachino@prima.it
158
144
  executables: