gemsmith 2.3.0 → 2.4.0

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: 29b202cd45ea444fb39dc11cf3c4da09296a3095
4
- data.tar.gz: 9946e54a8555fd1007745a5d61bf625acbee1cc1
3
+ metadata.gz: fdd006f550a4e31a4ad659194efbbc64dfbae75f
4
+ data.tar.gz: 11738811bb63aec5ac10e81d7bd6c7284a6d439c
5
5
  SHA512:
6
- metadata.gz: 189e54f50da614284b0a36c915925cb625ce947248edea74f7e891632d90c212f7772956a6793598df246636b2aeab4fe26ac165174fc7f960ec95d083d3884c
7
- data.tar.gz: 87c432e6e0a7003f114cfd9abe8337735bbf3b0629373d3a05657023910b966fe18e6a1e0dff8caf312d64879c37483fbbfcfa2e6d0579fb77ec3ea7e872f16a
6
+ metadata.gz: e203671e5e4ce164bb32497fbb0d03675d5885906145ce092419fda66e7a06719e7eacb4b8b9fc8bc032ba08613ba2d9e997bcac8b55db393d251c2289d0b53c
7
+ data.tar.gz: 03fd924777d7102e15461a87c5a415d428163d38be510bd02b57218ef6e31610a1516266384344d4e9897243fef16beacabcb421922db26102b1f312e6749ef5
@@ -1,2 +1,2 @@
1
- �o'ݾ ����&�v��!䐞�j�-сc�+��5©�*�����U��S�j "���/���������;/�ċ�Lࠪ*�s��g���]�U�N�g����A��ŝ��#C�֏�قD/��y�k��{:��b<���O@S�Z��uƚ�&�R]��]�3��'�=�P�uˏ��+���_�2u{L��(H��$9:���7�^�|w��ٌ�8�$Mg��P�-9=��Ѝ��
2
- ��2鱗5�e�g��Lä�
1
+ G,'
2
+ cQ�I
data.tar.gz.sig CHANGED
Binary file
data/README.md CHANGED
@@ -24,10 +24,13 @@ gem. Gemsmith is essentially an enhanced version of Bundler's gem building capab
24
24
 
25
25
  # Requirements
26
26
 
27
- 1. A UNIX-based system.
28
- 2. [Ruby 2.x.x](http://www.ruby-lang.org).
29
- 3. [RubyGems](http://rubygems.org).
30
- 4. [Bundler](https://github.com/carlhuda/bundler).
27
+ 0. A UNIX-based system.
28
+ 0. Any of the following Ruby VMs:
29
+ * [MRI 2.x.x](http://www.ruby-lang.org)
30
+ * [JRuby 1.x.x](http://jruby.org)
31
+ * [Rubinius 2.x.x](http://rubini.us)
32
+ 0. [RubyGems](http://rubygems.org).
33
+ 0. [Bundler](https://github.com/carlhuda/bundler).
31
34
 
32
35
  # Setup
33
36
 
@@ -74,7 +74,7 @@ module Gemsmith
74
74
  desc "-e, [edit]", "Edit gem in default editor (assumes $EDITOR environment variable)."
75
75
  map %w(-e --edit) => :edit
76
76
  def edit
77
- `$EDITOR #{@settings_file}`
77
+ `#{editor} #{@settings_file}`
78
78
  end
79
79
 
80
80
  desc "-v, [--version]", "Show version."
@@ -1,5 +1,11 @@
1
1
  module Gemsmith
2
2
  module CLIHelpers
3
+ # Answers default editor.
4
+ # NOTE: This will be replaced by the Thor+ gem in the future.
5
+ def editor
6
+ ENV["EDITOR"]
7
+ end
8
+
3
9
  # Answers the gem name (snake case).
4
10
  # ==== Parameters
5
11
  # * +name+ - Optional. The gem name. Default: nil
@@ -59,7 +65,7 @@ module Gemsmith
59
65
  # ===== Parameters
60
66
  # * +spec+ - Required. The gem specification.
61
67
  def open_gem spec
62
- `#{$EDITOR} #{spec.full_gem_path}` if spec
68
+ `#{editor} #{spec.full_gem_path}` if spec
63
69
  end
64
70
 
65
71
  # Opens selected gem within default browser.
@@ -34,9 +34,12 @@ Gem::Specification.new do |s|
34
34
  <%- if config[:pry] -%>
35
35
  s.add_development_dependency "pry"
36
36
  s.add_development_dependency "pry-byebug"
37
+ s.add_development_dependency "pry-remote"
37
38
  s.add_development_dependency "pry-rescue"
38
39
  s.add_development_dependency "pry-stack_explorer"
39
40
  s.add_development_dependency "pry-vterm_aliases"
41
+ s.add_development_dependency "pry-git"
42
+ s.add_development_dependency "pry-doc"
40
43
  <%- end -%>
41
44
  <%- if config[:rspec] -%>
42
45
  <%- rspec_gem = config[:rails] ? "rspec-rails" : "rspec" -%>
@@ -1,3 +1,3 @@
1
1
  module Gemsmith
2
- VERSION = "2.3.0"
2
+ VERSION = "2.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemsmith
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brooke Kuhlmann
@@ -30,52 +30,24 @@ cert_chain:
30
30
  SJpzzzZ8gO6BKn4fhd+ENNQ333Qy3nuNk07TVIaNnlgeHhowUDuD9T7Z8Lka0pt3
31
31
  4PteiTppsf0SSVAM9zSO5IuFngXMRwWgvjOfXE70f43RDuUVTCSyylc=
32
32
  -----END CERTIFICATE-----
33
- date: 2014-01-26 00:00:00.000000000 Z
33
+ date: 2014-02-16 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
- name: thor
37
- requirement: !ruby/object:Gem::Requirement
38
- requirements:
39
- - - "~>"
40
- - !ruby/object:Gem::Version
41
- version: '0.18'
42
- type: :runtime
43
- prerelease: false
44
- version_requirements: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - "~>"
47
- - !ruby/object:Gem::Version
48
- version: '0.18'
49
- - !ruby/object:Gem::Dependency
50
- name: thor_plus
51
- requirement: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - "~>"
54
- - !ruby/object:Gem::Version
55
- version: '1.0'
56
- type: :runtime
57
- prerelease: false
58
- version_requirements: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '1.0'
63
- - !ruby/object:Gem::Dependency
64
- name: rake
36
+ name: pry-byebug
65
37
  requirement: !ruby/object:Gem::Requirement
66
38
  requirements:
67
- - - "~>"
39
+ - - ">="
68
40
  - !ruby/object:Gem::Version
69
- version: '10.0'
41
+ version: '0'
70
42
  type: :development
71
43
  prerelease: false
72
44
  version_requirements: !ruby/object:Gem::Requirement
73
45
  requirements:
74
- - - "~>"
46
+ - - ">="
75
47
  - !ruby/object:Gem::Version
76
- version: '10.0'
48
+ version: '0'
77
49
  - !ruby/object:Gem::Dependency
78
- name: pry
50
+ name: pry-stack_explorer
79
51
  requirement: !ruby/object:Gem::Requirement
80
52
  requirements:
81
53
  - - ">="
@@ -89,49 +61,49 @@ dependencies:
89
61
  - !ruby/object:Gem::Version
90
62
  version: '0'
91
63
  - !ruby/object:Gem::Dependency
92
- name: pry-byebug
64
+ name: thor
93
65
  requirement: !ruby/object:Gem::Requirement
94
66
  requirements:
95
- - - ">="
67
+ - - "~>"
96
68
  - !ruby/object:Gem::Version
97
- version: '0'
98
- type: :development
69
+ version: '0.18'
70
+ type: :runtime
99
71
  prerelease: false
100
72
  version_requirements: !ruby/object:Gem::Requirement
101
73
  requirements:
102
- - - ">="
74
+ - - "~>"
103
75
  - !ruby/object:Gem::Version
104
- version: '0'
76
+ version: '0.18'
105
77
  - !ruby/object:Gem::Dependency
106
- name: pry-remote
78
+ name: thor_plus
107
79
  requirement: !ruby/object:Gem::Requirement
108
80
  requirements:
109
- - - ">="
81
+ - - "~>"
110
82
  - !ruby/object:Gem::Version
111
- version: '0'
112
- type: :development
83
+ version: '1.4'
84
+ type: :runtime
113
85
  prerelease: false
114
86
  version_requirements: !ruby/object:Gem::Requirement
115
87
  requirements:
116
- - - ">="
88
+ - - "~>"
117
89
  - !ruby/object:Gem::Version
118
- version: '0'
90
+ version: '1.4'
119
91
  - !ruby/object:Gem::Dependency
120
- name: pry-rescue
92
+ name: rake
121
93
  requirement: !ruby/object:Gem::Requirement
122
94
  requirements:
123
- - - ">="
95
+ - - "~>"
124
96
  - !ruby/object:Gem::Version
125
- version: '0'
97
+ version: '10.0'
126
98
  type: :development
127
99
  prerelease: false
128
100
  version_requirements: !ruby/object:Gem::Requirement
129
101
  requirements:
130
- - - ">="
102
+ - - "~>"
131
103
  - !ruby/object:Gem::Version
132
- version: '0'
104
+ version: '10.0'
133
105
  - !ruby/object:Gem::Dependency
134
- name: pry-stack_explorer
106
+ name: pry
135
107
  requirement: !ruby/object:Gem::Requirement
136
108
  requirements:
137
109
  - - ">="
@@ -145,7 +117,7 @@ dependencies:
145
117
  - !ruby/object:Gem::Version
146
118
  version: '0'
147
119
  - !ruby/object:Gem::Dependency
148
- name: pry-vterm_aliases
120
+ name: pry-remote
149
121
  requirement: !ruby/object:Gem::Requirement
150
122
  requirements:
151
123
  - - ">="
@@ -159,7 +131,7 @@ dependencies:
159
131
  - !ruby/object:Gem::Version
160
132
  version: '0'
161
133
  - !ruby/object:Gem::Dependency
162
- name: pry-git
134
+ name: pry-rescue
163
135
  requirement: !ruby/object:Gem::Requirement
164
136
  requirements:
165
137
  - - ">="
@@ -173,7 +145,7 @@ dependencies:
173
145
  - !ruby/object:Gem::Version
174
146
  version: '0'
175
147
  - !ruby/object:Gem::Dependency
176
- name: pry-doc
148
+ name: pry-vterm_aliases
177
149
  requirement: !ruby/object:Gem::Requirement
178
150
  requirements:
179
151
  - - ">="
@@ -292,9 +264,9 @@ require_paths:
292
264
  - lib
293
265
  required_ruby_version: !ruby/object:Gem::Requirement
294
266
  requirements:
295
- - - "~>"
267
+ - - ">="
296
268
  - !ruby/object:Gem::Version
297
- version: '2.0'
269
+ version: '0'
298
270
  required_rubygems_version: !ruby/object:Gem::Requirement
299
271
  requirements:
300
272
  - - ">="
@@ -302,9 +274,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
302
274
  version: '0'
303
275
  requirements: []
304
276
  rubyforge_project:
305
- rubygems_version: 2.2.1
277
+ rubygems_version: 2.2.2
306
278
  signing_key:
307
279
  specification_version: 4
308
280
  summary: Ruby gem skeleton generation for the professional gemsmith.
309
281
  test_files: []
310
- has_rdoc:
metadata.gz.sig CHANGED
@@ -1 +1,2 @@
1
- =zF,+uF�Y��r���_8��^��;��D��@�H`��u�GO^&,{�np{�%2�FC`�����r���`=Lo��ݹ!�t��Z�L�I7wv#1K>���*|,2G�l��͝{�V��-edm� Y�����b�h��8c�4:�œ!I���L �z(�Ѭj�c�h+2U%���3%UX��V�m���r�5�Y9\�i�S! u��b�Y�'0N���6.��\�z�MY�ŋrW廊���7�L
1
+ ��J��%����3���t���00/��ݝ�:���P�r����SUg���c;���T����kq~;/�p27u�Ϻ
2
+ uy�Τ�i�gM�|��o~uX�U�K!\>���(��i���ZL2�g�^��0D��=:�� ��A��s.�Y��L!�,*����&P�I��f�cy{l�Il�Y[����w��vN�ɘp͖,F��aס��_bySE򾶘A��ɚ�I�^���[@K��p�Y��9