hoe-gemspec2 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data.tar.gz.sig ADDED
Binary file
data/CHANGELOG.rdoc ADDED
@@ -0,0 +1,9 @@
1
+ === 1.1.0 / 2011-01-02
2
+
3
+ * Rename to hoe-gemspec2
4
+
5
+ === 1.0.0 / 2011-01-02
6
+
7
+ * 1 major enhancement
8
+
9
+ * Birthday!
data/Manifest.txt ADDED
@@ -0,0 +1,5 @@
1
+ CHANGELOG.rdoc
2
+ Manifest.txt
3
+ README.rdoc
4
+ Rakefile
5
+ lib/hoe/gemspec2.rb
data/README.rdoc ADDED
@@ -0,0 +1,56 @@
1
+ = hoe-gemspec2
2
+
3
+ http://rubygems.org/gems/hoe-gemspec2
4
+
5
+ {Project}[http://rubygems.org/gems/hoe-gemspec2]
6
+ {Documentation}[http://libraggi.rubyforge.org/hoe-gemspec2/README_rdoc.html]
7
+ {Wiki}[http://wiki.github.com/raggi/hoe-gemspec2/]
8
+ {Source Code}[http://github.com/raggi/hoe-gemspec2/]
9
+ {Issues}[http://github.com/raggi/hoe-gemspec2/issues]
10
+ {Rubyforge}[http://rubyforge.org/projects/libraggi]
11
+
12
+ == DESCRIPTION:
13
+
14
+ Adds support for generation of gemspec files to Hoe.
15
+
16
+ == FEATURES/PROBLEMS:
17
+
18
+ * task: gemspec
19
+ * task: default enhanced with gemspec
20
+
21
+ == SYNOPSIS:
22
+
23
+ Hoe.plugin :gemspec2
24
+
25
+ == REQUIREMENTS:
26
+
27
+ * Hoe
28
+
29
+ == INSTALL:
30
+
31
+ * gem install hoe-gemspec2
32
+
33
+ == LICENSE:
34
+
35
+ (The MIT License)
36
+
37
+ Copyright (c) 2011 raggi (James Tucker)
38
+
39
+ Permission is hereby granted, free of charge, to any person obtaining
40
+ a copy of this software and associated documentation files (the
41
+ 'Software'), to deal in the Software without restriction, including
42
+ without limitation the rights to use, copy, modify, merge, publish,
43
+ distribute, sublicense, and/or sell copies of the Software, and to
44
+ permit persons to whom the Software is furnished to do so, subject to
45
+ the following conditions:
46
+
47
+ The above copyright notice and this permission notice shall be
48
+ included in all copies or substantial portions of the Software.
49
+
50
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
51
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
52
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
53
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
54
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
55
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
56
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env rake
2
+
3
+ require 'hoe'
4
+ Hoe.plugin :doofus, :git, :minitest, :gemspec2, :rubyforge
5
+
6
+ Hoe.spec 'hoe-gemspec2' do
7
+ developer 'raggi', 'raggi@rubyforge.org'
8
+
9
+ extra_deps << %w[hoe >=0]
10
+
11
+ extra_dev_deps << %w(hoe-doofus >=1.0)
12
+ extra_dev_deps << %w(hoe-seattlerb >=1.2)
13
+ extra_dev_deps << %w(hoe-git >=1.3)
14
+ extra_dev_deps << %w(hoe-gemspec2)
15
+
16
+ self.extra_rdoc_files = FileList["**/*.rdoc"]
17
+ self.history_file = "CHANGELOG.rdoc"
18
+ self.readme_file = "README.rdoc"
19
+ self.rubyforge_name = 'libraggi'
20
+ end
@@ -0,0 +1,22 @@
1
+ module Hoe::Gemspec2
2
+ VERSION = '1.1.0'
3
+
4
+ def define_gemspec2_tasks
5
+ gemspec = spec.name + '.gemspec'
6
+
7
+ with_config do |config, _|
8
+ unless config["exclude"] =~ '.gemspec'
9
+ warn "WARNING You should add .gemspec to your .hoerc exclude list"
10
+ end
11
+ end
12
+
13
+ file gemspec => %w[clobber Manifest.txt] + spec.files do
14
+ open(gemspec, 'w') { |f| f.write(spec.to_ruby) }
15
+ end
16
+
17
+ desc "Regenerate #{gemspec}"
18
+ task :gemspec => gemspec
19
+
20
+ task :default => gemspec
21
+ end
22
+ end
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hoe-gemspec2
3
+ version: !ruby/object:Gem::Version
4
+ hash: 19
5
+ prerelease:
6
+ segments:
7
+ - 1
8
+ - 1
9
+ - 0
10
+ version: 1.1.0
11
+ platform: ruby
12
+ authors:
13
+ - raggi
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain:
17
+ - |
18
+ -----BEGIN CERTIFICATE-----
19
+ MIIDNDCCAhygAwIBAgIBADANBgkqhkiG9w0BAQUFADBAMQ4wDAYDVQQDDAVyYWdn
20
+ aTEZMBcGCgmSJomT8ixkARkWCXJ1Ynlmb3JnZTETMBEGCgmSJomT8ixkARkWA29y
21
+ ZzAeFw0xMDEyMjIyMDIyMzlaFw0xMTEyMjIyMDIyMzlaMEAxDjAMBgNVBAMMBXJh
22
+ Z2dpMRkwFwYKCZImiZPyLGQBGRYJcnVieWZvcmdlMRMwEQYKCZImiZPyLGQBGRYD
23
+ b3JnMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvgeVrJxLGm2PgcrM
24
+ DoB5mgQVC8PMYzpzJ64+75DQ1BgHa6wIeAuRphLY9qQh+sTTvKbUHtdgkWGghRVf
25
+ GaRVmtFlDHRt6RHWBmxXhXmcywT6c1xeni+eC7p56/zSkZ2RFHaZ4BXC4+8lO56j
26
+ sAh7c+YTcY1xd7teRX6g98aIep4MLxQlbEY+DcdDvtCIAswUYNVY+Nw08goIEw5Q
27
+ Sjm4fjrFPBT0T6RsmkcI4ea78h993nrWPdIndgVniwBc/SxGuBUGrfm637yCXNwL
28
+ FUzVd0qsJcIeMhXS8ZTii04oWKcK+G2B7KZ8/+olu7TwJu5mom9ORRMlflrTxJxi
29
+ rd4TBQIDAQABozkwNzAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU
30
+ 2QvD5zSSmpVqxaJSYrFbamIWCn0wDQYJKoZIhvcNAQEFBQADggEBAHwCkRkMjr/h
31
+ oYjGvs3BdEDuEYvzpKgWr6xv0hjsklBZ096dOjm0tLNSdplpn5MALUw3Cqtgp1KK
32
+ EKEZgEi9fbhhyzhkQyoociuqLQQ0daZuigh2CESrznX1b8AawCLyB2bJ9blNylPi
33
+ GWGaAjsqPBtAP6LoQib2aS0YuK7kVWxUTlupQ2D3Af5ag6NY8pS/etpS4IMVQU5l
34
+ v9ctVo17bHsWM3sjLW3Lj6xzYheYo0r9YAMOLXz7c92JwDQahDN95W4rUTj68rAQ
35
+ dHaj98YtwM8tjKyJsxZSeZEn+4wEtwTHuqU7v/HaK7OX+eIb090ZsV5ii5YpD/Fh
36
+ WjgTOJft4S4=
37
+ -----END CERTIFICATE-----
38
+
39
+ date: 2011-01-02 00:00:00 -05:00
40
+ default_executable:
41
+ dependencies:
42
+ - !ruby/object:Gem::Dependency
43
+ name: hoe
44
+ prerelease: false
45
+ requirement: &id001 !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ">="
49
+ - !ruby/object:Gem::Version
50
+ hash: 3
51
+ segments:
52
+ - 0
53
+ version: "0"
54
+ type: :runtime
55
+ version_requirements: *id001
56
+ - !ruby/object:Gem::Dependency
57
+ name: minitest
58
+ prerelease: false
59
+ requirement: &id002 !ruby/object:Gem::Requirement
60
+ none: false
61
+ requirements:
62
+ - - ">="
63
+ - !ruby/object:Gem::Version
64
+ hash: 15
65
+ segments:
66
+ - 1
67
+ - 6
68
+ - 0
69
+ version: 1.6.0
70
+ type: :development
71
+ version_requirements: *id002
72
+ - !ruby/object:Gem::Dependency
73
+ name: rubyforge
74
+ prerelease: false
75
+ requirement: &id003 !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ hash: 7
81
+ segments:
82
+ - 2
83
+ - 0
84
+ - 4
85
+ version: 2.0.4
86
+ type: :development
87
+ version_requirements: *id003
88
+ - !ruby/object:Gem::Dependency
89
+ name: hoe-doofus
90
+ prerelease: false
91
+ requirement: &id004 !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ hash: 15
97
+ segments:
98
+ - 1
99
+ - 0
100
+ version: "1.0"
101
+ type: :development
102
+ version_requirements: *id004
103
+ - !ruby/object:Gem::Dependency
104
+ name: hoe-seattlerb
105
+ prerelease: false
106
+ requirement: &id005 !ruby/object:Gem::Requirement
107
+ none: false
108
+ requirements:
109
+ - - ">="
110
+ - !ruby/object:Gem::Version
111
+ hash: 11
112
+ segments:
113
+ - 1
114
+ - 2
115
+ version: "1.2"
116
+ type: :development
117
+ version_requirements: *id005
118
+ - !ruby/object:Gem::Dependency
119
+ name: hoe-git
120
+ prerelease: false
121
+ requirement: &id006 !ruby/object:Gem::Requirement
122
+ none: false
123
+ requirements:
124
+ - - ">="
125
+ - !ruby/object:Gem::Version
126
+ hash: 9
127
+ segments:
128
+ - 1
129
+ - 3
130
+ version: "1.3"
131
+ type: :development
132
+ version_requirements: *id006
133
+ - !ruby/object:Gem::Dependency
134
+ name: hoe-gemspec2
135
+ prerelease: false
136
+ requirement: &id007 !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ hash: 3
142
+ segments:
143
+ - 0
144
+ version: "0"
145
+ type: :development
146
+ version_requirements: *id007
147
+ - !ruby/object:Gem::Dependency
148
+ name: hoe
149
+ prerelease: false
150
+ requirement: &id008 !ruby/object:Gem::Requirement
151
+ none: false
152
+ requirements:
153
+ - - ">="
154
+ - !ruby/object:Gem::Version
155
+ hash: 47
156
+ segments:
157
+ - 2
158
+ - 8
159
+ - 0
160
+ version: 2.8.0
161
+ type: :development
162
+ version_requirements: *id008
163
+ description: Adds support for generation of gemspec files to Hoe.
164
+ email:
165
+ - raggi@rubyforge.org
166
+ executables: []
167
+
168
+ extensions: []
169
+
170
+ extra_rdoc_files:
171
+ - Manifest.txt
172
+ - CHANGELOG.rdoc
173
+ - README.rdoc
174
+ files:
175
+ - CHANGELOG.rdoc
176
+ - Manifest.txt
177
+ - README.rdoc
178
+ - Rakefile
179
+ - lib/hoe/gemspec2.rb
180
+ has_rdoc: true
181
+ homepage: http://rubygems.org/gems/hoe-gemspec2
182
+ licenses: []
183
+
184
+ post_install_message:
185
+ rdoc_options:
186
+ - --main
187
+ - README.rdoc
188
+ require_paths:
189
+ - lib
190
+ required_ruby_version: !ruby/object:Gem::Requirement
191
+ none: false
192
+ requirements:
193
+ - - ">="
194
+ - !ruby/object:Gem::Version
195
+ hash: 3
196
+ segments:
197
+ - 0
198
+ version: "0"
199
+ required_rubygems_version: !ruby/object:Gem::Requirement
200
+ none: false
201
+ requirements:
202
+ - - ">="
203
+ - !ruby/object:Gem::Version
204
+ hash: 3
205
+ segments:
206
+ - 0
207
+ version: "0"
208
+ requirements: []
209
+
210
+ rubyforge_project: libraggi
211
+ rubygems_version: 1.4.1
212
+ signing_key:
213
+ specification_version: 3
214
+ summary: Adds support for generation of gemspec files to Hoe.
215
+ test_files: []
216
+
metadata.gz.sig ADDED
@@ -0,0 +1,3 @@
1
+ j�S��5�$j%h�sY�Z��h�mm��i�>KS�j*(���3i؜�l�
2
+ ������4���D��ڃ�L��=�ڵ*�;�H�f/�f�Dz��~+�W7�5�9�����f��SB����E���N��1$'�M�%lS`!̲�:ȇ�,(���C���hv�E�T�'_�ɕ�L�j�Y������L$�ZF�}7m\o�<H]w�F6�xj��e(��u.���0/Ļ��?<5:f�'�^7�.\�
3
+ �j�(N%��