hoe-heroku 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/CHANGELOG.md +9 -0
  2. data/Manifest.txt +5 -0
  3. data/README.md +46 -0
  4. data/Rakefile +12 -0
  5. data/lib/hoe/heroku.rb +27 -0
  6. metadata +91 -0
@@ -0,0 +1,9 @@
1
+ # hoe_heroku Changelog
2
+
3
+ ### 0.1.0 / 2011-02-07
4
+
5
+ * add `rake heroku:dotgems`
6
+
7
+ ### 0.0.1 / 2011-02-07
8
+
9
+ * Project Created
@@ -0,0 +1,5 @@
1
+ CHANGELOG.md
2
+ Manifest.txt
3
+ README.md
4
+ Rakefile
5
+ lib/hoe/heroku.rb
@@ -0,0 +1,46 @@
1
+ # hoe_heroku
2
+
3
+ * http://github.com/bleything/hoe-heroku
4
+
5
+ ## DESCRIPTION:
6
+
7
+ A [Hoe] plugin that helps you get your stuff on Heroku.
8
+
9
+ [hoe]: http://rubygems.org/gems/hoe
10
+
11
+ ## FEATURES:
12
+
13
+ * `rake heroku:dotgems` -- generates your `.gems` file
14
+
15
+ ## REQUIREMENTS:
16
+
17
+ * [Hoe]
18
+
19
+ ## INSTALL:
20
+
21
+ $ [sudo] gem install hoe-heroku
22
+
23
+ ## LICENSE:
24
+
25
+ (The MIT License)
26
+
27
+ Copyright (c) 2011 Ben Bleything <ben@bleything.net>
28
+
29
+ Permission is hereby granted, free of charge, to any person obtaining
30
+ a copy of this software and associated documentation files (the
31
+ 'Software'), to deal in the Software without restriction, including
32
+ without limitation the rights to use, copy, modify, merge, publish,
33
+ distribute, sublicense, and/or sell copies of the Software, and to
34
+ permit persons to whom the Software is furnished to do so, subject to
35
+ the following conditions:
36
+
37
+ The above copyright notice and this permission notice shall be included
38
+ in all copies or substantial portions of the Software.
39
+
40
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
41
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
42
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
43
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
44
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
45
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
46
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,12 @@
1
+ require 'rubygems'
2
+ require 'hoe'
3
+
4
+ Hoe.plugin :doofus, :git
5
+
6
+ Hoe.spec 'hoe-heroku' do
7
+ developer 'Ben Bleything', 'ben@bleything.net'
8
+
9
+ ### Use markdown for changelog and readme
10
+ self.history_file = 'CHANGELOG.md'
11
+ self.readme_file = 'README.md'
12
+ end
@@ -0,0 +1,27 @@
1
+ class Hoe
2
+ module Heroku
3
+ VERSION = "0.1.0"
4
+
5
+ def define_heroku_tasks
6
+
7
+ namespace :heroku do
8
+ desc "Create .gems manifest"
9
+ task :dotgems do
10
+ list = []
11
+
12
+ self.extra_deps.each do |gem, version|
13
+ out = []
14
+ out << gem
15
+ out << "--version '#{version}'" if version
16
+
17
+ list << out.join(' ')
18
+ end
19
+
20
+ File.open( '.gems', 'w' ) {|f| f.puts list.join("\n") }
21
+ end
22
+ end
23
+
24
+ end
25
+
26
+ end
27
+ end
metadata ADDED
@@ -0,0 +1,91 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hoe-heroku
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Ben Bleything
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-02-08 00:00:00 -08:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: hoe
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 41
30
+ segments:
31
+ - 2
32
+ - 9
33
+ - 1
34
+ version: 2.9.1
35
+ type: :development
36
+ version_requirements: *id001
37
+ description: |-
38
+ A [Hoe] plugin that helps you get your stuff on Heroku.
39
+
40
+ [hoe]: http://rubygems.org/gems/hoe
41
+ email:
42
+ - ben@bleything.net
43
+ executables: []
44
+
45
+ extensions: []
46
+
47
+ extra_rdoc_files:
48
+ - Manifest.txt
49
+ files:
50
+ - CHANGELOG.md
51
+ - Manifest.txt
52
+ - README.md
53
+ - Rakefile
54
+ - lib/hoe/heroku.rb
55
+ has_rdoc: true
56
+ homepage: http://github.com/bleything/hoe-heroku
57
+ licenses: []
58
+
59
+ post_install_message:
60
+ rdoc_options:
61
+ - --main
62
+ - README.md
63
+ require_paths:
64
+ - lib
65
+ required_ruby_version: !ruby/object:Gem::Requirement
66
+ none: false
67
+ requirements:
68
+ - - ">="
69
+ - !ruby/object:Gem::Version
70
+ hash: 3
71
+ segments:
72
+ - 0
73
+ version: "0"
74
+ required_rubygems_version: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ">="
78
+ - !ruby/object:Gem::Version
79
+ hash: 3
80
+ segments:
81
+ - 0
82
+ version: "0"
83
+ requirements: []
84
+
85
+ rubyforge_project: hoe-heroku
86
+ rubygems_version: 1.4.2
87
+ signing_key:
88
+ specification_version: 3
89
+ summary: A [Hoe] plugin that helps you get your stuff on Heroku
90
+ test_files: []
91
+