hoe-highline 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data.tar.gz.sig CHANGED
Binary file
data/ChangeLog CHANGED
@@ -1,8 +1,33 @@
1
+ 2012-03-28 Michael Granger <ged@FaerieMUD.org>
2
+
3
+ * .hgtags:
4
+ Added tag v0.1.0 for changeset 525f05df1be4
5
+ [7ce9a9afc218] [tip]
6
+
7
+ * .hgsigs:
8
+ Added signature for changeset 1906bc4932fa
9
+ [525f05df1be4] [v0.1.0]
10
+
11
+ * Manifest.txt:
12
+ Update manifest
13
+ [1906bc4932fa]
14
+
15
+ * .hgignore, .rvm.gems, .rvmrc, History.md, History.rdoc,
16
+ Manifest.txt, README.md, README.rdoc, Rakefile, lib/hoe/highline.rb:
17
+ Updated for Hoe 3.
18
+ [0b79211d0a74]
19
+
20
+ 2011-10-06 Michael Granger <ged@FaerieMUD.org>
21
+
22
+ * .hgignore:
23
+ Adding ignore file
24
+ [68b53c68a112]
25
+
1
26
  2011-03-12 Michael Granger <ged@FaerieMUD.org>
2
27
 
3
28
  * .hgtags:
4
29
  Added tag v0.0.1 for changeset f9a3499e47b2
5
- [6cb01cee05f5] [master, tip]
30
+ [6cb01cee05f5]
6
31
 
7
32
  * .hgsigs:
8
33
  Added signature for changeset 4a7fd6f5e4ce
@@ -0,0 +1,9 @@
1
+ == v0.1.0 [2012-03-28] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ Updated for Hoe 3.
4
+
5
+
6
+ == v0.0.1 [2011-01-23] Michael Granger <ged@FaerieMUD.org>
7
+
8
+ Initial release.
9
+
@@ -0,0 +1,6 @@
1
+ ChangeLog
2
+ History.rdoc
3
+ Manifest.txt
4
+ README.rdoc
5
+ Rakefile
6
+ lib/hoe/highline.rb
@@ -1,26 +1,26 @@
1
- # hoe_highline
1
+ = hoe-highline
2
2
 
3
3
  * https://bitbucket.org/ged/hoe-highline
4
4
  * https://github.com/ged/hoe-highline
5
5
 
6
- ## Description
6
+ == Description
7
7
 
8
8
  A Hoe plugin for building interactive Rake tasks.
9
9
 
10
10
  Hoe-highline, as you might have guessed from the name, adds prompting and
11
- displaying functions from the [HighLine][highline] gem to your Rake
11
+ displaying functions from the HighLine[http://highline.rubyforge.org/] gem to your Rake
12
12
  environment, allowing you to ask questions, prompt for passwords, build menus,
13
13
  and other fun stuff.
14
14
 
15
15
 
16
- ## Installation
16
+ == Installation
17
17
 
18
18
  gem install hoe-highline
19
19
 
20
20
 
21
- ## Usage
21
+ == Usage
22
22
 
23
- # in your Rakefile
23
+ In your Rakefile:
24
24
 
25
25
  Hoe.plugin :highline
26
26
 
@@ -126,13 +126,13 @@ There is also a 'demo' task in this library's Rakefile that has a few ideas for
126
126
  pre prerelease
127
127
  rcov rcov_overlay
128
128
  release_sanity release_to
129
- ridocs
129
+ ridocs
130
130
 
131
- ## Contributing
131
+ == Contributing
132
132
 
133
133
  You can check out the current development source with Mercurial via its
134
- [Bitbucket project][bitbucket]. Or if you prefer Git, via
135
- [its Github mirror][github].
134
+ {Bitbucket project}[https://bitbucket.org/ged/hoe-highline]. Or if you prefer Git, via
135
+ {its Github mirror}[https://github.com/ged/ruby-openldap].
136
136
 
137
137
  After checking out the source, run:
138
138
 
@@ -142,9 +142,9 @@ This task will install any missing dependencies, run the tests/specs,
142
142
  and generate the API documentation.
143
143
 
144
144
 
145
- ## License
145
+ == License
146
146
 
147
- Copyright (c) 2011, Michael Granger
147
+ Copyright (c) 2011-2012, Michael Granger
148
148
  All rights reserved.
149
149
 
150
150
  Redistribution and use in source and binary forms, with or without
@@ -172,8 +172,3 @@ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
172
172
  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
173
173
  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
174
174
 
175
-
176
- [highline]: http://highline.rubyforge.org/
177
- [bitbucket]: https://bitbucket.org/ged/hoe-highline
178
- [github]: https://github.com/ged/ruby-openldap
179
-
data/Rakefile CHANGED
@@ -11,23 +11,19 @@ Hoe.plugin :signing
11
11
  Hoe.plugins.delete :rubyforge
12
12
 
13
13
  hoespec = Hoe.spec 'hoe-highline' do
14
- self.readme_file = 'README.md'
15
- self.history_file = 'History.md'
16
-
17
14
  self.developer 'Michael Granger', 'ged@FaerieMUD.org'
18
15
 
19
- self.extra_deps.push *{
20
- 'highline' => '~> 1.6',
21
- 'hoe' => '~> 2.8',
22
- }
16
+ self.readme_file = 'README.rdoc'
17
+ self.history_file = 'History.rdoc'
18
+ self.extra_rdoc_files = FileList[ '*.{rdoc,md}' ]
23
19
 
24
- self.spec_extras[:licenses] = ["BSD"]
25
- self.spec_extras[:signing_key] = '/Volumes/Keys/ged-private_gem_key.pem'
20
+ self.dependency 'highline', '~> 1.6'
21
+ self.dependency 'hoe', '~> 3.0'
26
22
 
23
+ self.spec_extras[:licenses] = ["BSD"]
27
24
  self.require_ruby_version( '>=1.8.7' )
28
25
 
29
26
  self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags= )
30
-
31
27
  self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
32
28
 
33
29
  if self.respond_to?( :highline )
@@ -100,43 +96,3 @@ end
100
96
 
101
97
  ENV['VERSION'] ||= hoespec.spec.version.to_s
102
98
 
103
- begin
104
- include Hoe::MercurialHelpers
105
-
106
- ### Task: prerelease
107
- desc "Append the package build number to package versions"
108
- task :pre do
109
- rev = get_numeric_rev()
110
- trace "Current rev is: %p" % [ rev ]
111
- hoespec.spec.version.version << "pre#{rev}"
112
- Rake::Task[:gem].clear
113
-
114
- Gem::PackageTask.new( hoespec.spec ) do |pkg|
115
- pkg.need_zip = true
116
- pkg.need_tar = true
117
- end
118
- end
119
-
120
- ### Make the ChangeLog update if the repo has changed since it was last built
121
- file '.hg/branch'
122
- file 'ChangeLog' => '.hg/branch' do |task|
123
- $stderr.puts "Updating the changelog..."
124
- content = make_changelog()
125
- File.open( task.name, 'w', 0644 ) do |fh|
126
- fh.print( content )
127
- end
128
- end
129
-
130
- # Rebuild the ChangeLog immediately before release
131
- task :prerelease => 'ChangeLog'
132
-
133
- rescue NameError => err
134
- task :no_hg_helpers do
135
- fail "Couldn't define the :pre task: %s: %s" % [ err.class.name, err.message ]
136
- end
137
-
138
- task :pre => :no_hg_helpers
139
- task 'ChangeLog' => :no_hg_helpers
140
-
141
- end
142
-
@@ -5,17 +5,14 @@ require 'highline'
5
5
  require 'forwardable'
6
6
 
7
7
  # Add Highline command-line interaction functions to Hoe Rakefiles.
8
- #
9
- # @author Michael Granger <ged@FaerieMUD.org>
10
- #
11
8
  module Hoe::Highline
12
9
  extend Forwardable
13
10
 
14
11
  # Library version constant
15
- VERSION = '0.0.1'
12
+ VERSION = '0.1.0'
16
13
 
17
14
  # Version-control revision constant
18
- REVISION = %q$Revision: 12c9e44f7d0e $
15
+ REVISION = %q$Revision: 0b79211d0a74 $
19
16
 
20
17
  # HighLine color scheme
21
18
  COLOR_SCHEME = {
metadata CHANGED
@@ -1,162 +1,158 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: hoe-highline
3
- version: !ruby/object:Gem::Version
4
- hash: 29
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 0
9
- - 1
10
- version: 0.0.1
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Michael Granger
14
9
  autorequire:
15
10
  bindir: bin
16
- cert_chain:
17
- - |
18
- -----BEGIN CERTIFICATE-----
19
- MIIDLDCCAhSgAwIBAgIBADANBgkqhkiG9w0BAQUFADA8MQwwCgYDVQQDDANnZWQx
20
- FzAVBgoJkiaJk/IsZAEZFgdfYWVyaWVfMRMwEQYKCZImiZPyLGQBGRYDb3JnMB4X
21
- DTEwMDkxNjE0NDg1MVoXDTExMDkxNjE0NDg1MVowPDEMMAoGA1UEAwwDZ2VkMRcw
22
- FQYKCZImiZPyLGQBGRYHX2FlcmllXzETMBEGCgmSJomT8ixkARkWA29yZzCCASIw
23
- DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALy//BFxC1f/cPSnwtJBWoFiFrir
24
- h7RicI+joq/ocVXQqI4TDWPyF/8tqkvt+rD99X9qs2YeR8CU/YiIpLWrQOYST70J
25
- vDn7Uvhb2muFVqq6+vobeTkILBEO6pionWDG8jSbo3qKm1RjKJDwg9p4wNKhPuu8
26
- KGue/BFb67KflqyApPmPeb3Vdd9clspzqeFqp7cUBMEpFS6LWxy4Gk+qvFFJBJLB
27
- BUHE/LZVJMVzfpC5Uq+QmY7B+FH/QqNndn3tOHgsPadLTNimuB1sCuL1a4z3Pepd
28
- TeLBEFmEao5Dk3K/Q8o8vlbIB/jBDTUx6Djbgxw77909x6gI9doU4LD5XMcCAwEA
29
- AaM5MDcwCQYDVR0TBAIwADALBgNVHQ8EBAMCBLAwHQYDVR0OBBYEFJeoGkOr9l4B
30
- +saMkW/ZXT4UeSvVMA0GCSqGSIb3DQEBBQUAA4IBAQBG2KObvYI2eHyyBUJSJ3jN
31
- vEnU3d60znAXbrSd2qb3r1lY1EPDD3bcy0MggCfGdg3Xu54z21oqyIdk8uGtWBPL
32
- HIa9EgfFGSUEgvcIvaYqiN4jTUtidfEFw+Ltjs8AP9gWgSIYS6Gr38V0WGFFNzIH
33
- aOD2wmu9oo/RffW4hS/8GuvfMzcw7CQ355wFR4KB/nyze+EsZ1Y5DerCAagMVuDQ
34
- U0BLmWDFzPGGWlPeQCrYHCr+AcJz+NRnaHCKLZdSKj/RHuTOt+gblRex8FAh8NeA
35
- cmlhXe46pZNJgWKbxZah85jIjx95hR8vOI+NAM5iH9kOqK13DrxacTKPhqj5PjwF
36
- -----END CERTIFICATE-----
37
-
38
- date: 2011-03-12 00:00:00 -08:00
39
- default_executable:
40
- dependencies:
41
- - !ruby/object:Gem::Dependency
11
+ cert_chain:
12
+ - !binary |-
13
+ LS0t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yOWw0Qgorc2FNa1cvWlhUNFVlU3ZWTUEwR0NT
30
+ cUdTSWIzRFFFQkJRVUFBNElCQVFCRzJLT2J2WUkyZUh5eUJVSlNKM2pOCnZF
31
+ blUzZDYwem5BWGJyU2QycWIzcjFsWTFFUEREM2JjeTBNZ2dDZkdkZzNYdTU0
32
+ ejIxb3F5SWRrOHVHdFdCUEwKSElhOUVnZkZHU1VFZ3ZjSXZhWXFpTjRqVFV0
33
+ aWRmRUZ3K0x0anM4QVA5Z1dnU0lZUzZHcjM4VjBXR0ZGTnpJSAphT0Qyd211
34
+ OW9vL1JmZlc0aFMvOEd1dmZNemN3N0NRMzU1d0ZSNEtCL255emUrRXNaMVk1
35
+ RGVyQ0FhZ01WdURRClUwQkxtV0RGelBHR1dsUGVRQ3JZSENyK0FjSnorTlJu
36
+ YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
37
+ Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
38
+ cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
39
+ date: 2012-03-29 00:00:00.000000000 Z
40
+ dependencies:
41
+ - !ruby/object:Gem::Dependency
42
42
  name: highline
43
- prerelease: false
44
- requirement: &id001 !ruby/object:Gem::Requirement
43
+ requirement: !ruby/object:Gem::Requirement
45
44
  none: false
46
- requirements:
45
+ requirements:
47
46
  - - ~>
48
- - !ruby/object:Gem::Version
49
- hash: 3
50
- segments:
51
- - 1
52
- - 6
53
- version: "1.6"
47
+ - !ruby/object:Gem::Version
48
+ version: '1.6'
54
49
  type: :runtime
55
- version_requirements: *id001
56
- - !ruby/object:Gem::Dependency
57
- name: hoe
58
50
  prerelease: false
59
- requirement: &id002 !ruby/object:Gem::Requirement
51
+ version_requirements: !ruby/object:Gem::Requirement
60
52
  none: false
61
- requirements:
53
+ requirements:
62
54
  - - ~>
63
- - !ruby/object:Gem::Version
64
- hash: 19
65
- segments:
66
- - 2
67
- - 8
68
- version: "2.8"
55
+ - !ruby/object:Gem::Version
56
+ version: '1.6'
57
+ - !ruby/object:Gem::Dependency
58
+ name: hoe
59
+ requirement: !ruby/object:Gem::Requirement
60
+ none: false
61
+ requirements:
62
+ - - ~>
63
+ - !ruby/object:Gem::Version
64
+ version: '3.0'
69
65
  type: :runtime
70
- version_requirements: *id002
71
- - !ruby/object:Gem::Dependency
72
- name: hoe-mercurial
73
66
  prerelease: false
74
- requirement: &id003 !ruby/object:Gem::Requirement
67
+ version_requirements: !ruby/object:Gem::Requirement
75
68
  none: false
76
- requirements:
69
+ requirements:
77
70
  - - ~>
78
- - !ruby/object:Gem::Version
79
- hash: 29
80
- segments:
81
- - 1
82
- - 2
83
- - 1
84
- version: 1.2.1
71
+ - !ruby/object:Gem::Version
72
+ version: '3.0'
73
+ - !ruby/object:Gem::Dependency
74
+ name: hoe-mercurial
75
+ requirement: !ruby/object:Gem::Requirement
76
+ none: false
77
+ requirements:
78
+ - - ~>
79
+ - !ruby/object:Gem::Version
80
+ version: 1.3.1
85
81
  type: :development
86
- version_requirements: *id003
87
- - !ruby/object:Gem::Dependency
88
- name: hoe
89
82
  prerelease: false
90
- requirement: &id004 !ruby/object:Gem::Requirement
83
+ version_requirements: !ruby/object:Gem::Requirement
91
84
  none: false
92
- requirements:
93
- - - ">="
94
- - !ruby/object:Gem::Version
95
- hash: 41
96
- segments:
97
- - 2
98
- - 9
99
- - 1
100
- version: 2.9.1
85
+ requirements:
86
+ - - ~>
87
+ - !ruby/object:Gem::Version
88
+ version: 1.3.1
89
+ - !ruby/object:Gem::Dependency
90
+ name: rdoc
91
+ requirement: !ruby/object:Gem::Requirement
92
+ none: false
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '3.10'
101
97
  type: :development
102
- version_requirements: *id004
103
- description: |-
104
- A Hoe plugin for building interactive Rake tasks.
105
-
98
+ prerelease: false
99
+ version_requirements: !ruby/object:Gem::Requirement
100
+ none: false
101
+ requirements:
102
+ - - ~>
103
+ - !ruby/object:Gem::Version
104
+ version: '3.10'
105
+ description: ! 'A Hoe plugin for building interactive Rake tasks.
106
+
107
+
106
108
  Hoe-highline, as you might have guessed from the name, adds prompting and
107
- displaying functions from the [HighLine][highline] gem to your Rake
109
+
110
+ displaying functions from the HighLine[http://highline.rubyforge.org/] gem to your
111
+ Rake
112
+
108
113
  environment, allowing you to ask questions, prompt for passwords, build menus,
109
- and other fun stuff.
110
- email:
114
+
115
+ and other fun stuff.'
116
+ email:
111
117
  - ged@FaerieMUD.org
112
118
  executables: []
113
-
114
119
  extensions: []
115
-
116
- extra_rdoc_files: []
117
-
118
- files:
120
+ extra_rdoc_files:
121
+ - History.rdoc
122
+ - Manifest.txt
123
+ - README.rdoc
124
+ files:
119
125
  - ChangeLog
120
- - History.md
121
- - README.md
126
+ - History.rdoc
127
+ - Manifest.txt
128
+ - README.rdoc
122
129
  - Rakefile
123
130
  - lib/hoe/highline.rb
124
- has_rdoc: true
125
131
  homepage: https://bitbucket.org/ged/hoe-highline
126
- licenses:
132
+ licenses:
127
133
  - BSD
128
134
  post_install_message:
129
- rdoc_options:
135
+ rdoc_options:
130
136
  - --main
131
- - README.md
132
- require_paths:
137
+ - README.rdoc
138
+ require_paths:
133
139
  - lib
134
- required_ruby_version: !ruby/object:Gem::Requirement
140
+ required_ruby_version: !ruby/object:Gem::Requirement
135
141
  none: false
136
- requirements:
137
- - - ">="
138
- - !ruby/object:Gem::Version
139
- hash: 57
140
- segments:
141
- - 1
142
- - 8
143
- - 7
142
+ requirements:
143
+ - - ! '>='
144
+ - !ruby/object:Gem::Version
144
145
  version: 1.8.7
145
- required_rubygems_version: !ruby/object:Gem::Requirement
146
+ required_rubygems_version: !ruby/object:Gem::Requirement
146
147
  none: false
147
- requirements:
148
- - - ">="
149
- - !ruby/object:Gem::Version
150
- hash: 3
151
- segments:
152
- - 0
153
- version: "0"
148
+ requirements:
149
+ - - ! '>='
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
154
152
  requirements: []
155
-
156
153
  rubyforge_project: hoe-highline
157
- rubygems_version: 1.5.2
154
+ rubygems_version: 1.8.21
158
155
  signing_key:
159
156
  specification_version: 3
160
157
  summary: A Hoe plugin for building interactive Rake tasks
161
158
  test_files: []
162
-
metadata.gz.sig CHANGED
Binary file
data/History.md DELETED
@@ -1,4 +0,0 @@
1
- ## 0.0.1 [2011-01-23] Michael Granger <ged@FaerieMUD.org>
2
-
3
- Initial release.
4
-