freighthopper 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -7
- data/Gemfile +3 -2
- data/Gemfile.lock +23 -6
- data/README.textile +3 -0
- data/Rakefile +0 -2
- data/VERSION +1 -1
- data/freighthopper.gemspec +8 -7
- data/lib/freighthopper.rb +2 -2
- data/test/test_helper.rb +2 -2
- data/vendor/cache/activesupport-2.3.5.gem +0 -0
- data/vendor/cache/bundler-0.9.7.gem +0 -0
- data/vendor/cache/{test-rig-0.0.3.gem → test_rig-0.0.3.gem} +0 -0
- metadata +7 -6
- data/.bundle/environment.rb +0 -30
- data/README +0 -0
data/.gitignore
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -2,14 +2,31 @@
|
|
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
|
5
9
|
- shoulda:
|
6
10
|
version: 2.10.3
|
7
|
-
|
8
|
-
version: 0.0.3
|
9
|
-
hash: 588b0e9a1b6bf1d427a36ed6551864812cf2fd9d
|
11
|
+
hash: 6fa8e2209e4530047d2dd2e5c792a1a839ff306c
|
10
12
|
sources: []
|
11
13
|
|
12
14
|
dependencies:
|
13
|
-
|
14
|
-
|
15
|
-
|
15
|
+
shoulda:
|
16
|
+
version: ">= 0"
|
17
|
+
group:
|
18
|
+
- :test
|
19
|
+
test_rig:
|
20
|
+
version: = 0.0.3
|
21
|
+
group:
|
22
|
+
- :test
|
23
|
+
bundler:
|
24
|
+
version: = 0.9.7
|
25
|
+
group:
|
26
|
+
- :default
|
27
|
+
activesupport:
|
28
|
+
version: = 2.3.5
|
29
|
+
require:
|
30
|
+
- activesupport
|
31
|
+
group:
|
32
|
+
- :default
|
data/README.textile
ADDED
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/freighthopper.gemspec
CHANGED
@@ -5,26 +5,25 @@
|
|
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.5"
|
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-02-
|
12
|
+
s.date = %q{2010-02-24}
|
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}
|
16
16
|
s.executables = ["convert_to_should_syntax"]
|
17
17
|
s.extra_rdoc_files = [
|
18
18
|
"LICENSE",
|
19
|
-
"README"
|
19
|
+
"README.textile"
|
20
20
|
]
|
21
21
|
s.files = [
|
22
|
-
".
|
23
|
-
".gitignore",
|
22
|
+
".gitignore",
|
24
23
|
"Gemfile",
|
25
24
|
"Gemfile.lock",
|
26
25
|
"LICENSE",
|
27
|
-
"README",
|
26
|
+
"README.textile",
|
28
27
|
"Rakefile",
|
29
28
|
"VERSION",
|
30
29
|
"bin/convert_to_should_syntax",
|
@@ -41,8 +40,10 @@ Gem::Specification.new do |s|
|
|
41
40
|
"test/object_test.rb",
|
42
41
|
"test/string_test.rb",
|
43
42
|
"test/test_helper.rb",
|
43
|
+
"vendor/cache/activesupport-2.3.5.gem",
|
44
|
+
"vendor/cache/bundler-0.9.7.gem",
|
44
45
|
"vendor/cache/shoulda-2.10.3.gem",
|
45
|
-
"vendor/cache/
|
46
|
+
"vendor/cache/test_rig-0.0.3.gem"
|
46
47
|
]
|
47
48
|
s.homepage = %q{http://github.com/jbr/freighthopper}
|
48
49
|
s.rdoc_options = ["--charset=UTF-8"]
|
data/lib/freighthopper.rb
CHANGED
@@ -82,8 +82,8 @@ end
|
|
82
82
|
|
83
83
|
require 'pp'
|
84
84
|
module Kernel
|
85
|
-
def trace_output() @@trace_output end
|
86
|
-
def trace_output=(t) @@trace_output = t end
|
85
|
+
def self.trace_output() @@trace_output ||= false end
|
86
|
+
def self.trace_output=(t) @@trace_output = t end
|
87
87
|
%w(pp p puts).each do |method|
|
88
88
|
define_and_alias method, :source_and_passthrough do |*args|
|
89
89
|
puts_without_source_and_passthrough caller.first if Kernel.trace_output
|
data/test/test_helper.rb
CHANGED
@@ -4,10 +4,10 @@ begin
|
|
4
4
|
# Try to require the preresolved locked set of gems.
|
5
5
|
require File.expand_path('../../.bundle/environment', __FILE__)
|
6
6
|
rescue LoadError
|
7
|
-
#
|
7
|
+
#Fall back on doing an unlocked resolve at runtime.
|
8
8
|
require "rubygems"
|
9
9
|
require "bundler"
|
10
|
-
Bundler.setup
|
10
|
+
Bundler.setup :default, :test
|
11
11
|
end
|
12
12
|
|
13
13
|
Bundler.require :default, :test
|
Binary file
|
Binary file
|
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: freighthopper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Rothstein
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-02-
|
12
|
+
date: 2010-02-24 00:00:00 -08:00
|
13
13
|
default_executable: convert_to_should_syntax
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -21,14 +21,13 @@ extensions: []
|
|
21
21
|
|
22
22
|
extra_rdoc_files:
|
23
23
|
- LICENSE
|
24
|
-
- README
|
24
|
+
- README.textile
|
25
25
|
files:
|
26
|
-
- .bundle/environment.rb
|
27
26
|
- .gitignore
|
28
27
|
- Gemfile
|
29
28
|
- Gemfile.lock
|
30
29
|
- LICENSE
|
31
|
-
- README
|
30
|
+
- README.textile
|
32
31
|
- Rakefile
|
33
32
|
- VERSION
|
34
33
|
- bin/convert_to_should_syntax
|
@@ -45,8 +44,10 @@ files:
|
|
45
44
|
- test/object_test.rb
|
46
45
|
- test/string_test.rb
|
47
46
|
- test/test_helper.rb
|
47
|
+
- vendor/cache/activesupport-2.3.5.gem
|
48
|
+
- vendor/cache/bundler-0.9.7.gem
|
48
49
|
- vendor/cache/shoulda-2.10.3.gem
|
49
|
-
- vendor/cache/
|
50
|
+
- vendor/cache/test_rig-0.0.3.gem
|
50
51
|
has_rdoc: true
|
51
52
|
homepage: http://github.com/jbr/freighthopper
|
52
53
|
licenses: []
|
data/.bundle/environment.rb
DELETED
@@ -1,30 +0,0 @@
|
|
1
|
-
require 'digest/sha1'
|
2
|
-
|
3
|
-
# DO NOT MODIFY THIS FILE
|
4
|
-
module Bundler
|
5
|
-
FINGERPRINT = "588b0e9a1b6bf1d427a36ed6551864812cf2fd9d"
|
6
|
-
LOAD_PATHS = ["/Library/Ruby/Gems/1.8/gems/activesupport-2.3.5/lib", "/Library/Ruby/Gems/1.8/gems/shoulda-2.10.3/lib", "/Library/Ruby/Gems/1.8/gems/test-rig-0.0.3/lib"]
|
7
|
-
AUTOREQUIRES = {:test=>["test_rig", "shoulda"], :default=>["active_support"]}
|
8
|
-
|
9
|
-
def self.match_fingerprint
|
10
|
-
print = Digest::SHA1.hexdigest(File.read(File.expand_path('../../Gemfile', __FILE__)))
|
11
|
-
unless print == FINGERPRINT
|
12
|
-
abort 'Gemfile changed since you last locked. Please `bundle lock` to relock.'
|
13
|
-
end
|
14
|
-
end
|
15
|
-
|
16
|
-
def self.setup(*groups)
|
17
|
-
match_fingerprint
|
18
|
-
LOAD_PATHS.each { |path| $LOAD_PATH.unshift path }
|
19
|
-
end
|
20
|
-
|
21
|
-
def self.require(*groups)
|
22
|
-
groups = [:default] if groups.empty?
|
23
|
-
groups.each do |group|
|
24
|
-
(AUTOREQUIRES[group] || []).each { |file| Kernel.require file }
|
25
|
-
end
|
26
|
-
end
|
27
|
-
|
28
|
-
# Setup bundle when it's required.
|
29
|
-
setup
|
30
|
-
end
|
data/README
DELETED
File without changes
|