parliament-utils 0.4.2 → 0.5.0

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: 581133e7b5941a4d421a217f174b2c143f2d139b
4
- data.tar.gz: a306e76e027393cf8ae12ca3bd9207a21704e129
3
+ metadata.gz: ddf7a1e70bcdc34a8eee422e58139b702129923f
4
+ data.tar.gz: 35b65d62db6d438f29597088aaeb3920ab5c7f51
5
5
  SHA512:
6
- metadata.gz: ed4683c8351964691db255108c3a2a04f6210225ab194af4e09b990372820f53d25cfd5514d82e3edd123956568b220c1a17fab41ec82fb4766da25ca5530a49
7
- data.tar.gz: b22c3394c0573f1fb355e12fa03186622e851308133228a2252903cabc4c09a83d010b4a1ee96f54e821ef470946abcf950d25755bca700a0cd5bae16ee67676
6
+ metadata.gz: 1ff11e1eea29d06a256ecb4722921b965af6e994c5c81b83c0564acc04ca9d6354ed07a63641ff648d7d79bc579f225f4ea5805db299f1cc137c51135ade70fd
7
+ data.tar.gz: b92e06674a3c6aad5fa6fe2007ae4c2b4cec5fc7b0575a3ede9603acea3b4feff31bf52f4b633a963753b26036fa9b33910f641daa89623ebfca2b73023c4c7e
data/Makefile CHANGED
@@ -1,3 +1,13 @@
1
+ .PHONY: checkout_to_release deploy_to_release
2
+
3
+ # Github variables
4
+ GITHUB_API=https://api.github.com
5
+ ORG=ukparliament
6
+ REPO=parliament-utils
7
+ LATEST_REL=$(GITHUB_API)/repos/$(ORG)/$(REPO)/releases
8
+ REL_TAG=$(shell curl -s $(LATEST_REL) | jq -r '.[0].tag_name')
9
+
10
+
1
11
  gemset:
2
12
  rvm gemset create parliament-utils
3
13
  rvm --force gemset empty parliament-utils
@@ -13,4 +23,13 @@ build:
13
23
 
14
24
  release: build test
15
25
  gem push parliament-utils-*.gem
16
- rm parliament-utils-*.gem
26
+ rm parliament-utils-*.gem
27
+
28
+ checkout_to_release:
29
+ git checkout -b release $(REL_TAG)
30
+
31
+ deploy_to_release:
32
+ gem build *.gemspec
33
+ gem push *.gem
34
+ rm *.gem
35
+
@@ -0,0 +1,30 @@
1
+ pipelines:
2
+ GEM-utils:
3
+ group: Dependencies
4
+ label_template: "${COUNT}"
5
+ materials:
6
+ GEM-utils-git:
7
+ git: https://github.com/ukparliament/parliament-utils.git
8
+ branch: master
9
+ auto_update: true
10
+ stages:
11
+ - deploy:
12
+ approval: manual
13
+ jobs:
14
+ deploy:
15
+ tasks:
16
+ - exec:
17
+ run_if: passed
18
+ command: make
19
+ arguments:
20
+ - checkout_to_release
21
+ - exec:
22
+ run_if: passed
23
+ command: make
24
+ arguments:
25
+ - deploy_to_release
26
+
27
+ environments:
28
+ Web.LIVE:
29
+ pipelines:
30
+ - GEM-utils
@@ -1 +1,2 @@
1
- Rack::Timeout.timeout = 20
1
+ # Temporarily increasing to account for HybridBill document uploads
2
+ Rack::Timeout.timeout = 60
@@ -1,5 +1,5 @@
1
1
  module Parliament
2
2
  module Utils
3
- VERSION = '0.4.2'.freeze
3
+ VERSION = '0.5.0'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: parliament-utils
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rebecca Appleyard
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-10-24 00:00:00.000000000 Z
11
+ date: 2017-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parliament-ruby
@@ -260,6 +260,7 @@ files:
260
260
  - config/.DS_Store
261
261
  - config/locales/en.yml
262
262
  - config/puma.rb
263
+ - gocd/web1live.yaml
263
264
  - lib/parliament/utils.rb
264
265
  - lib/parliament/utils/config/initializers.rb
265
266
  - lib/parliament/utils/config/initializers/airbrake.rb