freighthopper 0.1.6 → 0.1.7
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/.gitignore +2 -1
- data/Gemfile +2 -3
- data/Gemfile.lock +4 -10
- data/VERSION +1 -1
- data/freighthopper.gemspec +4 -8
- data/lib/freighthopper.rb +1 -0
- data/test/array_test.rb +10 -0
- metadata +12 -9
- data/vendor/cache/activesupport-2.3.5.gem +0 -0
- data/vendor/cache/bundler-0.9.7.gem +0 -0
- data/vendor/cache/shoulda-2.10.3.gem +0 -0
- data/vendor/cache/test_rig-0.0.3.gem +0 -0
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
specs:
|
|
3
3
|
- activesupport:
|
|
4
4
|
version: 2.3.5
|
|
5
|
-
- bundler:
|
|
6
|
-
version: 0.9.7
|
|
7
|
-
- test_rig:
|
|
8
|
-
version: 0.0.3
|
|
9
5
|
- shoulda:
|
|
10
6
|
version: 2.10.3
|
|
11
|
-
|
|
7
|
+
- test_rig:
|
|
8
|
+
version: 0.0.3
|
|
9
|
+
hash: 36f75b5b994d20b47841bc6cc30c3e8bdd387129
|
|
12
10
|
sources: []
|
|
13
11
|
|
|
14
12
|
dependencies:
|
|
@@ -20,13 +18,9 @@ dependencies:
|
|
|
20
18
|
version: = 0.0.3
|
|
21
19
|
group:
|
|
22
20
|
- :test
|
|
23
|
-
bundler:
|
|
24
|
-
version: = 0.9.7
|
|
25
|
-
group:
|
|
26
|
-
- :default
|
|
27
21
|
activesupport:
|
|
28
22
|
version: = 2.3.5
|
|
29
23
|
require:
|
|
30
|
-
-
|
|
24
|
+
- active_support
|
|
31
25
|
group:
|
|
32
26
|
- :default
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.7
|
data/freighthopper.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{freighthopper}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.7"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Jacob Rothstein"]
|
|
12
|
-
s.date = %q{2010-04-
|
|
12
|
+
s.date = %q{2010-04-22}
|
|
13
13
|
s.default_executable = %q{convert_to_should_syntax}
|
|
14
14
|
s.description = %q{More core ext}
|
|
15
15
|
s.email = %q{github@jacobrothstein.com}
|
|
@@ -39,16 +39,12 @@ Gem::Specification.new do |s|
|
|
|
39
39
|
"test/lazy_alias_test.rb",
|
|
40
40
|
"test/object_test.rb",
|
|
41
41
|
"test/string_test.rb",
|
|
42
|
-
"test/test_helper.rb"
|
|
43
|
-
"vendor/cache/activesupport-2.3.5.gem",
|
|
44
|
-
"vendor/cache/bundler-0.9.7.gem",
|
|
45
|
-
"vendor/cache/shoulda-2.10.3.gem",
|
|
46
|
-
"vendor/cache/test_rig-0.0.3.gem"
|
|
42
|
+
"test/test_helper.rb"
|
|
47
43
|
]
|
|
48
44
|
s.homepage = %q{http://github.com/jbr/freighthopper}
|
|
49
45
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
50
46
|
s.require_paths = ["lib"]
|
|
51
|
-
s.rubygems_version = %q{1.3.
|
|
47
|
+
s.rubygems_version = %q{1.3.6}
|
|
52
48
|
s.summary = %q{Some extensions for riding the rails}
|
|
53
49
|
s.test_files = [
|
|
54
50
|
"test/array_test.rb",
|
data/lib/freighthopper.rb
CHANGED
data/test/array_test.rb
CHANGED
|
@@ -8,6 +8,16 @@ class ArrayTest < Test::Unit::TestCase
|
|
|
8
8
|
end
|
|
9
9
|
end
|
|
10
10
|
|
|
11
|
+
context 'exclude' do
|
|
12
|
+
should 'return false if the array includes the element' do
|
|
13
|
+
assert_not %w(a b c).exclude?('b')
|
|
14
|
+
end
|
|
15
|
+
|
|
16
|
+
should 'return true if the array does not include the element' do
|
|
17
|
+
assert %w(a b c).exclude?('z')
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
|
|
11
21
|
context 'singular' do
|
|
12
22
|
should 'return the singular object if there is indeed only one' do
|
|
13
23
|
assert_singular 5, [5]
|
metadata
CHANGED
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: freighthopper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
4
|
+
prerelease: false
|
|
5
|
+
segments:
|
|
6
|
+
- 0
|
|
7
|
+
- 1
|
|
8
|
+
- 7
|
|
9
|
+
version: 0.1.7
|
|
5
10
|
platform: ruby
|
|
6
11
|
authors:
|
|
7
12
|
- Jacob Rothstein
|
|
@@ -9,7 +14,7 @@ autorequire:
|
|
|
9
14
|
bindir: bin
|
|
10
15
|
cert_chain: []
|
|
11
16
|
|
|
12
|
-
date: 2010-04-
|
|
17
|
+
date: 2010-04-22 00:00:00 -07:00
|
|
13
18
|
default_executable: convert_to_should_syntax
|
|
14
19
|
dependencies: []
|
|
15
20
|
|
|
@@ -44,10 +49,6 @@ files:
|
|
|
44
49
|
- test/object_test.rb
|
|
45
50
|
- test/string_test.rb
|
|
46
51
|
- test/test_helper.rb
|
|
47
|
-
- vendor/cache/activesupport-2.3.5.gem
|
|
48
|
-
- vendor/cache/bundler-0.9.7.gem
|
|
49
|
-
- vendor/cache/shoulda-2.10.3.gem
|
|
50
|
-
- vendor/cache/test_rig-0.0.3.gem
|
|
51
52
|
has_rdoc: true
|
|
52
53
|
homepage: http://github.com/jbr/freighthopper
|
|
53
54
|
licenses: []
|
|
@@ -61,18 +62,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
61
62
|
requirements:
|
|
62
63
|
- - ">="
|
|
63
64
|
- !ruby/object:Gem::Version
|
|
65
|
+
segments:
|
|
66
|
+
- 0
|
|
64
67
|
version: "0"
|
|
65
|
-
version:
|
|
66
68
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
67
69
|
requirements:
|
|
68
70
|
- - ">="
|
|
69
71
|
- !ruby/object:Gem::Version
|
|
72
|
+
segments:
|
|
73
|
+
- 0
|
|
70
74
|
version: "0"
|
|
71
|
-
version:
|
|
72
75
|
requirements: []
|
|
73
76
|
|
|
74
77
|
rubyforge_project:
|
|
75
|
-
rubygems_version: 1.3.
|
|
78
|
+
rubygems_version: 1.3.6
|
|
76
79
|
signing_key:
|
|
77
80
|
specification_version: 3
|
|
78
81
|
summary: Some extensions for riding the rails
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|