hoe-gemnasium 0.0.1.pre.1

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 ADDED
File without changes
data/History.rdoc ADDED
@@ -0,0 +1,54 @@
1
+ == v1.4.0 [2012-03-28] Michael Granger <ged@FaerieMUD.org>
2
+
3
+ Updated for Hoe 3.
4
+
5
+
6
+ == v1.3.1 [2011-09-28] Michael Granger <ged@FaerieMUD.org>
7
+
8
+ Fixed a bug in the ordering of the tags reported by the
9
+ #get_unhistoried_version_tags method.
10
+
11
+
12
+ == v1.3.0 [2011-09-19] Michael Granger <ged@FaerieMUD.org>
13
+
14
+ Added a new task :check_history, and a new config option 'check_history_on_release'
15
+ for ensuring the History file is updated before releasing.
16
+
17
+
18
+ == v1.2.2 [2011-08-22] Michael Granger <ged@FaerieMUD.org>
19
+
20
+ Don't overlay existing mercurial tasks if an 'hg:checkin' task already exists.
21
+
22
+
23
+ == v1.2.1 [2011-02-01] Michael Granger <ged@FaerieMUD.org>
24
+
25
+ Bugfixes:
26
+
27
+ * Update Hoe dependency
28
+ * Consistency fixes.
29
+ * Fixed the add_include_dirs call, describe the 'ci' task
30
+ * Updated hoe dependency
31
+
32
+
33
+ == v1.2.0 [2011-01-05] Michael Granger <ged@FaerieMUD.org>
34
+
35
+ Removed old attributes:
36
+
37
+ * 'hg_repo', the task now just uses the Mercurial 'default' or 'default-push' path.
38
+ * 'hg_release_branch', which wasn't really used as a branch
39
+
40
+ Enhancements:
41
+
42
+ * hoe-mercurial now injects itself as a dev dependency.
43
+
44
+
45
+ == v1.1.1 [2011-01-04] Michael Granger <ged@FaerieMUD.org>
46
+
47
+ Simplified the hg:checkin task.
48
+
49
+
50
+ == v1.1.0 [2010-12-14] Michael Granger <ged@FaerieMUD.org>
51
+
52
+ Initial release after forking from hoe-hg.
53
+
54
+
data/Manifest.txt ADDED
@@ -0,0 +1,8 @@
1
+ ChangeLog
2
+ History.rdoc
3
+ Manifest.txt
4
+ README.rdoc
5
+ Rakefile
6
+ config/gemnasium.yml
7
+ lib/hoe/gemnasium.rb
8
+ lib/tasks/gemnasium.rake
data/README.rdoc ADDED
@@ -0,0 +1,76 @@
1
+ = hoe-gemnasium
2
+
3
+ * http://bitbucket.org/ged/hoe-gemnasium
4
+
5
+
6
+ == Description
7
+
8
+ A [Hoe](http://www.zenspider.com/projects/hoe.html) plugin for
9
+ interacting with Gemnasium.
10
+
11
+ It's still a work in progress.
12
+
13
+
14
+ == Dependencies
15
+
16
+ Hoe, hoe-gemspec, and a [Gemnasium](https://gemnasium.com/) account.
17
+
18
+
19
+ == Installation
20
+
21
+ $ gem install hoe-gemnasium
22
+
23
+
24
+ == Examples
25
+
26
+ # in your Rakefile
27
+ Hoe.plugin :gemnasium
28
+
29
+
30
+ === Setup
31
+
32
+ To get your project set up to push to Gemnasium, run:
33
+
34
+ $ rake gemnasium:setup
35
+
36
+ and edit the `config/gemnasium.yml` file with the particulars
37
+
38
+
39
+ === Creating Your Gemnasium Project
40
+
41
+
42
+
43
+ === Keeping Your Gemnasium Project Up-to-date
44
+
45
+
46
+
47
+ == License
48
+
49
+ Copyright (c) 2013, Michael Granger
50
+ All rights reserved.
51
+
52
+ Redistribution and use in source and binary forms, with or without
53
+ modification, are permitted provided that the following conditions are met:
54
+
55
+ * Redistributions of source code must retain the above copyright notice,
56
+ this list of conditions and the following disclaimer.
57
+
58
+ * Redistributions in binary form must reproduce the above copyright notice,
59
+ this list of conditions and the following disclaimer in the documentation
60
+ and/or other materials provided with the distribution.
61
+
62
+ * Neither the name of the author/s, nor the names of the project's
63
+ contributors may be used to endorse or promote products derived from this
64
+ software without specific prior written permission.
65
+
66
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
67
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
68
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
69
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
70
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
71
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
72
+ SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
73
+ CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
74
+ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
75
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
76
+
data/Rakefile ADDED
@@ -0,0 +1,35 @@
1
+ #!rake
2
+ #encoding: utf-8
3
+
4
+ require 'hoe'
5
+ require 'rake/clean'
6
+
7
+ Hoe.add_include_dirs 'lib'
8
+
9
+ Hoe.plugin :gemnasium
10
+ Hoe.plugin :deveiate
11
+ Hoe.plugin :signing
12
+
13
+ Hoe.plugins.delete :rubyforge
14
+
15
+ ### Main spec
16
+ hoespec = Hoe.spec "hoe-gemnasium" do
17
+ self.developer "Michael Granger", "ged@FaerieMUD.org"
18
+
19
+ self.history_file = "History.rdoc"
20
+ self.readme_file = "README.rdoc"
21
+ self.extra_rdoc_files = FileList["*.rdoc"]
22
+
23
+ self.spec_extras[:licenses] = ["BSD"]
24
+ self.hg_sign_tags = true
25
+ self.check_history_on_release = true
26
+
27
+ self.dependency 'hoe', "~> #{Hoe::VERSION[ /\d+\.\d+/ ]}"
28
+ self.dependency 'hoe-gemspec', '~> 1.0'
29
+ self.dependency 'gemnasium', '~> 2.0'
30
+
31
+ self.gemnasium_config = '.gemnasium'
32
+ end
33
+
34
+ ENV['VERSION'] = hoespec.spec.version.to_s
35
+
@@ -0,0 +1,9 @@
1
+ api_key: a5859af3d9541fef9821cd31c6648ae6
2
+ profile_name: ged
3
+ project_name: hoe-gemnasium
4
+ project_branch: master
5
+ ignored_paths:
6
+ - features/
7
+ - spec/
8
+ - test/
9
+ - tmp/
@@ -0,0 +1,81 @@
1
+ #!/usr/bin/env ruby
2
+ #coding: utf-8
3
+
4
+ require 'hoe' unless defined?( Hoe )
5
+
6
+ require 'pathname'
7
+ require 'gemnasium'
8
+
9
+ Hoe.plugin( :gemspec )
10
+
11
+ ### Hoe plugin module
12
+ module Hoe::Gemnasium
13
+
14
+ # Plugin version
15
+ VERSION = '0.0.1'
16
+
17
+ attr_accessor :gemnasium_config
18
+ attr_accessor :gemnasium_project_dir
19
+
20
+
21
+ # This is hard-coded in the gemnasium gem itself, so it is here (for now) as well.
22
+ CONFIG_FILE = 'config/gemnasium.yml'
23
+
24
+ # Options to pass to Gemnasium.install
25
+ INSTALL_OPTIONS = {
26
+ :install_rake_task => false,
27
+ }
28
+
29
+ # The path to the .gemspec file, which gemnasium (currently) depends on
30
+ GEMSPEC = '.gemspec'
31
+
32
+
33
+ ### Set up defaults
34
+ def initialize_gemnasium
35
+ self.gemnasium_project_dir = File.expand_path(".")
36
+ self.dependency( 'hoe-gemnasium', "~> #{VERSION}", :developer ) unless
37
+ self.name == 'hoe-gemnasium'
38
+ end
39
+
40
+
41
+ ### Hoe hook -- Define Rake tasks when the plugin is loaded.
42
+ def define_gemnasium_tasks
43
+ configfile = Pathname( self.gemnasium_project_dir ) + CONFIG_FILE
44
+
45
+ file GEMSPEC => 'gem:spec'
46
+
47
+ namespace :gemnasium do
48
+ if configfile.exist?
49
+ desc "Push dependency files to gemnasium"
50
+ task :push => GEMSPEC.to_s do
51
+ Gemnasium.push( :project_path => self.gemnasium_project_dir )
52
+ end
53
+
54
+ desc "Create project on gemnasium"
55
+ task :create => GEMSPEC.to_s do
56
+ Gemnasium.create_project( :project_path => self.gemnasium_project_dir )
57
+ end
58
+
59
+ namespace :create do
60
+ desc "Force project creation/update on gemnasium"
61
+ task :force => GEMSPEC.to_s do
62
+ Gemnasium.create_project( :project_path => self.gemnasium_project_dir,
63
+ :overwrite_attr => true )
64
+ end
65
+ end
66
+ else
67
+
68
+ desc "Install a Gemnasium config"
69
+ task :setup do
70
+ options = INSTALL_OPTIONS.merge( :project_path => self.gemnasium_project_dir )
71
+ Gemnasium.install( options )
72
+ end
73
+ end
74
+ end
75
+
76
+ rescue Exception => err
77
+ $stderr.puts "%s while defining Gemnasium tasks: %s" % [ err.class.name, err.message ]
78
+ raise
79
+ end
80
+
81
+ end
@@ -0,0 +1,20 @@
1
+ namespace :gemnasium do
2
+ require 'gemnasium'
3
+
4
+ desc "Push dependency files to gemnasium"
5
+ task :push do
6
+ Gemnasium.push project_path: File.expand_path(".")
7
+ end
8
+
9
+ desc "Create project on gemnasium"
10
+ task :create do
11
+ Gemnasium.create_project project_path: File.expand_path(".")
12
+ end
13
+
14
+ namespace :create do
15
+ desc "Force project creation/update on gemnasium"
16
+ task :force do
17
+ Gemnasium.create_project project_path: File.expand_path("."), overwrite_attr: true
18
+ end
19
+ end
20
+ end
metadata ADDED
@@ -0,0 +1,190 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hoe-gemnasium
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1.pre.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Michael Granger
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain:
12
+ - !binary |-
13
+ LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURiRENDQWxTZ0F3SUJB
14
+ Z0lCQVRBTkJna3Foa2lHOXcwQkFRVUZBREErTVF3d0NnWURWUVFEREFOblpX
15
+ UXgKR1RBWEJnb0praWFKay9Jc1pBRVpGZ2xHWVdWeWFXVk5WVVF4RXpBUkJn
16
+ b0praWFKay9Jc1pBRVpGZ052Y21jdwpIaGNOTVRNd01qSTNNVFkwT0RVNFdo
17
+ Y05NVFF3TWpJ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QXBqeTkvdHQyWUQySG9tTGJ0cFh0amk1UVhvcgpPTjZvbG40
34
+ dFdCSUIzS2xicjNzenE1b1IzUmMxRDAyU2FCVGFseFNuZHA0TTZVa1c5aFJG
35
+ dTVqbjk4cERCNGZxCjVsOHdNTVUwWGRtcXgxVll2eXNWQWpWRlZDL1c0Tk52
36
+ bG1nKzJtRWdTVlpQNUs2VGM5cURoM2VNUUlub1l3NmgKdDFZQTZSc1VKSHA1
37
+ dkdReWhQMXgzNFlwTEFhbHk4aWNibnMvOFBxT2Y3T3NuOXp0bWc4Yk9NSkNl
38
+ YjMyZVFMago2bUtDd2pwZWd5dEUwb2lmWGZGOGs3NUE5MTA1Y0JuTmlNWk9l
39
+ MXRYaXFZYy9leENnV3ZiZ2d1cnpET2NSa1p1Ci9ZU3VzYWlEWEhLVTJPM0Fr
40
+ YzNodEE9PQotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
41
+ date: 2013-06-20 00:00:00.000000000 Z
42
+ dependencies:
43
+ - !ruby/object:Gem::Dependency
44
+ name: hoe
45
+ requirement: !ruby/object:Gem::Requirement
46
+ none: false
47
+ requirements:
48
+ - - ~>
49
+ - !ruby/object:Gem::Version
50
+ version: '3.5'
51
+ type: :runtime
52
+ prerelease: false
53
+ version_requirements: !ruby/object:Gem::Requirement
54
+ none: false
55
+ requirements:
56
+ - - ~>
57
+ - !ruby/object:Gem::Version
58
+ version: '3.5'
59
+ - !ruby/object:Gem::Dependency
60
+ name: hoe-gemspec
61
+ requirement: !ruby/object:Gem::Requirement
62
+ none: false
63
+ requirements:
64
+ - - ~>
65
+ - !ruby/object:Gem::Version
66
+ version: '1.0'
67
+ type: :runtime
68
+ prerelease: false
69
+ version_requirements: !ruby/object:Gem::Requirement
70
+ none: false
71
+ requirements:
72
+ - - ~>
73
+ - !ruby/object:Gem::Version
74
+ version: '1.0'
75
+ - !ruby/object:Gem::Dependency
76
+ name: gemnasium
77
+ requirement: !ruby/object:Gem::Requirement
78
+ none: false
79
+ requirements:
80
+ - - ~>
81
+ - !ruby/object:Gem::Version
82
+ version: '2.0'
83
+ type: :runtime
84
+ prerelease: false
85
+ version_requirements: !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ~>
89
+ - !ruby/object:Gem::Version
90
+ version: '2.0'
91
+ - !ruby/object:Gem::Dependency
92
+ name: hoe-highline
93
+ requirement: !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ version: 0.1.0
99
+ type: :development
100
+ prerelease: false
101
+ version_requirements: !ruby/object:Gem::Requirement
102
+ none: false
103
+ requirements:
104
+ - - ~>
105
+ - !ruby/object:Gem::Version
106
+ version: 0.1.0
107
+ - !ruby/object:Gem::Dependency
108
+ name: hoe-mercurial
109
+ requirement: !ruby/object:Gem::Requirement
110
+ none: false
111
+ requirements:
112
+ - - ~>
113
+ - !ruby/object:Gem::Version
114
+ version: 1.4.0
115
+ type: :development
116
+ prerelease: false
117
+ version_requirements: !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ~>
121
+ - !ruby/object:Gem::Version
122
+ version: 1.4.0
123
+ - !ruby/object:Gem::Dependency
124
+ name: rdoc
125
+ requirement: !ruby/object:Gem::Requirement
126
+ none: false
127
+ requirements:
128
+ - - ~>
129
+ - !ruby/object:Gem::Version
130
+ version: '4.0'
131
+ type: :development
132
+ prerelease: false
133
+ version_requirements: !ruby/object:Gem::Requirement
134
+ none: false
135
+ requirements:
136
+ - - ~>
137
+ - !ruby/object:Gem::Version
138
+ version: '4.0'
139
+ description: ! 'A [Hoe](http://www.zenspider.com/projects/hoe.html) plugin for
140
+
141
+ interacting with Gemnasium.
142
+
143
+
144
+ It''s still a work in progress.'
145
+ email:
146
+ - ged@FaerieMUD.org
147
+ executables: []
148
+ extensions: []
149
+ extra_rdoc_files:
150
+ - History.rdoc
151
+ - Manifest.txt
152
+ - README.rdoc
153
+ files:
154
+ - ChangeLog
155
+ - History.rdoc
156
+ - Manifest.txt
157
+ - README.rdoc
158
+ - Rakefile
159
+ - config/gemnasium.yml
160
+ - lib/hoe/gemnasium.rb
161
+ - lib/tasks/gemnasium.rake
162
+ homepage: http://bitbucket.org/ged/hoe-gemnasium
163
+ licenses:
164
+ - BSD
165
+ post_install_message:
166
+ rdoc_options:
167
+ - --main
168
+ - README.rdoc
169
+ require_paths:
170
+ - lib
171
+ required_ruby_version: !ruby/object:Gem::Requirement
172
+ none: false
173
+ requirements:
174
+ - - ! '>='
175
+ - !ruby/object:Gem::Version
176
+ version: '0'
177
+ required_rubygems_version: !ruby/object:Gem::Requirement
178
+ none: false
179
+ requirements:
180
+ - - ! '>='
181
+ - !ruby/object:Gem::Version
182
+ version: '0'
183
+ requirements: []
184
+ rubyforge_project: hoe-gemnasium
185
+ rubygems_version: 1.8.25
186
+ signing_key:
187
+ specification_version: 3
188
+ summary: A [Hoe](http://www.zenspider.com/projects/hoe.html) plugin for interacting
189
+ with Gemnasium
190
+ test_files: []
metadata.gz.sig ADDED
Binary file