gem_bootstrap 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ #### 0.2.7
2
+
3
+ - Use require instead require_relative
4
+
1
5
  #### 0.2.6
2
6
 
3
7
  - Remove dependency on output from `git` in the `*.gemspec` file
data/bin/gem_bootstrap CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- require_relative './../lib/gem_bootstrap'
2
+ require 'gem_bootstrap'
3
3
  if ARGV.empty?
4
4
  GemBootstrap::MainCLI.start(%w(usage))
5
5
  else
@@ -1,3 +1,3 @@
1
1
  module GemBootstrap
2
- VERSION = '0.2.6'
2
+ VERSION = '0.2.7'
3
3
  end
data/lib/gem_bootstrap.rb CHANGED
@@ -5,9 +5,9 @@ require 'active_support'
5
5
  require 'active_support/core_ext/object/blank'
6
6
  require 'active_support/core_ext/hash/keys'
7
7
  require 'active_support/core_ext/hash/indifferent_access'
8
- require_relative 'gem_bootstrap/version'
9
- require_relative 'gem_bootstrap/cli'
10
- require_relative 'gem_bootstrap/git_utils'
11
- require_relative 'gem_bootstrap/misc_utils'
12
- require_relative 'gem_bootstrap/gem_bootstrap'
8
+ require 'gem_bootstrap/version'
9
+ require 'gem_bootstrap/cli'
10
+ require 'gem_bootstrap/git_utils'
11
+ require 'gem_bootstrap/misc_utils'
12
+ require 'gem_bootstrap/gem_bootstrap'
13
13
  include GemBootstrap
data/test/test_helper.rb CHANGED
@@ -4,5 +4,5 @@ require 'minitest/pride'
4
4
  require 'minitest-spec-context'
5
5
  require 'pry'
6
6
  require 'awesome_print'
7
- require_relative '../lib/gem_bootstrap'
7
+ require 'gem_bootstrap'
8
8
  include GemBootstrap
metadata CHANGED
@@ -1,229 +1,244 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Burin Choomnuan
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2014-09-28 00:00:00.000000000 Z
12
+ date: 2014-09-30 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: activesupport-core-ext
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: 4.0.0.2
20
22
  type: :runtime
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: 4.0.0.2
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: grit
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - "~>"
35
+ - - ~>
32
36
  - !ruby/object:Gem::Version
33
37
  version: 2.5.0
34
38
  type: :runtime
35
39
  prerelease: false
36
40
  version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
37
42
  requirements:
38
- - - "~>"
43
+ - - ~>
39
44
  - !ruby/object:Gem::Version
40
45
  version: 2.5.0
41
46
  - !ruby/object:Gem::Dependency
42
47
  name: thor
43
48
  requirement: !ruby/object:Gem::Requirement
49
+ none: false
44
50
  requirements:
45
- - - "~>"
51
+ - - ~>
46
52
  - !ruby/object:Gem::Version
47
53
  version: 0.19.1
48
54
  type: :runtime
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
51
58
  requirements:
52
- - - "~>"
59
+ - - ~>
53
60
  - !ruby/object:Gem::Version
54
61
  version: 0.19.1
55
62
  - !ruby/object:Gem::Dependency
56
63
  name: awesome_print
57
64
  requirement: !ruby/object:Gem::Requirement
65
+ none: false
58
66
  requirements:
59
- - - "~>"
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
69
  version: 1.2.0
62
70
  type: :development
63
71
  prerelease: false
64
72
  version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
65
74
  requirements:
66
- - - "~>"
75
+ - - ~>
67
76
  - !ruby/object:Gem::Version
68
77
  version: 1.2.0
69
78
  - !ruby/object:Gem::Dependency
70
79
  name: bundler
71
80
  requirement: !ruby/object:Gem::Requirement
81
+ none: false
72
82
  requirements:
73
- - - "~>"
83
+ - - ~>
74
84
  - !ruby/object:Gem::Version
75
85
  version: 1.7.3
76
86
  type: :development
77
87
  prerelease: false
78
88
  version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
79
90
  requirements:
80
- - - "~>"
91
+ - - ~>
81
92
  - !ruby/object:Gem::Version
82
93
  version: 1.7.3
83
94
  - !ruby/object:Gem::Dependency
84
95
  name: gem-ctags
85
96
  requirement: !ruby/object:Gem::Requirement
97
+ none: false
86
98
  requirements:
87
- - - "~>"
99
+ - - ~>
88
100
  - !ruby/object:Gem::Version
89
101
  version: 1.0.6
90
102
  type: :development
91
103
  prerelease: false
92
104
  version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
93
106
  requirements:
94
- - - "~>"
107
+ - - ~>
95
108
  - !ruby/object:Gem::Version
96
109
  version: 1.0.6
97
110
  - !ruby/object:Gem::Dependency
98
111
  name: guard
99
112
  requirement: !ruby/object:Gem::Requirement
113
+ none: false
100
114
  requirements:
101
- - - "~>"
115
+ - - ~>
102
116
  - !ruby/object:Gem::Version
103
117
  version: 2.6.1
104
118
  type: :development
105
119
  prerelease: false
106
120
  version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
107
122
  requirements:
108
- - - "~>"
123
+ - - ~>
109
124
  - !ruby/object:Gem::Version
110
125
  version: 2.6.1
111
126
  - !ruby/object:Gem::Dependency
112
127
  name: guard-minitest
113
128
  requirement: !ruby/object:Gem::Requirement
129
+ none: false
114
130
  requirements:
115
- - - "~>"
131
+ - - ~>
116
132
  - !ruby/object:Gem::Version
117
133
  version: 2.3.2
118
134
  type: :development
119
135
  prerelease: false
120
136
  version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
121
138
  requirements:
122
- - - "~>"
139
+ - - ~>
123
140
  - !ruby/object:Gem::Version
124
141
  version: 2.3.2
125
142
  - !ruby/object:Gem::Dependency
126
143
  name: minitest
127
144
  requirement: !ruby/object:Gem::Requirement
145
+ none: false
128
146
  requirements:
129
- - - "~>"
147
+ - - ~>
130
148
  - !ruby/object:Gem::Version
131
149
  version: 5.4.2
132
150
  type: :development
133
151
  prerelease: false
134
152
  version_requirements: !ruby/object:Gem::Requirement
153
+ none: false
135
154
  requirements:
136
- - - "~>"
155
+ - - ~>
137
156
  - !ruby/object:Gem::Version
138
157
  version: 5.4.2
139
158
  - !ruby/object:Gem::Dependency
140
159
  name: minitest-spec-context
141
160
  requirement: !ruby/object:Gem::Requirement
161
+ none: false
142
162
  requirements:
143
- - - "~>"
163
+ - - ~>
144
164
  - !ruby/object:Gem::Version
145
165
  version: 0.0.3
146
166
  type: :development
147
167
  prerelease: false
148
168
  version_requirements: !ruby/object:Gem::Requirement
169
+ none: false
149
170
  requirements:
150
- - - "~>"
171
+ - - ~>
151
172
  - !ruby/object:Gem::Version
152
173
  version: 0.0.3
153
174
  - !ruby/object:Gem::Dependency
154
175
  name: pry
155
176
  requirement: !ruby/object:Gem::Requirement
177
+ none: false
156
178
  requirements:
157
- - - "~>"
179
+ - - ~>
158
180
  - !ruby/object:Gem::Version
159
181
  version: 0.10.1
160
182
  type: :development
161
183
  prerelease: false
162
184
  version_requirements: !ruby/object:Gem::Requirement
185
+ none: false
163
186
  requirements:
164
- - - "~>"
187
+ - - ~>
165
188
  - !ruby/object:Gem::Version
166
189
  version: 0.10.1
167
- - !ruby/object:Gem::Dependency
168
- name: pry-byebug
169
- requirement: !ruby/object:Gem::Requirement
170
- requirements:
171
- - - "~>"
172
- - !ruby/object:Gem::Version
173
- version: 2.0.0
174
- type: :development
175
- prerelease: false
176
- version_requirements: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - "~>"
179
- - !ruby/object:Gem::Version
180
- version: 2.0.0
181
190
  - !ruby/object:Gem::Dependency
182
191
  name: rake
183
192
  requirement: !ruby/object:Gem::Requirement
193
+ none: false
184
194
  requirements:
185
- - - "~>"
195
+ - - ~>
186
196
  - !ruby/object:Gem::Version
187
197
  version: 10.3.2
188
198
  type: :development
189
199
  prerelease: false
190
200
  version_requirements: !ruby/object:Gem::Requirement
201
+ none: false
191
202
  requirements:
192
- - - "~>"
203
+ - - ~>
193
204
  - !ruby/object:Gem::Version
194
205
  version: 10.3.2
195
206
  - !ruby/object:Gem::Dependency
196
207
  name: rubocop
197
208
  requirement: !ruby/object:Gem::Requirement
209
+ none: false
198
210
  requirements:
199
- - - "~>"
211
+ - - ~>
200
212
  - !ruby/object:Gem::Version
201
213
  version: 0.26.1
202
214
  type: :development
203
215
  prerelease: false
204
216
  version_requirements: !ruby/object:Gem::Requirement
217
+ none: false
205
218
  requirements:
206
- - - "~>"
219
+ - - ~>
207
220
  - !ruby/object:Gem::Version
208
221
  version: 0.26.1
209
222
  - !ruby/object:Gem::Dependency
210
223
  name: yard
211
224
  requirement: !ruby/object:Gem::Requirement
225
+ none: false
212
226
  requirements:
213
- - - "~>"
227
+ - - ~>
214
228
  - !ruby/object:Gem::Version
215
229
  version: 0.8.7
216
230
  type: :development
217
231
  prerelease: false
218
232
  version_requirements: !ruby/object:Gem::Requirement
233
+ none: false
219
234
  requirements:
220
- - - "~>"
235
+ - - ~>
221
236
  - !ruby/object:Gem::Version
222
237
  version: 0.8.7
223
- description: |-
224
- Bootstrap the creation of ruby gem so that you don't have to start from scratch.
225
- Build with simple, sensible default and very easy to extend.
226
- TL;DR; create new gem with `gem_bootstrap awesome_gem -g github_id -e your@email.com -a 'John Guru'`
238
+ description: ! "Bootstrap the creation of ruby gem so that you don't have to start
239
+ from scratch.\n Build with simple, sensible default and very
240
+ easy to extend.\n TL;DR; create new gem with `gem_bootstrap
241
+ awesome_gem -g github_id -e your@email.com -a 'John Guru'`"
227
242
  email:
228
243
  - agilecreativity@gmail.com
229
244
  executables:
@@ -231,21 +246,13 @@ executables:
231
246
  extensions: []
232
247
  extra_rdoc_files: []
233
248
  files:
234
- - ".gitignore"
235
- - ".rubocop.yml"
236
- - CHANGELOG.md
237
- - Gemfile
238
- - LICENSE
239
- - README.md
240
- - Rakefile
241
249
  - bin/gem_bootstrap
242
- - gem_bootstrap.gemspec
243
- - lib/gem_bootstrap.rb
244
250
  - lib/gem_bootstrap/cli.rb
245
251
  - lib/gem_bootstrap/gem_bootstrap.rb
246
252
  - lib/gem_bootstrap/git_utils.rb
247
253
  - lib/gem_bootstrap/misc_utils.rb
248
254
  - lib/gem_bootstrap/version.rb
255
+ - lib/gem_bootstrap.rb
249
256
  - templates/CHANGELOG.md
250
257
  - templates/GNU_LICENSE
251
258
  - templates/Gemfile
@@ -259,41 +266,50 @@ files:
259
266
  - templates/dot_gitignore
260
267
  - templates/dot_rubocop.yml
261
268
  - templates/dot_yardopts
262
- - templates/lib/newgem.rb
263
269
  - templates/lib/newgem/cli.rb
264
270
  - templates/lib/newgem/newgem.rb
265
271
  - templates/lib/newgem/version.rb
272
+ - templates/lib/newgem.rb
266
273
  - templates/newgem-minitest.gemspec.tt
267
274
  - templates/newgem-rspec.gemspec.tt
268
275
  - templates/spec/lib/newgem/newgem_spec.rb
269
276
  - templates/spec/spec_helper.rb
270
277
  - templates/test/lib/newgem/test_newgem.rb
271
278
  - templates/test/test_helper.rb
279
+ - Gemfile
280
+ - Rakefile
281
+ - gem_bootstrap.gemspec
282
+ - README.md
283
+ - CHANGELOG.md
284
+ - LICENSE
285
+ - .rubocop.yml
286
+ - .gitignore
272
287
  - test/lib/gem_bootstrap/test_gem_bootstrap.rb
273
288
  - test/test_helper.rb
274
289
  homepage: https://github.com/agilecreativity/gem_bootstrap
275
290
  licenses:
276
291
  - MIT
277
- metadata: {}
278
292
  post_install_message:
279
293
  rdoc_options: []
280
294
  require_paths:
281
295
  - lib
282
296
  required_ruby_version: !ruby/object:Gem::Requirement
297
+ none: false
283
298
  requirements:
284
- - - ">="
299
+ - - ! '>='
285
300
  - !ruby/object:Gem::Version
286
301
  version: 1.9.3
287
302
  required_rubygems_version: !ruby/object:Gem::Requirement
303
+ none: false
288
304
  requirements:
289
- - - ">="
305
+ - - ! '>='
290
306
  - !ruby/object:Gem::Version
291
307
  version: '0'
292
308
  requirements: []
293
309
  rubyforge_project:
294
- rubygems_version: 2.2.2
310
+ rubygems_version: 1.8.23.2
295
311
  signing_key:
296
- specification_version: 4
312
+ specification_version: 3
297
313
  summary: Bootstrap the creation of ruby gem so that you don't have to start from scratch
298
314
  test_files:
299
315
  - test/lib/gem_bootstrap/test_gem_bootstrap.rb
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: 2471860cb338a977d05107438858b14e7ec38120
4
- data.tar.gz: 6e8bdd16cd1c1e5bc6ba493324bb35fe0dd15832
5
- SHA512:
6
- metadata.gz: fd1e5687799ca4880c78525814a2055fb2f4abce275994ec01edcb68b6193fab9cd4538a30474e5c053d211659fcfe4518c58bebd6171c5bd3b95396f244071f
7
- data.tar.gz: 794b66bd3440c7e769a6aad2b1f4467da9e564886f3af06ea4aab7cda5444e630784a787ab7a8ca3ab00eeda09e50c3cda0fd772643ec347ee9cf20179b525ac