targit 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/bin/targit +1 -1
- data/lib/targit/client.rb +2 -2
- data/lib/targit/version.rb +1 -1
- data/targit.gemspec +4 -4
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d9c24d83d5995fef98de9689b8852b8c68646258
|
4
|
+
data.tar.gz: 871da0a7a3bca5260c83115edcf411f8c5a020f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5c86ed4423e4a56c3eaf41426410402f723c3cd824f4e69cb38afeec1297bb1cdcef010fd64693a2c3371a7122178913580a749ca1e112d54bbc5346525e0d0
|
7
|
+
data.tar.gz: 5b2b75233390a33d4d6156d9dbcd2fc78eb09f3b59acad3dd0632257bcb0addcf269196bc08410cf162fed05fbd61243b11f75cfe195f56b1d21b911bfa139c0
|
data/CHANGELOG.md
CHANGED
data/bin/targit
CHANGED
@@ -19,7 +19,7 @@ Mercenary.program(:targit) do |p|
|
|
19
19
|
p.option :create, '-c', '--create', 'Create release if it does not exist'
|
20
20
|
p.option :release_name, '-r NAME', '--release NAME', 'Set the release name'
|
21
21
|
p.option :prerelease, '-p', '--prerelease', 'With -c, create as a dev release'
|
22
|
-
p.option :authfile, '-a FILE', '--authfile FILE', 'Set the auth
|
22
|
+
p.option :authfile, '-a FILE', '--authfile FILE', 'Set the auth files for GitHub credentials (comma-delimited)'
|
23
23
|
p.option :name, '-n NAME', '--name NAME', 'Set the name for the release asset'
|
24
24
|
# rubocop:enable Style/LineLength
|
25
25
|
|
data/lib/targit/client.rb
CHANGED
@@ -8,9 +8,9 @@ module Targit
|
|
8
8
|
private
|
9
9
|
|
10
10
|
def _client
|
11
|
-
|
11
|
+
files = @options[:authfile].split(',') || [:default]
|
12
12
|
autosave = @options[:autosave] || true
|
13
|
-
auth = Octoauth.new note: 'targit',
|
13
|
+
auth = Octoauth.new note: 'targit', files: files, autosave: autosave
|
14
14
|
Octokit::Client.new(
|
15
15
|
access_token: auth.token,
|
16
16
|
api_endpoint: @options[:api_endpoint],
|
data/lib/targit/version.rb
CHANGED
data/targit.gemspec
CHANGED
@@ -18,15 +18,15 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.executables = ['targit']
|
19
19
|
|
20
20
|
s.add_dependency 'octokit', '~> 3.8.0'
|
21
|
-
s.add_dependency 'octoauth', '~> 1.0
|
21
|
+
s.add_dependency 'octoauth', '~> 1.1.0'
|
22
22
|
s.add_dependency 'mercenary', '~> 0.3.4'
|
23
23
|
s.add_dependency 'mime-types', '~> 2.3'
|
24
24
|
|
25
|
-
s.add_development_dependency 'rubocop', '~> 0.
|
25
|
+
s.add_development_dependency 'rubocop', '~> 0.30.0'
|
26
26
|
s.add_development_dependency 'rake', '~> 10.4.0'
|
27
|
-
s.add_development_dependency 'coveralls', '~> 0.
|
27
|
+
s.add_development_dependency 'coveralls', '~> 0.8.0'
|
28
28
|
s.add_development_dependency 'rspec', '~> 3.2.0'
|
29
29
|
s.add_development_dependency 'fuubar', '~> 2.0.0'
|
30
|
-
s.add_development_dependency 'webmock', '~> 1.
|
30
|
+
s.add_development_dependency 'webmock', '~> 1.21.0'
|
31
31
|
s.add_development_dependency 'vcr', '~> 2.9.2'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: targit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.0
|
33
|
+
version: 1.1.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.0
|
40
|
+
version: 1.1.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: mercenary
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,14 +72,14 @@ dependencies:
|
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0.
|
75
|
+
version: 0.30.0
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0.
|
82
|
+
version: 0.30.0
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -100,14 +100,14 @@ dependencies:
|
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
103
|
+
version: 0.8.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
110
|
+
version: 0.8.0
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
112
|
name: rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 1.
|
145
|
+
version: 1.21.0
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 1.
|
152
|
+
version: 1.21.0
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: vcr
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|