quantipay-foreign_domain_routing 1.0.0 → 1.0.3

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/README CHANGED
@@ -1,6 +1,6 @@
1
1
  Foreign Domain Routing +
2
2
  Request Routing Plugin for Ruby on Rails
3
- =========================================
3
+ -----------------------------------------
4
4
  = Foreign Domain Request Routing
5
5
 
6
6
  -------------------------------------------------------------------------------
@@ -121,3 +121,6 @@ The allowed properties are:
121
121
  :request_uri (the entire request uri)
122
122
  :protocol (either http:// or https://)
123
123
 
124
+ == Copyright
125
+
126
+ Copyright (c) 2009 Joe Scharf. See LICENSE for details.
data/Rakefile CHANGED
@@ -1,22 +1,56 @@
1
+ require 'rubygems'
1
2
  require 'rake'
3
+
4
+ begin
5
+ require 'jeweler'
6
+ Jeweler::Tasks.new do |gem|
7
+ gem.name = "foreign_domain_routing"
8
+ gem.summary = %Q{This version of foreign_domain_routing merges foreign_domain_routing with request_routing}
9
+ gem.email = "joe@quantipay.com"
10
+ gem.homepage = "http://github.com/quantipay/foreign_domain_routing"
11
+ gem.authors = ["Joe Scharf"]
12
+
13
+ # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
14
+ end
15
+ rescue LoadError
16
+ puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
17
+ end
18
+
2
19
  require 'rake/testtask'
3
- require 'rake/rdoctask'
20
+ Rake::TestTask.new(:test) do |test|
21
+ test.libs << 'lib' << 'test'
22
+ test.pattern = 'test/**/*_test.rb'
23
+ test.verbose = false
24
+ end
25
+
26
+ begin
27
+ require 'rcov/rcovtask'
28
+ Rcov::RcovTask.new do |test|
29
+ test.libs << 'test'
30
+ test.pattern = 'test/**/*_test.rb'
31
+ test.verbose = true
32
+ end
33
+ rescue LoadError
34
+ task :rcov do
35
+ abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
36
+ end
37
+ end
38
+
4
39
 
5
- desc 'Default: run unit tests.'
6
40
  task :default => :test
7
41
 
8
- desc 'Test the foreign_domain_routing plugin.'
9
- Rake::TestTask.new(:test) do |t|
10
- t.libs << 'lib'
11
- t.pattern = 'test/**/*_test.rb'
12
- t.verbose = true
13
- end
42
+ require 'rake/rdoctask'
43
+ Rake::RDocTask.new do |rdoc|
44
+ if File.exist?('VERSION.yml')
45
+ config = YAML.load(File.read('VERSION.yml'))
46
+ version = "#{config[:major]}.#{config[:minor]}.#{config[:patch]}"
47
+ else
48
+ version = ""
49
+ end
14
50
 
15
- desc 'Generate documentation for the foreign_domain_routing plugin.'
16
- Rake::RDocTask.new(:rdoc) do |rdoc|
17
51
  rdoc.rdoc_dir = 'rdoc'
18
- rdoc.title = 'Foreign Domain Routing'
19
- rdoc.options << '--line-numbers' << '--inline-source'
20
- rdoc.rdoc_files.include('README')
52
+ rdoc.title = "foreign-domain-routing-gem #{version}"
53
+ rdoc.rdoc_files.include('README*')
21
54
  rdoc.rdoc_files.include('lib/**/*.rb')
22
55
  end
56
+
@@ -0,0 +1,4 @@
1
+ ---
2
+ :patch: 3
3
+ :major: 1
4
+ :minor: 0
@@ -1,6 +1,4 @@
1
- require 'rubygems'
2
- require 'test/unit'
3
- require 'action_controller'
1
+ require 'test_helper'
4
2
 
5
3
  require File.dirname(__FILE__) + "/../init"
6
4
  RAILS_ENV = :test
@@ -0,0 +1,12 @@
1
+ require 'rubygems'
2
+ require 'test/unit'
3
+ require 'shoulda'
4
+ require 'action_controller'
5
+
6
+
7
+ $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
8
+ $LOAD_PATH.unshift(File.dirname(__FILE__))
9
+ require 'foreign_domain_routing'
10
+
11
+ class Test::Unit::TestCase
12
+ end
metadata CHANGED
@@ -1,46 +1,39 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: quantipay-foreign_domain_routing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
- - Multiple
7
+ - Joe Scharf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-04 00:00:00 -08:00
12
+ date: 2009-04-06 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
16
- description: This version of foreign_domain_routing merges foreign_domain_routing with request_routing
16
+ description:
17
17
  email: joe@quantipay.com
18
18
  executables: []
19
19
 
20
20
  extensions: []
21
21
 
22
- extra_rdoc_files: []
23
-
22
+ extra_rdoc_files:
23
+ - README
24
24
  files:
25
- - init.rb
26
- - lib
27
- - lib/foreign_domain_routing
28
- - lib/foreign_domain_routing/routing_extensions.rb
25
+ - Rakefile
26
+ - VERSION.yml
29
27
  - lib/foreign_domain_routing.rb
30
- - rails
28
+ - lib/foreign_domain_routing/routing_extensions.rb
31
29
  - rails/init.rb
32
- - tasks
33
- - tasks/foreign_domain_routing_tasks.rake
34
- - test
35
30
  - test/foreign_domain_routing_test.rb
36
- - MIT-LICENSE
37
- - Rakefile
31
+ - test/test_helper.rb
38
32
  - README
39
33
  has_rdoc: true
40
34
  homepage: http://github.com/quantipay/foreign_domain_routing
41
35
  post_install_message:
42
36
  rdoc_options:
43
- - --inline-source
44
37
  - --charset=UTF-8
45
38
  require_paths:
46
39
  - lib
@@ -58,10 +51,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
58
51
  version:
59
52
  requirements: []
60
53
 
61
- rubyforge_project: foreign_domain_routing
54
+ rubyforge_project:
62
55
  rubygems_version: 1.2.0
63
56
  signing_key:
64
57
  specification_version: 2
65
58
  summary: This version of foreign_domain_routing merges foreign_domain_routing with request_routing
66
- test_files: []
67
-
59
+ test_files:
60
+ - test/foreign_domain_routing_test.rb
61
+ - test/test_helper.rb
@@ -1,21 +0,0 @@
1
- Copyright (c) 2008 Michael Bleigh (http://www.mbleigh.com) and
2
- Intridea, Inc (http://www.intridea.com)
3
-
4
- Permission is hereby granted, free of charge, to any person obtaining
5
- a copy of this software and associated documentation files (the
6
- "Software"), to deal in the Software without restriction, including
7
- without limitation the rights to use, copy, modify, merge, publish,
8
- distribute, sublicense, and/or sell copies of the Software, and to
9
- permit persons to whom the Software is furnished to do so, subject to
10
- the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be
13
- included in all copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/init.rb DELETED
@@ -1 +0,0 @@
1
- require File.dirname(__FILE__) + "/rails/init"
@@ -1,4 +0,0 @@
1
- # desc "Explaining what the task does"
2
- # task :foreign_domain_routing do
3
- # # Task goes here
4
- # end