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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 19af2ea32800335ec574a2cba496297970ba1836
4
- data.tar.gz: 85bdb87b9de0e6a3d8237ba86361b26c6e43f1b5
3
+ metadata.gz: 4a9952f7205ab69e7bf5d70c28ee7eaf874453c9
4
+ data.tar.gz: db106ca208b04e4c232cd78667ce18e050d8812d
5
5
  SHA512:
6
- metadata.gz: 44988c05fe4d19f2b3b8c39cbc9d97346fd0f7021c70cd5015bdf77cbd860df5b15d396fb5c98dd4bb8d2d63d652aada8dacb6586bfb310a0b6731357e66609a
7
- data.tar.gz: 5fd748fd62ef61497e3ecc752aad7f0b0eb412ed13f13c019d0f4e567ead77d24e890e1c6c2956d4211e04723f266163aa78f46eac77aa22ef202ac5f81f3a19
6
+ metadata.gz: 934d5beaaba7f57eef0df268f3df86a7ac381a62c7b7328814390b50a611bc8261a71e439ec47e0f9eff511570051b8b39b63b8673293c8e9fd80646d4aa36d0
7
+ data.tar.gz: 7cacecaaa4dfa4edd7c6577420c6d2cbaf2a7a2e529e246bcfc1231ebb9212046d5c16265df10e93e62890fd416c158c2fbadce0830f998a8391cdfa2334ef93
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.6.0
1
+ 1.6.1
@@ -1,9 +1,9 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: gem_hadar 1.6.0 ruby lib
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.0"
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.0"])
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.0"])
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.0"])
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"])
@@ -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 ask?("Version tag #{version} already exists. Overwrite with "\
452
- "force? (yes/NO) ", /\Ayes\z/i)
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
- exit 1
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
@@ -1,6 +1,6 @@
1
1
  class GemHadar
2
2
  # GemHadar version
3
- VERSION = '1.6.0'
3
+ VERSION = '1.6.1'
4
4
  VERSION_ARRAY = VERSION.split('.').map(&:to_i) # :nodoc:
5
5
  VERSION_MAJOR = VERSION_ARRAY[0] # :nodoc:
6
6
  VERSION_MINOR = VERSION_ARRAY[1] # :nodoc:
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.0
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.0
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.0
26
+ version: 1.6.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: tins
29
29
  requirement: !ruby/object:Gem::Requirement