juwelier 2.2.1 → 2.2.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 +5 -0
- data/Gemfile +1 -0
- data/README.org +14 -5
- data/juwelier.gemspec +6 -3
- data/lib/juwelier/generator.rb +12 -2
- data/lib/juwelier/generator/options.rb +6 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55c0db54601032c44d6889bf575a8e937fee2b43
|
4
|
+
data.tar.gz: 14bd43f9654dbbd5db3df9ecf7d317c91a5f3eee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2259ba4bf27e6144e1b6011704b0e647d84cc175f61ad3b0dbc7d95801a6f0e715522a19fe10b0df9c7d3c318cbf79bf63371537ae2d939d01897ae200eaa614
|
7
|
+
data.tar.gz: bbcf186de7802cf2e093b0d2bdb1b6cc508138ab7e04d2db710d59cf82689a9c927d7298549a8965d4e7e077e0a5bbb3a81593d492fa73e4a93bc44dd1385329
|
data/.semver
CHANGED
data/ChangeLog.markdown
CHANGED
data/Gemfile
CHANGED
data/README.org
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
[[https://travis-ci.org/flajann2/juwelier][[[https://travis-ci.org/flajann2/juwelier.png]]]]
|
15
15
|
[[https://coveralls.io/r/flajann2/juwelier][[[https://coveralls.io/repos/flajann2/juwelier/badge.png]]]]
|
16
|
-
[[https://www.versioneye.com/ruby/juwelier/2.2.1][[[https://www.versioneye.com/ruby/juwelier/2.2.1/badge.png]]]]
|
16
|
+
[[https://www.versioneye.com/ruby/juwelier/2.2.1][[[https://www.versioneye.com/ruby/juwelier/2.2.1/badge.png]]]]
|
17
17
|
|
18
18
|
(NOTE: If you see the aboved lines malformed, it is because of a bug in the formatting tool, not
|
19
19
|
in the Orgmode syntax, which is as specified.)
|
@@ -42,6 +42,13 @@
|
|
42
42
|
|
43
43
|
As you know, "Juwelier" is "Jeweler" in German. Since I have made
|
44
44
|
Germany my new home, it only seemed approporiate.
|
45
|
+
** Hot Ideas
|
46
|
+
*** Merging Jeweler and Juwelier
|
47
|
+
This just occured to me -- we simply use metaprorgamming to use "Jeweler"
|
48
|
+
or "Juwelier" in the generated code. All else would be the same. So the
|
49
|
+
name of the script that ran would be captured and encoded by the script
|
50
|
+
itself, and then used throughout the generation. That way, all can
|
51
|
+
be happy.
|
45
52
|
|
46
53
|
** Hello, world
|
47
54
|
|
@@ -360,10 +367,12 @@ The Juwelier Rake means you can define your own namespaces, tasks, or
|
|
360
367
|
use third party Rake libraries without cause for concern.
|
361
368
|
|
362
369
|
** Release Notes
|
363
|
-
| Version | Date | Notes
|
364
|
-
|
365
|
-
| 2.2.
|
366
|
-
| 2.
|
370
|
+
| Version | Date | Notes |
|
371
|
+
|---------+------------+-------------------------------------------------------------------------------------------------------------|
|
372
|
+
| 2.2.3 | 2016-11-21 | Psych bug fixed |
|
373
|
+
| 2.2.2 | 2016-11-19 | Added support for pry -- includes pry, pry-byebug, pry-doc, pry-remote, pry-rescue. and pry-stack_explorer. |
|
374
|
+
| 2.2.0 | 2016-11-19 | Bugs with --semver fixed, new options for using .org and .markdown for README |
|
375
|
+
| 2.1.3 | 2016-11-19 | Problems with --semver, --required-version |
|
367
376
|
|
368
377
|
** Known Issues
|
369
378
|
| Date | Issue |
|
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.2.
|
5
|
+
# stub: juwelier 2.2.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "juwelier".freeze
|
9
|
-
s.version = "2.2.
|
9
|
+
s.version = "2.2.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Fred Mitchell".freeze, "Josh Nichols".freeze, "Yusuke Murata".freeze]
|
14
|
-
s.date = "2016-11-
|
14
|
+
s.date = "2016-11-21"
|
15
15
|
s.description = "Simple and opinionated helper for creating Rubygem projects on GitHub".freeze
|
16
16
|
s.email = ["fred.mitchell@gmx.de".freeze, "fred.mitchell@gmx.com".freeze, "info@muratayusuke.com".freeze]
|
17
17
|
s.executables = ["juwelier".freeze]
|
@@ -210,6 +210,7 @@ Gem::Specification.new do |s|
|
|
210
210
|
s.add_runtime_dependency(%q<rdoc>.freeze, [">= 0"])
|
211
211
|
s.add_runtime_dependency(%q<builder>.freeze, [">= 0"])
|
212
212
|
s.add_runtime_dependency(%q<semver>.freeze, [">= 0"])
|
213
|
+
s.add_runtime_dependency(%q<psych>.freeze, ["~> 2.2"])
|
213
214
|
s.add_development_dependency(%q<yard>.freeze, [">= 0.8.5"])
|
214
215
|
s.add_development_dependency(%q<bluecloth>.freeze, [">= 0"])
|
215
216
|
s.add_development_dependency(%q<cucumber>.freeze, [">= 1.1.4"])
|
@@ -224,6 +225,7 @@ Gem::Specification.new do |s|
|
|
224
225
|
s.add_dependency(%q<rdoc>.freeze, [">= 0"])
|
225
226
|
s.add_dependency(%q<builder>.freeze, [">= 0"])
|
226
227
|
s.add_dependency(%q<semver>.freeze, [">= 0"])
|
228
|
+
s.add_dependency(%q<psych>.freeze, ["~> 2.2"])
|
227
229
|
s.add_dependency(%q<yard>.freeze, [">= 0.8.5"])
|
228
230
|
s.add_dependency(%q<bluecloth>.freeze, [">= 0"])
|
229
231
|
s.add_dependency(%q<cucumber>.freeze, [">= 1.1.4"])
|
@@ -239,6 +241,7 @@ Gem::Specification.new do |s|
|
|
239
241
|
s.add_dependency(%q<rdoc>.freeze, [">= 0"])
|
240
242
|
s.add_dependency(%q<builder>.freeze, [">= 0"])
|
241
243
|
s.add_dependency(%q<semver>.freeze, [">= 0"])
|
244
|
+
s.add_dependency(%q<psych>.freeze, ["~> 2.2"])
|
242
245
|
s.add_dependency(%q<yard>.freeze, [">= 0.8.5"])
|
243
246
|
s.add_dependency(%q<bluecloth>.freeze, [">= 0"])
|
244
247
|
s.add_dependency(%q<cucumber>.freeze, [">= 1.1.4"])
|
data/lib/juwelier/generator.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
# coding: utf-8
|
1
2
|
require 'git'
|
2
3
|
require 'github_api'
|
3
4
|
require 'highline/import'
|
@@ -55,7 +56,7 @@ class Juwelier
|
|
55
56
|
:should_setup_rubyforge, :should_use_reek, :should_use_roodi,
|
56
57
|
:development_dependencies, :production_dependencies,
|
57
58
|
:options, :require_ruby_version, :should_create_bin,
|
58
|
-
:git_remote, :use_readme_format
|
59
|
+
:git_remote, :use_readme_format, :should_use_pry
|
59
60
|
|
60
61
|
def initialize(options = {})
|
61
62
|
self.options = options
|
@@ -105,6 +106,7 @@ class Juwelier
|
|
105
106
|
self.should_use_semver = options[:use_semver]
|
106
107
|
self.require_ruby_version = options[:use_required_version]
|
107
108
|
self.should_create_bin = options[:create_bin]
|
109
|
+
self.should_use_pry = options[:use_pry]
|
108
110
|
self.use_readme_format = options[:readme_format]
|
109
111
|
|
110
112
|
development_dependencies << ["cucumber", ">= 0"] if should_use_cucumber
|
@@ -112,10 +114,18 @@ class Juwelier
|
|
112
114
|
development_dependencies << ["bundler", "~> 1.0"]
|
113
115
|
development_dependencies << ["juwelier", "~> #{Juwelier::Version::STRING}"]
|
114
116
|
development_dependencies << ["simplecov", ">= 0"]
|
115
|
-
|
117
|
+
|
116
118
|
development_dependencies << ["reek", "~> 1.2.8"] if should_use_reek
|
117
119
|
development_dependencies << ["roodi", "~> 2.1.0"] if should_use_roodi
|
118
120
|
|
121
|
+
development_dependencies <<
|
122
|
+
["pry", "~> 0"] <<
|
123
|
+
["pry-byebug", "~> 3"] <<
|
124
|
+
["pry-doc", "~> 0"] <<
|
125
|
+
["pry-remote", "~> 0"] <<
|
126
|
+
["pry-rescue", "~> 1"] <<
|
127
|
+
["pry-stack_explorer", "~> 0"] if should_use_pry
|
128
|
+
|
119
129
|
production_dependencies << ["semver", "~> 1.0.1"] if should_use_semver
|
120
130
|
|
121
131
|
self.user_name = options[:user_name]
|
@@ -133,7 +133,6 @@ class Juwelier
|
|
133
133
|
self[:create_repo] = true
|
134
134
|
end
|
135
135
|
|
136
|
-
|
137
136
|
o.separator ""
|
138
137
|
|
139
138
|
o.on('--yard', 'use yard for documentation') do
|
@@ -144,6 +143,8 @@ class Juwelier
|
|
144
143
|
self[:documentation_framework] = :rdoc
|
145
144
|
end
|
146
145
|
|
146
|
+
o.separator ""
|
147
|
+
|
147
148
|
o.on('--org', 'use Orgmode for the readme') do
|
148
149
|
self[:readme_format] = :org
|
149
150
|
end
|
@@ -156,6 +157,10 @@ class Juwelier
|
|
156
157
|
self[:show_version] = true
|
157
158
|
end
|
158
159
|
|
160
|
+
o.on('--pry', 'set up pry debug suite') do
|
161
|
+
self[:use_pry] = true
|
162
|
+
end
|
163
|
+
|
159
164
|
o.on_tail('-h', '--help', 'display this help and exit') do
|
160
165
|
self[:show_help] = true
|
161
166
|
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.2.
|
4
|
+
version: 2.2.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-11-
|
13
|
+
date: 2016-11-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rake
|
@@ -138,6 +138,20 @@ dependencies:
|
|
138
138
|
- - ">="
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: psych
|
143
|
+
requirement: !ruby/object:Gem::Requirement
|
144
|
+
requirements:
|
145
|
+
- - "~>"
|
146
|
+
- !ruby/object:Gem::Version
|
147
|
+
version: '2.2'
|
148
|
+
type: :runtime
|
149
|
+
prerelease: false
|
150
|
+
version_requirements: !ruby/object:Gem::Requirement
|
151
|
+
requirements:
|
152
|
+
- - "~>"
|
153
|
+
- !ruby/object:Gem::Version
|
154
|
+
version: '2.2'
|
141
155
|
- !ruby/object:Gem::Dependency
|
142
156
|
name: yard
|
143
157
|
requirement: !ruby/object:Gem::Requirement
|