gem_hadar 1.4.0 → 1.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -0
- data/VERSION +1 -1
- data/gem_hadar.gemspec +6 -5
- data/lib/gem_hadar/version.rb +1 -1
- data/lib/gem_hadar.rb +16 -9
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95ab98e5928dadd6a1cb74a4f73d50cf331064ae
|
4
|
+
data.tar.gz: 41b8d4ba4c6c0ca3d7540bce3a9f8bec2502cb44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 615ee3be6b468a201b85a76e414b87dab47348d307253d7476572ad7e6d1a20758c2ba0fbb85b6ada1bc1eda663725b8211aa8e99390152afbde1518a08b09bb
|
7
|
+
data.tar.gz: 1cb718a753f6f864dd38f205936001b1b94b141ddb536883b4752e31d997453ef87c86504841b9bc0979264cade865bf831072b942562e8319bf13f4f96121d9
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.4.
|
1
|
+
1.4.1
|
data/gem_hadar.gemspec
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# stub: gem_hadar 1.4.
|
2
|
+
# stub: gem_hadar 1.4.1 ruby lib
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "gem_hadar"
|
6
|
-
s.version = "1.4.
|
6
|
+
s.version = "1.4.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"]
|
@@ -14,6 +14,7 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.extra_rdoc_files = ["README.md", "lib/gem_hadar.rb", "lib/gem_hadar/version.rb"]
|
15
15
|
s.files = [".gitignore", "Gemfile", "LICENSE", "README.md", "Rakefile", "VERSION", "gem_hadar.gemspec", "lib/gem_hadar.rb", "lib/gem_hadar/version.rb"]
|
16
16
|
s.homepage = "http://github.com/flori/gem_hadar"
|
17
|
+
s.licenses = ["MIT"]
|
17
18
|
s.rdoc_options = ["--title", "GemHadar - Library for the development of Ruby Gems", "--main", "README.md"]
|
18
19
|
s.rubygems_version = "2.5.1"
|
19
20
|
s.summary = "Library for the development of Ruby Gems"
|
@@ -22,18 +23,18 @@ Gem::Specification.new do |s|
|
|
22
23
|
s.specification_version = 4
|
23
24
|
|
24
25
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
25
|
-
s.add_development_dependency(%q<gem_hadar>, ["~> 1.4.
|
26
|
+
s.add_development_dependency(%q<gem_hadar>, ["~> 1.4.1"])
|
26
27
|
s.add_runtime_dependency(%q<tins>, ["~> 1.0"])
|
27
28
|
s.add_runtime_dependency(%q<sdoc>, ["~> 0.3"])
|
28
29
|
s.add_runtime_dependency(%q<rake>, ["~> 10.0"])
|
29
30
|
else
|
30
|
-
s.add_dependency(%q<gem_hadar>, ["~> 1.4.
|
31
|
+
s.add_dependency(%q<gem_hadar>, ["~> 1.4.1"])
|
31
32
|
s.add_dependency(%q<tins>, ["~> 1.0"])
|
32
33
|
s.add_dependency(%q<sdoc>, ["~> 0.3"])
|
33
34
|
s.add_dependency(%q<rake>, ["~> 10.0"])
|
34
35
|
end
|
35
36
|
else
|
36
|
-
s.add_dependency(%q<gem_hadar>, ["~> 1.4.
|
37
|
+
s.add_dependency(%q<gem_hadar>, ["~> 1.4.1"])
|
37
38
|
s.add_dependency(%q<tins>, ["~> 1.0"])
|
38
39
|
s.add_dependency(%q<sdoc>, ["~> 0.3"])
|
39
40
|
s.add_dependency(%q<rake>, ["~> 10.0"])
|
data/lib/gem_hadar/version.rb
CHANGED
data/lib/gem_hadar.rb
CHANGED
@@ -482,24 +482,18 @@ EOT
|
|
482
482
|
|
483
483
|
def master_push_task
|
484
484
|
namespace :master do
|
485
|
-
desc "Push master to
|
485
|
+
desc "Push master to GIT_REMOTE=#{git_remote}"
|
486
486
|
task :push do
|
487
487
|
sh "git push #{git_remote} master"
|
488
488
|
end
|
489
489
|
end
|
490
490
|
end
|
491
491
|
|
492
|
-
def push_task
|
493
|
-
version_push_task
|
494
|
-
master_push_task
|
495
|
-
task :push => %i[ master:push version:push ]
|
496
|
-
end
|
497
|
-
|
498
492
|
def gem_push_task
|
499
493
|
namespace :gem do
|
500
494
|
path = "pkg/#{name_version}.gem"
|
501
495
|
desc "Push gem file #{File.basename(path)} to rubygems"
|
502
|
-
task :push do
|
496
|
+
task :push => :build do
|
503
497
|
if File.exist?(path)
|
504
498
|
if ask?("Do you really want to push #{path.inspect} to rubygems? "\
|
505
499
|
"(yes/NO) ", /\Ayes\z/i)
|
@@ -516,6 +510,20 @@ EOT
|
|
516
510
|
end
|
517
511
|
end
|
518
512
|
|
513
|
+
def push_task
|
514
|
+
version_push_task
|
515
|
+
master_push_task
|
516
|
+
gem_push_task
|
517
|
+
task :modified do
|
518
|
+
unless (files = `git status --porcelain`.gsub(/^\s*\S\s+/, '').lines).empty?
|
519
|
+
warn "There are still modified files:\n#{files * ''}"
|
520
|
+
exit 1
|
521
|
+
end
|
522
|
+
end
|
523
|
+
desc "Push master and version #{version} to GIT_REMOTE=#{git_remote}"
|
524
|
+
task :push => %i[ modified master:push version:push gem:push ]
|
525
|
+
end
|
526
|
+
|
519
527
|
def compile_task
|
520
528
|
for file in extensions
|
521
529
|
dir = File.dirname(file)
|
@@ -574,7 +582,6 @@ EOT
|
|
574
582
|
push_task
|
575
583
|
write_ignore_file
|
576
584
|
write_gemfile
|
577
|
-
gem_push_task
|
578
585
|
if extensions.full?
|
579
586
|
compile_task
|
580
587
|
task :prepare_install => :compile
|
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.4.
|
4
|
+
version: 1.4.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.4.
|
19
|
+
version: 1.4.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.4.
|
26
|
+
version: 1.4.1
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: tins
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -86,7 +86,8 @@ files:
|
|
86
86
|
- lib/gem_hadar.rb
|
87
87
|
- lib/gem_hadar/version.rb
|
88
88
|
homepage: http://github.com/flori/gem_hadar
|
89
|
-
licenses:
|
89
|
+
licenses:
|
90
|
+
- MIT
|
90
91
|
metadata: {}
|
91
92
|
post_install_message:
|
92
93
|
rdoc_options:
|