juwelier 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.semver +1 -1
- data/ChangeLog.markdown +4 -0
- data/Gemfile +1 -8
- data/Rakefile +1 -0
- data/juwelier.gemspec +6 -6
- data/lib/juwelier/specification.rb +19 -7
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c8879502d283b92e5f3cdcef8120a242254c0b1
|
4
|
+
data.tar.gz: 1d31e2ea36636578a10d962279e1582d2fd4097c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34a8c52873c04de22e072e803fba7e1737389e37c32e22f0bd506fefea80d737917d1236ccf81fa2dd3642a2e1314bf66013ad2c364ab690f0095c67044c73d4
|
7
|
+
data.tar.gz: 45650272fdb367245558a4a5b5496ab508486c3da89e602dd568258d87f14b0d1f5644725aff4a851aeabbae41788e91b91b13b6e93626516340efb116e0fb27
|
data/.semver
CHANGED
data/ChangeLog.markdown
CHANGED
data/Gemfile
CHANGED
@@ -5,7 +5,7 @@ gem "git", ">= 1.2.5"
|
|
5
5
|
gem "nokogiri", ">= 1.5.10"
|
6
6
|
gem "github_api"
|
7
7
|
gem "highline", ">= 1.6.15"
|
8
|
-
gem "bundler", ">= 1.
|
8
|
+
gem "bundler", ">= 1.13"
|
9
9
|
gem "rdoc"
|
10
10
|
gem "builder"
|
11
11
|
gem "semver"
|
@@ -29,13 +29,6 @@ group :test do
|
|
29
29
|
gem 'coveralls', :require => false
|
30
30
|
end
|
31
31
|
|
32
|
-
# yo dawg, i herd u lieked juwelier
|
33
|
-
group :xzibit do
|
34
|
-
# steal a page from bundler's gemspec:
|
35
|
-
# add this directory as juwelier, in order to bundle exec juwelier and use the current working directory
|
36
|
-
gem 'juwelier', :path => '.'
|
37
|
-
end
|
38
|
-
|
39
32
|
group :debug do
|
40
33
|
gem 'test-unit'
|
41
34
|
end
|
data/Rakefile
CHANGED
data/juwelier.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: juwelier 2.1.
|
5
|
+
# stub: juwelier 2.1.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "juwelier"
|
9
|
-
s.version = "2.1.
|
9
|
+
s.version = "2.1.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Fred Mitchell", "Josh Nichols", "Yusuke Murata"]
|
14
|
-
s.date = "2016-
|
14
|
+
s.date = "2016-10-22"
|
15
15
|
s.description = "Simple and opinionated helper for creating Rubygem projects on GitHub"
|
16
16
|
s.email = ["fred.mitchell@gmx.de", "fred.mitchell@gmx.com", "info@muratayusuke.com"]
|
17
17
|
s.executables = ["juwelier"]
|
@@ -200,7 +200,7 @@ Gem::Specification.new do |s|
|
|
200
200
|
s.add_runtime_dependency(%q<nokogiri>, [">= 1.5.10"])
|
201
201
|
s.add_runtime_dependency(%q<github_api>, [">= 0"])
|
202
202
|
s.add_runtime_dependency(%q<highline>, [">= 1.6.15"])
|
203
|
-
s.add_runtime_dependency(%q<bundler>, [">= 1.
|
203
|
+
s.add_runtime_dependency(%q<bundler>, [">= 1.13"])
|
204
204
|
s.add_runtime_dependency(%q<rdoc>, [">= 0"])
|
205
205
|
s.add_runtime_dependency(%q<builder>, [">= 0"])
|
206
206
|
s.add_runtime_dependency(%q<semver>, [">= 0"])
|
@@ -214,7 +214,7 @@ Gem::Specification.new do |s|
|
|
214
214
|
s.add_dependency(%q<nokogiri>, [">= 1.5.10"])
|
215
215
|
s.add_dependency(%q<github_api>, [">= 0"])
|
216
216
|
s.add_dependency(%q<highline>, [">= 1.6.15"])
|
217
|
-
s.add_dependency(%q<bundler>, [">= 1.
|
217
|
+
s.add_dependency(%q<bundler>, [">= 1.13"])
|
218
218
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
219
219
|
s.add_dependency(%q<builder>, [">= 0"])
|
220
220
|
s.add_dependency(%q<semver>, [">= 0"])
|
@@ -229,7 +229,7 @@ Gem::Specification.new do |s|
|
|
229
229
|
s.add_dependency(%q<nokogiri>, [">= 1.5.10"])
|
230
230
|
s.add_dependency(%q<github_api>, [">= 0"])
|
231
231
|
s.add_dependency(%q<highline>, [">= 1.6.15"])
|
232
|
-
s.add_dependency(%q<bundler>, [">= 1.
|
232
|
+
s.add_dependency(%q<bundler>, [">= 1.13"])
|
233
233
|
s.add_dependency(%q<rdoc>, [">= 0"])
|
234
234
|
s.add_dependency(%q<builder>, [">= 0"])
|
235
235
|
s.add_dependency(%q<semver>, [">= 0"])
|
@@ -69,12 +69,12 @@ class Juwelier
|
|
69
69
|
|
70
70
|
if File.exist?('Gemfile')
|
71
71
|
require 'bundler'
|
72
|
-
|
73
|
-
|
74
|
-
|
72
|
+
bundler_runtime = Bundler.load
|
73
|
+
bundler_dependencies_for(bundler_runtime, :default, :runtime).each do |dependency|
|
74
|
+
add_dependency dependency.name, *dependency.requirement.as_list
|
75
75
|
end
|
76
|
-
|
77
|
-
|
76
|
+
bundler_dependencies_for(bundler_runtime, :development).each do |dependency|
|
77
|
+
add_development_dependency dependency.name, *dependency.requirement.as_list
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
@@ -89,8 +89,20 @@ class Juwelier
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
92
|
-
|
93
|
-
|
92
|
+
private
|
93
|
+
|
94
|
+
# Backported (or rather forward-ported) from Bunder::Runtime#dependencies_for.
|
95
|
+
# This method was available until Bundler 1.13, and then removed. We need it
|
96
|
+
# to be able to tell which gems are listed in the Gemfile without loading
|
97
|
+
# those gems first.
|
98
|
+
def bundler_dependencies_for(bundler_runtime, *groups)
|
99
|
+
if groups.empty?
|
100
|
+
bundler_runtime.dependencies
|
101
|
+
else
|
102
|
+
bundler_runtime.dependencies.select {|d| (groups & d.groups).any? }
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
94
106
|
def blank?(value)
|
95
107
|
value.nil? || value.empty?
|
96
108
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: juwelier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.
|
4
|
+
version: 2.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fred Mitchell
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-10-22 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -88,14 +88,14 @@ dependencies:
|
|
88
88
|
requirements:
|
89
89
|
- - ">="
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: '1.
|
91
|
+
version: '1.13'
|
92
92
|
type: :runtime
|
93
93
|
prerelease: false
|
94
94
|
version_requirements: !ruby/object:Gem::Requirement
|
95
95
|
requirements:
|
96
96
|
- - ">="
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version: '1.
|
98
|
+
version: '1.13'
|
99
99
|
- !ruby/object:Gem::Dependency
|
100
100
|
name: rdoc
|
101
101
|
requirement: !ruby/object:Gem::Requirement
|