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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b968ee5780a8194cf756c5cda002f6c0e7456e19
4
- data.tar.gz: 0224647caa74d482a28d8398af1e979294837689
3
+ metadata.gz: 55c0db54601032c44d6889bf575a8e937fee2b43
4
+ data.tar.gz: 14bd43f9654dbbd5db3df9ecf7d317c91a5f3eee
5
5
  SHA512:
6
- metadata.gz: 56eda5bb651dc73bf49fa140f342b2f51e7ae0b0f17aeeb9b48c4cd317c539661d19b31aea34be7e9df428d3de837863a95058f9831da73a7de494000346a25a
7
- data.tar.gz: 3d28e368e1080c533279ed65ff542d3e9224fdcb6e50387fdaaa615dfbef882ae9da1140f6e70f32f71ab78b9671e7210af7cfbf4f0f0ac87b36a0cfbf7869f0
6
+ metadata.gz: 2259ba4bf27e6144e1b6011704b0e647d84cc175f61ad3b0dbc7d95801a6f0e715522a19fe10b0df9c7d3c318cbf79bf63371537ae2d939d01897ae200eaa614
7
+ data.tar.gz: bbcf186de7802cf2e093b0d2bdb1b6cc508138ab7e04d2db710d59cf82689a9c927d7298549a8965d4e7e077e0a5bbb3a81593d492fa73e4a93bc44dd1385329
data/.semver CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :major: 2
3
3
  :minor: 2
4
- :patch: 1
4
+ :patch: 3
5
5
  :special: ''
data/ChangeLog.markdown CHANGED
@@ -1,3 +1,8 @@
1
+ For the latest updates, please see README.org. There you will find the
2
+ changelog Release Notes, and Known Issues. This file will
3
+ no longer be used.
4
+
5
+
1
6
  # juwelier 2.1.3, 2016-10-22
2
7
  * Forward ported patches from Jewler 2.1.2
3
8
  * Updated dependencies
data/Gemfile CHANGED
@@ -9,6 +9,7 @@ gem "bundler", ">= 1.13"
9
9
  gem "rdoc"
10
10
  gem "builder"
11
11
  gem "semver"
12
+ gem "psych", "~> 2.2"
12
13
 
13
14
  group :development do
14
15
  gem "yard", ">= 0.8.5"
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]]]]1
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.0 | 2016-11-19 | Bugs with --semver fixed, new options for using .org and .markdown for README |
366
- | 2.1.3 | 2016-11-19 | Problems with --semver, --required-version |
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.1 ruby lib
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.1"
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-19"
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"])
@@ -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.1
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-19 00:00:00.000000000 Z
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