gem_hadar 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/gem_hadar.gemspec +5 -5
- data/lib/gem_hadar.rb +10 -6
- data/lib/gem_hadar/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a9952f7205ab69e7bf5d70c28ee7eaf874453c9
|
4
|
+
data.tar.gz: db106ca208b04e4c232cd78667ce18e050d8812d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 934d5beaaba7f57eef0df268f3df86a7ac381a62c7b7328814390b50a611bc8261a71e439ec47e0f9eff511570051b8b39b63b8673293c8e9fd80646d4aa36d0
|
7
|
+
data.tar.gz: 7cacecaaa4dfa4edd7c6577420c6d2cbaf2a7a2e529e246bcfc1231ebb9212046d5c16265df10e93e62890fd416c158c2fbadce0830f998a8391cdfa2334ef93
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.6.
|
1
|
+
1.6.1
|
data/gem_hadar.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: gem_hadar 1.6.
|
2
|
+
# stub: gem_hadar 1.6.1 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "gem_hadar"
|
6
|
-
s.version = "1.6.
|
6
|
+
s.version = "1.6.1"
|
7
7
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
9
9
|
s.require_paths = ["lib"]
|
@@ -23,18 +23,18 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.specification_version = 4
|
24
24
|
|
25
25
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
26
|
-
s.add_development_dependency(%q<gem_hadar>, ["~> 1.6.
|
26
|
+
s.add_development_dependency(%q<gem_hadar>, ["~> 1.6.1"])
|
27
27
|
s.add_runtime_dependency(%q<tins>, ["~> 1.0"])
|
28
28
|
s.add_runtime_dependency(%q<rake>, ["~> 10.0"])
|
29
29
|
s.add_runtime_dependency(%q<yard>, [">= 0"])
|
30
30
|
else
|
31
|
-
s.add_dependency(%q<gem_hadar>, ["~> 1.6.
|
31
|
+
s.add_dependency(%q<gem_hadar>, ["~> 1.6.1"])
|
32
32
|
s.add_dependency(%q<tins>, ["~> 1.0"])
|
33
33
|
s.add_dependency(%q<rake>, ["~> 10.0"])
|
34
34
|
s.add_dependency(%q<yard>, [">= 0"])
|
35
35
|
end
|
36
36
|
else
|
37
|
-
s.add_dependency(%q<gem_hadar>, ["~> 1.6.
|
37
|
+
s.add_dependency(%q<gem_hadar>, ["~> 1.6.1"])
|
38
38
|
s.add_dependency(%q<tins>, ["~> 1.0"])
|
39
39
|
s.add_dependency(%q<rake>, ["~> 10.0"])
|
40
40
|
s.add_dependency(%q<yard>, [">= 0"])
|
data/lib/gem_hadar.rb
CHANGED
@@ -448,12 +448,16 @@ EOT
|
|
448
448
|
begin
|
449
449
|
sh "git tag -a -m 'Version #{version}' #{'-f' if force} v#{version}"
|
450
450
|
rescue RuntimeError
|
451
|
-
if
|
452
|
-
|
453
|
-
force = true
|
454
|
-
retry
|
451
|
+
if `git diff v#{version}..HEAD`.empty?
|
452
|
+
puts "Version #{version} is already tagged, but it's no different"
|
455
453
|
else
|
456
|
-
|
454
|
+
if ask?("Different version tag #{version} already exists. Overwrite with "\
|
455
|
+
"force? (yes/NO) ", /\Ayes\z/i)
|
456
|
+
force = true
|
457
|
+
retry
|
458
|
+
else
|
459
|
+
exit 1
|
460
|
+
end
|
457
461
|
end
|
458
462
|
end
|
459
463
|
end
|
@@ -535,7 +539,7 @@ EOT
|
|
535
539
|
end
|
536
540
|
end
|
537
541
|
desc "Push master and version #{version} all git remotes: #{git_remotes * ' '}"
|
538
|
-
task :push => %i[ modified master:push version:push gem:push ]
|
542
|
+
task :push => %i[ modified build master:push version:push gem:push ]
|
539
543
|
end
|
540
544
|
|
541
545
|
def compile_task
|
data/lib/gem_hadar/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gem_hadar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Florian Frank
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.6.
|
19
|
+
version: 1.6.1
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.6.
|
26
|
+
version: 1.6.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: tins
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|