mina-circle 0.1.0 → 1.0.0

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b9c8ca20aafb5a47508240603e00aa3281522ebe
4
- data.tar.gz: 8205c8898aa81cb1a3dcad223a96badbe1763d9e
3
+ metadata.gz: 81d73b1ff165eaf193ab0d1653b391676d0b2ce3
4
+ data.tar.gz: dc915403c48c74f66b2d6e9d5085ef641bdd0301
5
5
  SHA512:
6
- metadata.gz: 67b454ba59de6651aacf5842036aa280a3b51d88c7554e265abcd91e87e2e78b29e40b982f560a54f9888a95cc74103965d375d74e464a348f9d53dc6e820769
7
- data.tar.gz: 2158b598ab00630453fdddc5577e5c40b464d2d601834c6b405b9149baeea292b9982cb3a0f4aa96910fa9109f4db1792e14205d10c0b194f42c70861def0cb0
6
+ metadata.gz: 657fbc44cb9a437846873d471c4ec9d8505f9fe207ccc726280a3f9cdb70aaf2a565de637f555b3d7d908e0c49f2af13ecd7a80ef4c9354289394e0d0ee0df67
7
+ data.tar.gz: 53f348c98b8b1d926079cf8754d85f3dbad6f9523c2a2676fe186510a947ad922b03774ef79e70173fa17b897e7037889f7272dbbab38bc81fe28685d1429008
@@ -12,7 +12,9 @@ module MinaCircle
12
12
  base_uri = 'https://circleci.com/api/v1/project'
13
13
  base_path = "#{circle_user}/#{circle_project}/tree/master"
14
14
  url = "#{base_uri}/#{base_path}?circle-token=#{circle_token}&limit=1&filter=completed"
15
- JSON.parse(open(url).read).first['build_num'].to_s
15
+ build_num = JSON.parse(open(url).read).first['build_num'].to_s
16
+ echo "[mina-circle] using build number: #{build_num}"
17
+ build_num
16
18
  end
17
19
 
18
20
  def build_url
@@ -19,7 +19,7 @@ extend MinaCircle::Helpers
19
19
  # Name CircleCI calls your build archive
20
20
  #
21
21
  # ### circle_explode_command
22
- # Command with options for decompressing the artifact archive
22
+ # Command with options for decompressing the artifact archive
23
23
 
24
24
  set_default(:circle_token, parse_from_home_dir || fail('CircleCI token required'))
25
25
 
@@ -27,6 +27,7 @@ namespace :circleci do
27
27
 
28
28
  desc 'Downloads and explodes the archive file containing the build'
29
29
  task :deploy do
30
+ print "[mina-circle] Fetching: #{circle_artifact}"
30
31
  queue "curl -o #{circle_artifact} #{build_url}"
31
32
  queue "#{circle_explode_command} #{circle_artifact}"
32
33
  end
@@ -1,3 +1,3 @@
1
1
  module MinaCircle
2
- VERSION = '0.1.0'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-circle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick Simpson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-04-22 00:00:00.000000000 Z
12
+ date: 2015-05-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: mina