ggem 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +1 -1
- data/Gemfile.lock +5 -5
- data/Rakefile +2 -4
- data/ggem.gemspec +2 -2
- data/lib/ggem/version.rb +3 -3
- data/test/gem_test.rb +7 -7
- data/test/helper.rb +5 -3
- data/test/irb.rb +3 -4
- metadata +14 -13
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,21 +1,21 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ggem (1.1.
|
4
|
+
ggem (1.1.1)
|
5
5
|
bundler (~> 1.0)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
|
-
|
10
|
+
ansi (1.3.0)
|
11
|
+
assert (0.2.1)
|
12
|
+
ansi (~> 1.3)
|
11
13
|
rake (0.9.2)
|
12
|
-
test-belt (2.0.0)
|
13
|
-
leftright (~> 0.9.0)
|
14
14
|
|
15
15
|
PLATFORMS
|
16
16
|
ruby
|
17
17
|
|
18
18
|
DEPENDENCIES
|
19
|
+
assert (~> 0.2.0)
|
19
20
|
ggem!
|
20
21
|
rake (~> 0.9.2)
|
21
|
-
test-belt (~> 2.0)
|
data/Rakefile
CHANGED
data/ggem.gemspec
CHANGED
@@ -4,7 +4,7 @@ require "ggem/version"
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "ggem"
|
7
|
-
s.version =
|
7
|
+
s.version = GGem::VERSION
|
8
8
|
s.platform = Gem::Platform::RUBY
|
9
9
|
s.authors = ["Kelly Redding"]
|
10
10
|
s.email = ["kelly@kelredd.com"]
|
@@ -18,5 +18,5 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.require_paths = ["lib"]
|
19
19
|
|
20
20
|
s.add_dependency("bundler", ["~> 1.0"])
|
21
|
-
s.add_development_dependency("
|
21
|
+
s.add_development_dependency("assert", ["~> 0.2.0"])
|
22
22
|
end
|
data/lib/ggem/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
|
-
module
|
2
|
-
VERSION = "1.1.
|
3
|
-
end
|
1
|
+
module GGem
|
2
|
+
VERSION = "1.1.1"
|
3
|
+
end
|
data/test/gem_test.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
require "
|
1
|
+
require "assert"
|
2
2
|
require "name_set"
|
3
3
|
|
4
|
-
|
5
|
-
class GGemTest < Test::Unit::TestCase
|
6
|
-
include TestBelt
|
4
|
+
require "ggem/gem"
|
7
5
|
|
8
|
-
|
6
|
+
module GGem
|
7
|
+
class GGemTest < Assert::Context
|
8
|
+
desc "GGem::Gem"
|
9
9
|
end
|
10
10
|
|
11
11
|
class RootPathTest < GGemTest
|
@@ -26,7 +26,7 @@ module GGem
|
|
26
26
|
class SaveTest < GGemTest
|
27
27
|
NS = GGem::NameSet::Simple.new
|
28
28
|
|
29
|
-
|
29
|
+
desc "after it's been saved"
|
30
30
|
setup_once do
|
31
31
|
FileUtils.mkdir_p(TMP_PATH)
|
32
32
|
Gem.new(TMP_PATH, NS.variations.first).save
|
@@ -40,4 +40,4 @@ module GGem
|
|
40
40
|
end)
|
41
41
|
end
|
42
42
|
|
43
|
-
end
|
43
|
+
end
|
data/test/helper.rb
CHANGED
@@ -1,8 +1,10 @@
|
|
1
|
-
# this file is automatically required in when you require '
|
1
|
+
# this file is automatically required in when you require 'assert'
|
2
2
|
# put test helpers here
|
3
|
-
require 'ggem'
|
4
3
|
|
5
|
-
|
4
|
+
# add test dir to the load path
|
5
|
+
$LOAD_PATH.unshift(File.expand_path("..", __FILE__))
|
6
|
+
|
7
|
+
class Assert::Context
|
6
8
|
TMP_PATH = File.expand_path("#{File.dirname(__FILE__)}/../tmp")
|
7
9
|
|
8
10
|
class << self
|
data/test/irb.rb
CHANGED
@@ -1,10 +1,9 @@
|
|
1
|
-
require '
|
1
|
+
require 'assert/setup'
|
2
2
|
|
3
3
|
# this file is required in when the 'irb' rake test is run.
|
4
|
-
# b/c '
|
5
|
-
# be added to the LOAD_PATH and the test helper will be
|
4
|
+
# b/c 'assert' is required above, the test helper will be
|
6
5
|
# required in.
|
7
6
|
|
8
7
|
# put any IRB setup code here
|
9
8
|
|
10
|
-
require 'ggem'
|
9
|
+
require 'ggem'
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ggem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Kelly Redding
|
@@ -15,9 +15,11 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-22 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
|
+
prerelease: false
|
22
|
+
type: :runtime
|
21
23
|
requirement: &id001 !ruby/object:Gem::Requirement
|
22
24
|
none: false
|
23
25
|
requirements:
|
@@ -28,25 +30,24 @@ dependencies:
|
|
28
30
|
- 1
|
29
31
|
- 0
|
30
32
|
version: "1.0"
|
31
|
-
version_requirements: *id001
|
32
|
-
prerelease: false
|
33
33
|
name: bundler
|
34
|
-
|
34
|
+
version_requirements: *id001
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
|
+
prerelease: false
|
37
|
+
type: :development
|
36
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
37
39
|
none: false
|
38
40
|
requirements:
|
39
41
|
- - ~>
|
40
42
|
- !ruby/object:Gem::Version
|
41
|
-
hash:
|
43
|
+
hash: 23
|
42
44
|
segments:
|
45
|
+
- 0
|
43
46
|
- 2
|
44
47
|
- 0
|
45
|
-
version:
|
48
|
+
version: 0.2.0
|
49
|
+
name: assert
|
46
50
|
version_requirements: *id002
|
47
|
-
prerelease: false
|
48
|
-
name: test-belt
|
49
|
-
type: :development
|
50
51
|
description: Quickly, easily, consistantly generate a ruby gem project ready to build, test, and deploy. Uses Bundler's gem building features.
|
51
52
|
email:
|
52
53
|
- kelly@kelredd.com
|
@@ -111,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
111
112
|
requirements: []
|
112
113
|
|
113
114
|
rubyforge_project:
|
114
|
-
rubygems_version: 1.
|
115
|
+
rubygems_version: 1.8.8
|
115
116
|
signing_key:
|
116
117
|
specification_version: 3
|
117
118
|
summary: "\"Juh Gem\", baby! (this makes gems)"
|