mina-ci 0.0.9 → 0.1.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: 152792a7227b7ca55889fc2ec43c34d056909e76
4
- data.tar.gz: 2895e15bd7c1848e64f0d00d84891f2c463f1366
3
+ metadata.gz: 075695834fd7f2eb39f4ba026257c7f3df3db9f9
4
+ data.tar.gz: aa81adbb1b28755fee9cda08a12135a9adb02fcb
5
5
  SHA512:
6
- metadata.gz: bfe99c21f5380d49944887529ffefa1728d88dcfb5089418bb254a9090a1ecb09148be9555ff516c715ea0fefdc4652bd954261c0db6111f062bcac89fd8dd23
7
- data.tar.gz: 1fbcfde0efdd96765b650564451c046db2095a6f5fb682908eea58a01d2771249383cf44a19669da357b01240344c995ad1114d5280bc8949adc83579212c0c1
6
+ metadata.gz: 0e6e2490cf5ead1e74f1c7b92c14b130c355893533fe3d83e312726e9557fe3959cbc72ca3ffa25f9773fab84fc30071dc663c28fb308a41b7c933c05e3bc656
7
+ data.tar.gz: a985e925c1d4c34decf8dd247e527b4c11d07907c73d610ca9630d1f6dc40298d0de3cfe9ca28cb15413987516724c21c35403e4c3f47607441fd2c591756f6c
@@ -1,5 +1,4 @@
1
1
  require 'json'
2
- require 'mina/rails'
3
2
 
4
3
  # # Modules: CI
5
4
  # Adds settings and tasks for checking CircleCI status.
@@ -18,9 +17,9 @@ require 'mina/rails'
18
17
  # Name by which CircleCI knows your project
19
18
  #
20
19
 
21
- set_default :circle_token, nil
22
- set_default :circle_username, nil
23
- set_default :circle_project, nil
20
+ set_default :circle_token, -> { ENV['CIRCLE_TOKEN'] }
21
+ set_default :circle_username, -> { ENV['CIRCLE_USERNAME'] }
22
+ set_default :circle_project, -> { ENV['CIRCLE_PROJECT'] }
24
23
 
25
24
  namespace :ci do
26
25
 
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Ci
3
- VERSION = '0.0.9'
3
+ VERSION = '0.1.0'
4
4
  end
5
5
  end
@@ -12,13 +12,14 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = 'https://github.com/seandong/mina-ci'
13
13
  spec.license = 'MIT'
14
14
 
15
- spec.files = `git ls-files -z`.split("\x0")
15
+ spec.files = `git ls-files`.split($/)
16
16
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
17
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
18
18
  spec.require_paths = ['lib']
19
19
 
20
- spec.add_development_dependency 'bundler', '~> 1.6'
21
- spec.add_development_dependency "minitest", "~> 5.0"
20
+ spec.add_runtime_dependency 'mina', '~> 0.3'
22
21
 
23
- spec.add_runtime_dependency 'mina', '~> 0.3', '>= 0.3.0'
22
+ spec.add_development_dependency 'bundler', '~> 1.6'
23
+ spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'minitest', '~> 5.0'
24
25
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-ci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Dong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-25 00:00:00.000000000 Z
11
+ date: 2015-04-27 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: mina
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0.3'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0.3'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -25,39 +39,33 @@ dependencies:
25
39
  - !ruby/object:Gem::Version
26
40
  version: '1.6'
27
41
  - !ruby/object:Gem::Dependency
28
- name: minitest
42
+ name: rake
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '5.0'
47
+ version: '10.0'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '5.0'
54
+ version: '10.0'
41
55
  - !ruby/object:Gem::Dependency
42
- name: mina
56
+ name: minitest
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
59
  - - "~>"
46
60
  - !ruby/object:Gem::Version
47
- version: '0.3'
48
- - - ">="
49
- - !ruby/object:Gem::Version
50
- version: 0.3.0
51
- type: :runtime
61
+ version: '5.0'
62
+ type: :development
52
63
  prerelease: false
53
64
  version_requirements: !ruby/object:Gem::Requirement
54
65
  requirements:
55
66
  - - "~>"
56
67
  - !ruby/object:Gem::Version
57
- version: '0.3'
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: 0.3.0
68
+ version: '5.0'
61
69
  description: Mina recipe for checking Circle CI build status of your repo.
62
70
  email:
63
71
  - sindon@gmail.com