technicalpickles-gemstalker 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +20 -0
- data/README +24 -0
- data/Rakefile +44 -0
- data/VERSION.yml +4 -0
- data/bin/gemstalk +69 -0
- data/lib/gem_stalker.rb +77 -0
- data/test/gemstalker_test.rb +64 -0
- data/test/responses/bostonrb-tree-master +565 -0
- data/test/responses/bostonrb.gemspec +13 -0
- data/test/responses/jeweler-tree-master +728 -0
- data/test/responses/jeweler.gemspec +48 -0
- data/test/responses/specs.4.8.gz +0 -0
- data/test/responses/technicalpickles-jeweler-0.8.1.gem +0 -0
- data/test/responses/technicalpickles-jeweler-0.9.3.gem +15 -0
- data/test/test_helper.rb +35 -0
- metadata +69 -0
@@ -0,0 +1,48 @@
|
|
1
|
+
HTTP/1.1 200 OK
|
2
|
+
Server: nginx/0.6.31
|
3
|
+
Date: Fri, 13 Feb 2009 20:36:19 GMT
|
4
|
+
Content-Type: text/plain; charset=utf-8
|
5
|
+
Connection: keep-alive
|
6
|
+
Set-Cookie: _github_ses=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--884981fc5aa85daf318eeff084d98e2cff92578f; path=/; expires=Wed, 01 Jan 2020 08:00:00 GMT; HttpOnly
|
7
|
+
Status: 200 OK
|
8
|
+
X-Runtime: 390ms
|
9
|
+
ETag: "5fb2ee445a74759f606da4ff5258fc0c"
|
10
|
+
Content-Transfer-Encoding: binary
|
11
|
+
Cache-Control: private
|
12
|
+
Content-Disposition: inline
|
13
|
+
Content-Length: 2868
|
14
|
+
|
15
|
+
# -*- encoding: utf-8 -*-
|
16
|
+
|
17
|
+
Gem::Specification.new do |s|
|
18
|
+
s.name = %q{jeweler}
|
19
|
+
s.version = "0.8.1"
|
20
|
+
|
21
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
22
|
+
s.authors = ["Josh Nichols"]
|
23
|
+
s.date = %q{2009-02-03}
|
24
|
+
s.default_executable = %q{jeweler}
|
25
|
+
s.description = %q{Simple and opinionated helper for creating Rubygem projects on GitHub}
|
26
|
+
s.email = %q{josh@technicalpickles.com}
|
27
|
+
s.executables = ["jeweler"]
|
28
|
+
s.files = ["ChangeLog.markdown", "LICENSE", "Rakefile", "README.markdown", "TODO", "VERSION.yml", "bin/jeweler", "lib/jeweler", "lib/jeweler/errors.rb", "lib/jeweler/gemspec.rb", "lib/jeweler/generator.rb", "lib/jeweler/tasks.rb", "lib/jeweler/templates", "lib/jeweler/templates/bacon", "lib/jeweler/templates/bacon/flunking.rb", "lib/jeweler/templates/bacon/helper.rb", "lib/jeweler/templates/features", "lib/jeweler/templates/features/default.feature", "lib/jeweler/templates/features/steps", "lib/jeweler/templates/features/steps/default_steps.rb", "lib/jeweler/templates/features/support", "lib/jeweler/templates/features/support/env.rb", "lib/jeweler/templates/LICENSE", "lib/jeweler/templates/minitest", "lib/jeweler/templates/minitest/flunking.rb", "lib/jeweler/templates/minitest/helper.rb", "lib/jeweler/templates/Rakefile", "lib/jeweler/templates/README", "lib/jeweler/templates/rspec", "lib/jeweler/templates/rspec/flunking.rb", "lib/jeweler/templates/rspec/helper.rb", "lib/jeweler/templates/shoulda", "lib/jeweler/templates/shoulda/flunking.rb", "lib/jeweler/templates/shoulda/helper.rb", "lib/jeweler/templates/testunit", "lib/jeweler/templates/testunit/flunking.rb", "lib/jeweler/templates/testunit/helper.rb", "lib/jeweler/version.rb", "lib/jeweler.rb", "test/fixtures", "test/fixtures/bar", "test/fixtures/bar/VERSION.yml", "test/generators", "test/generators/initialization_test.rb", "test/jeweler", "test/shoulda_macros", "test/shoulda_macros/jeweler_macros.rb", "test/test_gemspec.rb", "test/test_helper.rb", "test/test_jeweler.rb", "test/test_tasks.rb", "test/test_version.rb", "test/version_tmp", "test/version_tmp/VERSION.yml", "lib/jeweler/templates/.gitignore"]
|
29
|
+
s.has_rdoc = true
|
30
|
+
s.homepage = %q{http://github.com/technicalpickles/jeweler}
|
31
|
+
s.rdoc_options = ["--inline-source", "--charset=UTF-8"]
|
32
|
+
s.require_paths = ["lib"]
|
33
|
+
s.rubygems_version = %q{1.3.1}
|
34
|
+
s.summary = %q{Simple and opinionated helper for creating Rubygem projects on GitHub}
|
35
|
+
|
36
|
+
if s.respond_to? :specification_version then
|
37
|
+
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
38
|
+
s.specification_version = 2
|
39
|
+
|
40
|
+
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
41
|
+
s.add_runtime_dependency(%q<schacon-git>, [">= 0"])
|
42
|
+
else
|
43
|
+
s.add_dependency(%q<schacon-git>, [">= 0"])
|
44
|
+
end
|
45
|
+
else
|
46
|
+
s.add_dependency(%q<schacon-git>, [">= 0"])
|
47
|
+
end
|
48
|
+
end
|
Binary file
|
Binary file
|
@@ -0,0 +1,15 @@
|
|
1
|
+
HTTP/1.1 404 Not Found
|
2
|
+
Server: nginx/0.6.26
|
3
|
+
Date: Fri, 13 Feb 2009 20:37:35 GMT
|
4
|
+
Content-Type: text/html
|
5
|
+
Content-Length: 169
|
6
|
+
Connection: keep-alive
|
7
|
+
Keep-Alive: timeout=20
|
8
|
+
|
9
|
+
<html>
|
10
|
+
<head><title>404 Not Found</title></head>
|
11
|
+
<body bgcolor="white">
|
12
|
+
<center><h1>404 Not Found</h1></center>
|
13
|
+
<hr><center>nginx/0.6.26</center>
|
14
|
+
</body>
|
15
|
+
</html>
|
data/test/test_helper.rb
ADDED
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'rubygems'
|
2
|
+
require 'test/unit'
|
3
|
+
require 'shoulda'
|
4
|
+
require 'ruby-debug'
|
5
|
+
require 'fake_web'
|
6
|
+
|
7
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
8
|
+
$LOAD_PATH.unshift(File.dirname(__FILE__), '..', 'lib')
|
9
|
+
require 'gem_stalker'
|
10
|
+
|
11
|
+
FakeWeb.allow_net_connect = false
|
12
|
+
FakeWeb.register_uri 'http://gems.github.com:80/gems/technicalpickles-jeweler-0.8.1.gem',
|
13
|
+
:response => File.join(File.dirname(__FILE__), 'responses', 'technicalpickles-jeweler-0.8.1.gem')
|
14
|
+
|
15
|
+
FakeWeb.register_uri 'http://gems.github.com:80/specs.4.8.gz',
|
16
|
+
:response => File.join(File.dirname(__FILE__), 'responses', 'specs.4.8.gz')
|
17
|
+
|
18
|
+
FakeWeb.register_uri 'http://github.com:80/technicalpickles/jeweler/blob/master/jeweler.gemspec?raw=true',
|
19
|
+
:response => File.join(File.dirname(__FILE__), 'responses', 'jeweler.gemspec')
|
20
|
+
|
21
|
+
FakeWeb.register_uri 'http://gems.github.com:80/gems/technicalpickles-jeweler-0.9.3.gem',
|
22
|
+
:response => File.join(File.dirname(__FILE__), 'responses', 'technicalpickles-jeweler-0.9.3.gem')
|
23
|
+
|
24
|
+
FakeWeb.register_uri 'http://github.com:80/technicalpickles/bostonrb/blob/master/bostonrb.gemspec?raw=true',
|
25
|
+
:response => File.join(File.dirname(__FILE__), 'responses', 'bostonrb.gemspec')
|
26
|
+
|
27
|
+
FakeWeb.register_uri 'http://github.com:80/technicalpickles/bostonrb/tree/master',
|
28
|
+
:response => File.join(File.dirname(__FILE__), 'responses', 'bostonrb-tree-master')
|
29
|
+
|
30
|
+
FakeWeb.register_uri 'http://github.com:80/technicalpickles/jeweler/tree/master',
|
31
|
+
:response => File.join(File.dirname(__FILE__), 'responses', 'jeweler-tree-master')
|
32
|
+
|
33
|
+
|
34
|
+
class Test::Unit::TestCase
|
35
|
+
end
|
metadata
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: technicalpickles-gemstalker
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Josh Nichols
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-02-13 00:00:00 -08:00
|
13
|
+
default_executable: gemstalk
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: A library for determining if GitHub has built a gem yet
|
17
|
+
email: josh@technicalpickles.com
|
18
|
+
executables:
|
19
|
+
- gemstalk
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
24
|
+
files:
|
25
|
+
- LICENSE
|
26
|
+
- Rakefile
|
27
|
+
- README
|
28
|
+
- VERSION.yml
|
29
|
+
- bin/gemstalk
|
30
|
+
- lib/gem_stalker.rb
|
31
|
+
- test/gemstalker_test.rb
|
32
|
+
- test/responses
|
33
|
+
- test/responses/bostonrb-tree-master
|
34
|
+
- test/responses/bostonrb.gemspec
|
35
|
+
- test/responses/jeweler-tree-master
|
36
|
+
- test/responses/jeweler.gemspec
|
37
|
+
- test/responses/specs.4.8.gz
|
38
|
+
- test/responses/technicalpickles-jeweler-0.8.1.gem
|
39
|
+
- test/responses/technicalpickles-jeweler-0.9.3.gem
|
40
|
+
- test/test_helper.rb
|
41
|
+
has_rdoc: true
|
42
|
+
homepage: http://github.com/technicalpickles/gemstalker
|
43
|
+
post_install_message:
|
44
|
+
rdoc_options:
|
45
|
+
- --inline-source
|
46
|
+
- --charset=UTF-8
|
47
|
+
require_paths:
|
48
|
+
- lib
|
49
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: "0"
|
54
|
+
version:
|
55
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
|
+
requirements:
|
57
|
+
- - ">="
|
58
|
+
- !ruby/object:Gem::Version
|
59
|
+
version: "0"
|
60
|
+
version:
|
61
|
+
requirements: []
|
62
|
+
|
63
|
+
rubyforge_project:
|
64
|
+
rubygems_version: 1.2.0
|
65
|
+
signing_key:
|
66
|
+
specification_version: 2
|
67
|
+
summary: GemStalker is a small library to determine if GitHub has built a gem yet.
|
68
|
+
test_files: []
|
69
|
+
|