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 CHANGED
@@ -1,7 +1,2 @@
1
- .svn
2
- lib/svn
3
- vendor/gems/gems/*
4
- vendor/gems/specifications/*
5
- vendor/gems/doc/*
6
- vendor/gems/environment.rb
7
- pkg/*
1
+ pkg/*
2
+ .bundle
data/Gemfile CHANGED
@@ -1,6 +1,7 @@
1
- gem 'activesupport', :require => 'active_support'
1
+ gem 'activesupport', '2.3.5', :require => 'activesupport'
2
+ gem 'bundler', '0.9.7'
2
3
 
3
4
  group :test do
4
- gem "test-rig", '0.0.3', :require => "test_rig"
5
+ gem "test_rig", '0.0.3'
5
6
  gem 'shoulda'
6
7
  end
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
- - test-rig:
8
- version: 0.0.3
9
- hash: 588b0e9a1b6bf1d427a36ed6551864812cf2fd9d
11
+ hash: 6fa8e2209e4530047d2dd2e5c792a1a839ff306c
10
12
  sources: []
11
13
 
12
14
  dependencies:
13
- - activesupport: ">= 0"
14
- - test-rig: = 0.0.3
15
- - shoulda: ">= 0"
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
@@ -0,0 +1,3 @@
1
+ h1. Freighthopper
2
+
3
+ h2. Some monkeypatches for riding the Rails
data/Rakefile CHANGED
@@ -24,6 +24,4 @@ Rake::TestTask.new(:test) do |test|
24
24
  test.verbose = true
25
25
  end
26
26
 
27
- task :test => :check_dependencies
28
-
29
27
  task :default => :test
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
@@ -5,26 +5,25 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{freighthopper}
8
- s.version = "0.1.4"
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-19}
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
- ".bundle/environment.rb",
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/test-rig-0.0.3.gem"
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
- # Fall back on doing an unlocked resolve at runtime.
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
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
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-19 00:00:00 -08:00
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/test-rig-0.0.3.gem
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: []
@@ -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