targit 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/targit/release.rb +2 -2
- data/lib/targit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 11aecc501b0e71aab6aed9f9d77e279437456064
|
4
|
+
data.tar.gz: 89027dede0bc479980d679275e46a77295a98ff9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d9cdec4c1c0f2db2bf5509f22b15d1a2b7f77086c5708c9211901b401cc78a5c4f1903325607b919d6a4ed3f28fd383863570001358a06a466283b65b0f2caa
|
7
|
+
data.tar.gz: cccba8d4580940d346f471a4a48baf7f155e8b5624de28cb5da1d5e1049dc297c18816c4632bd17656ade2feacfb7a360cc20efe7387fd05bc7bf1f55cc2ed25
|
data/lib/targit/release.rb
CHANGED
@@ -12,7 +12,7 @@ module Targit
|
|
12
12
|
@client = @options[:client]
|
13
13
|
@create_options = _create_options
|
14
14
|
@data = find
|
15
|
-
create if @data.nil? && @options
|
15
|
+
create if @data.nil? && @options.include?(:create)
|
16
16
|
fail('No release found') if @data.nil?
|
17
17
|
end
|
18
18
|
|
@@ -31,7 +31,7 @@ module Targit
|
|
31
31
|
|
32
32
|
def _create_options
|
33
33
|
opts = {}
|
34
|
-
opts[:name] = @options[:create] if @options[:create].
|
34
|
+
opts[:name] = @options[:create] if @options[:create].is_a? String
|
35
35
|
[:prerelease, :target_commitish].each_with_object(opts) do |option, hash|
|
36
36
|
hash[option] = @options[option] if @options[option]
|
37
37
|
end
|
data/lib/targit/version.rb
CHANGED
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: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Les Aker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: octokit
|