hoe-geminabox 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/.rvmrc +1 -0
- data/CHANGELOG.md +5 -0
- data/Manifest.txt +6 -0
- data/README.md +47 -0
- data/Rakefile +14 -0
- data/lib/hoe/geminabox.rb +25 -0
- metadata +92 -0
data/.rvmrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
rvm use --create 1.9.2@hoe-geminabox
|
data/CHANGELOG.md
ADDED
data/Manifest.txt
ADDED
data/README.md
ADDED
@@ -0,0 +1,47 @@
|
|
1
|
+
# hoe-geminabox
|
2
|
+
|
3
|
+
* http://github.com/bleything/hoe-geminabox
|
4
|
+
|
5
|
+
## DESCRIPTION:
|
6
|
+
|
7
|
+
A small [hoe] plugin that allows you to push your gems to [geminabox].
|
8
|
+
|
9
|
+
[hoe]: https://github.com/seattlerb/hoe
|
10
|
+
[geminabox]: https://github.com/cwninja/geminabox
|
11
|
+
|
12
|
+
## FEATURES:
|
13
|
+
|
14
|
+
* `rake release` pushes to the [geminabox] instance you've configured using
|
15
|
+
|
16
|
+
## REQUIREMENTS:
|
17
|
+
|
18
|
+
* geminabox
|
19
|
+
|
20
|
+
## INSTALL:
|
21
|
+
|
22
|
+
$ [sudo] gem install hoe-geminabox
|
23
|
+
|
24
|
+
## LICENSE:
|
25
|
+
|
26
|
+
(The MIT License)
|
27
|
+
|
28
|
+
Copyright (c) 2011 Ben Bleything <ben@bleything.net>
|
29
|
+
|
30
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
31
|
+
a copy of this software and associated documentation files (the
|
32
|
+
'Software'), to deal in the Software without restriction, including
|
33
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
34
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
35
|
+
permit persons to whom the Software is furnished to do so, subject to
|
36
|
+
the following conditions:
|
37
|
+
|
38
|
+
The above copyright notice and this permission notice shall be included
|
39
|
+
in all copies or substantial portions of the Software.
|
40
|
+
|
41
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
42
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
43
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
44
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
45
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
46
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
47
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/Rakefile
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'hoe'
|
3
|
+
|
4
|
+
Hoe.plugin :doofus, :git
|
5
|
+
|
6
|
+
Hoe.spec 'hoe-geminabox' do
|
7
|
+
developer 'Ben Bleything', 'ben@bleything.net'
|
8
|
+
### Use markdown for changelog and readme
|
9
|
+
self.history_file = 'CHANGELOG.md'
|
10
|
+
self.readme_file = 'README.md'
|
11
|
+
|
12
|
+
### dependencies!
|
13
|
+
self.extra_deps << ['geminabox', '~> 0.3.3']
|
14
|
+
end
|
@@ -0,0 +1,25 @@
|
|
1
|
+
#
|
2
|
+
# hoe-geminabox :: hoe-geminabox.rb
|
3
|
+
#
|
4
|
+
# Copyright (c) 2011 Ben Bleything <ben@bleything.net>, released under
|
5
|
+
# the terms of the MIT License. See README.md for details.
|
6
|
+
#
|
7
|
+
|
8
|
+
module Hoe::Geminabox
|
9
|
+
VERSION = "0.1.0"
|
10
|
+
|
11
|
+
attr_accessor :geminabox_server
|
12
|
+
|
13
|
+
def define_geminabox_tasks
|
14
|
+
Rake::Task[:release_to].clear_prerequisites
|
15
|
+
Rake::Task[:release_to].prerequisites << "release_to_geminabox"
|
16
|
+
|
17
|
+
task :check_geminabox_server do
|
18
|
+
raise "You must specify a geminabox server in your Rakefile using self.geminabox_server=" unless self.geminabox_server
|
19
|
+
end
|
20
|
+
|
21
|
+
task :release_to_geminabox => :check_geminabox_server do
|
22
|
+
puts "gem inabox -g #{self.geminabox_server} #{self.pkg_path}.gem"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,92 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: hoe-geminabox
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Ben Bleything
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-12-15 00:00:00.000000000Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: geminabox
|
16
|
+
requirement: &70171994999540 !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.3.3
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: *70171994999540
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: hoe
|
27
|
+
requirement: &70171994998900 !ruby/object:Gem::Requirement
|
28
|
+
none: false
|
29
|
+
requirements:
|
30
|
+
- - ~>
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '2.12'
|
33
|
+
type: :development
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *70171994998900
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: rdoc
|
38
|
+
requirement: &70171994731780 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ~>
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: '3.10'
|
44
|
+
type: :development
|
45
|
+
prerelease: false
|
46
|
+
version_requirements: *70171994731780
|
47
|
+
description: ! 'A small [hoe] plugin that allows you to push your gems to [geminabox].
|
48
|
+
|
49
|
+
|
50
|
+
[hoe]: https://github.com/seattlerb/hoe
|
51
|
+
|
52
|
+
[geminabox]: https://github.com/cwninja/geminabox'
|
53
|
+
email:
|
54
|
+
- ben@bleything.net
|
55
|
+
executables: []
|
56
|
+
extensions: []
|
57
|
+
extra_rdoc_files:
|
58
|
+
- Manifest.txt
|
59
|
+
files:
|
60
|
+
- .rvmrc
|
61
|
+
- CHANGELOG.md
|
62
|
+
- Manifest.txt
|
63
|
+
- README.md
|
64
|
+
- Rakefile
|
65
|
+
- lib/hoe/geminabox.rb
|
66
|
+
homepage: http://github.com/bleything/hoe-geminabox
|
67
|
+
licenses: []
|
68
|
+
post_install_message:
|
69
|
+
rdoc_options:
|
70
|
+
- --main
|
71
|
+
- README.md
|
72
|
+
require_paths:
|
73
|
+
- lib
|
74
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ! '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
82
|
+
requirements:
|
83
|
+
- - ! '>='
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '0'
|
86
|
+
requirements: []
|
87
|
+
rubyforge_project: hoe-geminabox
|
88
|
+
rubygems_version: 1.8.10
|
89
|
+
signing_key:
|
90
|
+
specification_version: 3
|
91
|
+
summary: A small [hoe] plugin that allows you to push your gems to [geminabox]
|
92
|
+
test_files: []
|