charcoal 0.1.6 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.travis.yml +7 -3
- data/Appraisals +6 -4
- data/Gemfile +5 -3
- data/README.md +2 -2
- data/charcoal.gemspec +11 -13
- data/gemfiles/rails_2.3.gemfile +3 -2
- data/gemfiles/rails_3.2.gemfile +3 -2
- data/lib/charcoal/cors_controller.rb +16 -10
- data/lib/charcoal/version.rb +1 -1
- data/test/helper.rb +2 -0
- metadata +31 -38
- data/gemfiles/rails_2.3.gemfile.lock +0 -58
- data/gemfiles/rails_3.0.gemfile +0 -15
- data/gemfiles/rails_3.0.gemfile.lock +0 -104
- data/gemfiles/rails_3.1.gemfile +0 -15
- data/gemfiles/rails_3.1.gemfile.lock +0 -115
- data/gemfiles/rails_3.2.gemfile.lock +0 -113
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: c2b9d115a474b7323570364469ac972460ab8dc0
|
4
|
+
data.tar.gz: b285b15b478984c94aec28b60a566496a67c2672
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5d96db339355db4e360e7d483846e4f5ca9f7cd81214a96d8b7f911153abc501a32c9e294b3efbdb2b7e022aff6f4bc79abf0aa4d071953f163ac404d1605941
|
7
|
+
data.tar.gz: 43fe4602cad6fe0c8e54d0b14aa9e9ea7ac5716581b191d0a0aec13a14eee489fb64e2292b7b75cfcb3693d28442d4123d9229d56f19638c2757a5475dcc9c2e
|
data/.travis.yml
CHANGED
@@ -1,8 +1,12 @@
|
|
1
1
|
rvm:
|
2
|
-
- ree
|
3
|
-
- 1.9.2
|
4
2
|
- 1.9.3
|
3
|
+
- 2.0.0
|
5
4
|
gemfile:
|
6
5
|
- gemfiles/rails_2.3.gemfile
|
7
|
-
- gemfiles/rails_3.1.gemfile
|
8
6
|
- gemfiles/rails_3.2.gemfile
|
7
|
+
cache: bundler
|
8
|
+
script: "bundle exec rake test"
|
9
|
+
matrix:
|
10
|
+
exclude:
|
11
|
+
- rvm: 2.0.0
|
12
|
+
gemfile: gemfiles/rails_2.3.gemfile
|
data/Appraisals
CHANGED
data/Gemfile
CHANGED
@@ -1,14 +1,16 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
+
gem "bundler"
|
4
|
+
|
3
5
|
gem "activesupport", ">= 2.3.5"
|
4
6
|
gem "actionpack", ">= 2.3.5"
|
5
7
|
|
6
8
|
gem "rake", :group => :development
|
7
9
|
gem "yard", "~> 0.7", :group => :development
|
8
|
-
gem "jeweler",
|
10
|
+
gem "jeweler", :group => :development
|
9
11
|
|
10
12
|
gem "rails", ">= 2.3.5", :group => :test
|
11
13
|
gem "appraisal", ">= 0.5.0", :group => :test
|
12
|
-
gem "shoulda", "
|
13
|
-
gem "shoulda-context",
|
14
|
+
gem "shoulda", "~> 3.0", :group => :test
|
15
|
+
gem "shoulda-context", :group => :test
|
14
16
|
gem "mocha", :group => :test, :require => false
|
data/README.md
CHANGED
@@ -35,7 +35,7 @@ map.connect "*path.:format", :conditions => { :method => :options }, :action =>
|
|
35
35
|
|
36
36
|
Rails 3:
|
37
37
|
```ruby
|
38
|
-
|
38
|
+
match "*path.:format", :conditions => { :method => :options }, :action => "preflight", :controller => "C_O_R_S", :namespace => "charcoal/"
|
39
39
|
```
|
40
40
|
|
41
41
|
#### Configuration
|
@@ -106,7 +106,7 @@ This example adds the `allow_animals` directive that logs "QUACK!" if an applica
|
|
106
106
|
|
107
107
|
## Supported Versions
|
108
108
|
|
109
|
-
Tested with Ruby 1.
|
109
|
+
Tested with Ruby 1.9.3 and 2.0 and Rails 2.3 and 3.2.
|
110
110
|
[![Build Status](https://secure.travis-ci.org/steved555/charcoal.png?branch=master)](http://travis-ci.org/steved555/charcoal)
|
111
111
|
|
112
112
|
## Contributing to charcoal
|
data/charcoal.gemspec
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
# stub: charcoal 0.2.0 ruby lib
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
8
|
s.name = "charcoal"
|
8
|
-
s.version = "0.
|
9
|
+
s.version = "0.2.0"
|
9
10
|
|
10
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
12
|
s.authors = ["Steven Davidovitz"]
|
12
|
-
s.date = "2013-
|
13
|
+
s.date = "2013-12-19"
|
13
14
|
s.description = "Helps you support JSONP and CORS in your Rails app"
|
14
15
|
s.email = "sdavidovitz@zendesk.com"
|
15
16
|
s.extra_rdoc_files = [
|
@@ -25,13 +26,7 @@ Gem::Specification.new do |s|
|
|
25
26
|
"Rakefile",
|
26
27
|
"charcoal.gemspec",
|
27
28
|
"gemfiles/rails_2.3.gemfile",
|
28
|
-
"gemfiles/rails_2.3.gemfile.lock",
|
29
|
-
"gemfiles/rails_3.0.gemfile",
|
30
|
-
"gemfiles/rails_3.0.gemfile.lock",
|
31
|
-
"gemfiles/rails_3.1.gemfile",
|
32
|
-
"gemfiles/rails_3.1.gemfile.lock",
|
33
29
|
"gemfiles/rails_3.2.gemfile",
|
34
|
-
"gemfiles/rails_3.2.gemfile.lock",
|
35
30
|
"lib/charcoal.rb",
|
36
31
|
"lib/charcoal/controller_filter.rb",
|
37
32
|
"lib/charcoal/cors.rb",
|
@@ -48,31 +43,34 @@ Gem::Specification.new do |s|
|
|
48
43
|
s.homepage = "http://github.com/steved555/charcoal"
|
49
44
|
s.licenses = ["MIT"]
|
50
45
|
s.require_paths = ["lib"]
|
51
|
-
s.rubygems_version = "1.
|
46
|
+
s.rubygems_version = "2.1.11"
|
52
47
|
s.summary = "Cross-Origin helper for Rails"
|
53
48
|
|
54
49
|
if s.respond_to? :specification_version then
|
55
|
-
s.specification_version =
|
50
|
+
s.specification_version = 4
|
56
51
|
|
57
52
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
53
|
+
s.add_runtime_dependency(%q<bundler>, [">= 0"])
|
58
54
|
s.add_runtime_dependency(%q<activesupport>, [">= 2.3.5"])
|
59
55
|
s.add_runtime_dependency(%q<actionpack>, [">= 2.3.5"])
|
60
56
|
s.add_development_dependency(%q<rake>, [">= 0"])
|
61
57
|
s.add_development_dependency(%q<yard>, ["~> 0.7"])
|
62
|
-
s.add_development_dependency(%q<jeweler>, ["
|
58
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
63
59
|
else
|
60
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
64
61
|
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
|
65
62
|
s.add_dependency(%q<actionpack>, [">= 2.3.5"])
|
66
63
|
s.add_dependency(%q<rake>, [">= 0"])
|
67
64
|
s.add_dependency(%q<yard>, ["~> 0.7"])
|
68
|
-
s.add_dependency(%q<jeweler>, ["
|
65
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
69
66
|
end
|
70
67
|
else
|
68
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
71
69
|
s.add_dependency(%q<activesupport>, [">= 2.3.5"])
|
72
70
|
s.add_dependency(%q<actionpack>, [">= 2.3.5"])
|
73
71
|
s.add_dependency(%q<rake>, [">= 0"])
|
74
72
|
s.add_dependency(%q<yard>, ["~> 0.7"])
|
75
|
-
s.add_dependency(%q<jeweler>, ["
|
73
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
76
74
|
end
|
77
75
|
end
|
78
76
|
|
data/gemfiles/rails_2.3.gemfile
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
|
3
3
|
source "http://rubygems.org"
|
4
4
|
|
5
|
+
gem "bundler"
|
5
6
|
gem "activesupport", ">= 2.3.5"
|
6
7
|
gem "actionpack", ">= 2.3.5"
|
7
8
|
gem "rake", :group=>:development
|
8
9
|
gem "yard", "~> 0.7", :group=>:development
|
9
10
|
gem "jeweler", "~> 1.8.4", :group=>:development
|
10
11
|
gem "appraisal", ">= 0.5.0", :group=>:test
|
11
|
-
gem "shoulda", "
|
12
|
-
gem "shoulda-context",
|
12
|
+
gem "shoulda", "~> 3.0", :group=>:test
|
13
|
+
gem "shoulda-context", :group=>:test
|
13
14
|
gem "mocha", :group=>:test, :require=>false
|
14
15
|
gem "rails", "~> 2.3.0"
|
15
16
|
|
data/gemfiles/rails_3.2.gemfile
CHANGED
@@ -2,14 +2,15 @@
|
|
2
2
|
|
3
3
|
source "http://rubygems.org"
|
4
4
|
|
5
|
+
gem "bundler"
|
5
6
|
gem "activesupport", ">= 2.3.5"
|
6
7
|
gem "actionpack", ">= 2.3.5"
|
7
8
|
gem "rake", :group=>:development
|
8
9
|
gem "yard", "~> 0.7", :group=>:development
|
9
10
|
gem "jeweler", "~> 1.8.4", :group=>:development
|
10
11
|
gem "appraisal", ">= 0.5.0", :group=>:test
|
11
|
-
gem "shoulda", "
|
12
|
-
gem "shoulda-context",
|
12
|
+
gem "shoulda", "~> 3.0", :group=>:test
|
13
|
+
gem "shoulda-context", :group=>:test
|
13
14
|
gem "mocha", :group=>:test, :require=>false
|
14
15
|
gem "rails", "~> 3.2.0"
|
15
16
|
|
@@ -13,7 +13,22 @@ class Charcoal::CORSController < ActionController::Base
|
|
13
13
|
|
14
14
|
# OPTIONS *
|
15
15
|
def preflight
|
16
|
-
allowed_methods
|
16
|
+
if allowed_methods.any?
|
17
|
+
set_cors_headers
|
18
|
+
headers["Access-Control-Allow-Methods"] = allowed_methods.join(",").upcase
|
19
|
+
headers["Access-Control-Max-Age"] = Charcoal.configuration["max-age"].to_s
|
20
|
+
headers['Access-Control-Allow-Headers'] = Charcoal.configuration["allow-headers"].join(",")
|
21
|
+
end
|
22
|
+
|
23
|
+
head :ok, :content_type => "text/plain"
|
24
|
+
end
|
25
|
+
|
26
|
+
private
|
27
|
+
|
28
|
+
def allowed_methods
|
29
|
+
@allowed_methods ||= ActionController::Routing::HTTP_METHODS.select do |verb|
|
30
|
+
next if verb == :options
|
31
|
+
|
17
32
|
begin
|
18
33
|
route = if ActiveSupport::VERSION::MAJOR >= 3
|
19
34
|
Rails.application.routes.recognize_path(request.path, request.env.merge(:method => verb))
|
@@ -41,14 +56,5 @@ class Charcoal::CORSController < ActionController::Base
|
|
41
56
|
false
|
42
57
|
end
|
43
58
|
end
|
44
|
-
|
45
|
-
if allowed_methods.any?
|
46
|
-
set_cors_headers
|
47
|
-
headers["Access-Control-Allow-Methods"] = allowed_methods.join(",").upcase
|
48
|
-
headers["Access-Control-Max-Age"] = Charcoal.configuration["max-age"].to_s
|
49
|
-
headers['Access-Control-Allow-Headers'] = Charcoal.configuration["allow-headers"].join(",")
|
50
|
-
end
|
51
|
-
|
52
|
-
head :ok, :content_type => "text/plain"
|
53
59
|
end
|
54
60
|
end
|
data/lib/charcoal/version.rb
CHANGED
data/test/helper.rb
CHANGED
@@ -33,6 +33,7 @@ if ActiveSupport::VERSION::MAJOR >= 3
|
|
33
33
|
|
34
34
|
TestApp.routes.draw do
|
35
35
|
match '/test' => "test#test", :via => [:get, :put]
|
36
|
+
match "*path.:format", :conditions => { :method => :options }, :action => "preflight", :controller => "C_O_R_S", :namespace => "charcoal/"
|
36
37
|
match ':controller/:action'
|
37
38
|
end
|
38
39
|
|
@@ -49,6 +50,7 @@ else
|
|
49
50
|
|
50
51
|
ActionController::Routing::Routes.draw do |map|
|
51
52
|
map.connect '/test', :controller => :test, :action => :test, :conditions => { :method => [:get, :put] }
|
53
|
+
map.connect "*path.:format", :conditions => { :method => :options }, :action => "preflight", :controller => "CORS", :namespace => "charcoal/"
|
52
54
|
map.connect ':controller/:action'
|
53
55
|
end
|
54
56
|
|
metadata
CHANGED
@@ -1,68 +1,74 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: charcoal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.2.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Steven Davidovitz
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-19 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
14
27
|
- !ruby/object:Gem::Dependency
|
15
28
|
name: activesupport
|
16
29
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
30
|
requirements:
|
19
|
-
- -
|
31
|
+
- - '>='
|
20
32
|
- !ruby/object:Gem::Version
|
21
33
|
version: 2.3.5
|
22
34
|
type: :runtime
|
23
35
|
prerelease: false
|
24
36
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
37
|
requirements:
|
27
|
-
- -
|
38
|
+
- - '>='
|
28
39
|
- !ruby/object:Gem::Version
|
29
40
|
version: 2.3.5
|
30
41
|
- !ruby/object:Gem::Dependency
|
31
42
|
name: actionpack
|
32
43
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
44
|
requirements:
|
35
|
-
- -
|
45
|
+
- - '>='
|
36
46
|
- !ruby/object:Gem::Version
|
37
47
|
version: 2.3.5
|
38
48
|
type: :runtime
|
39
49
|
prerelease: false
|
40
50
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
51
|
requirements:
|
43
|
-
- -
|
52
|
+
- - '>='
|
44
53
|
- !ruby/object:Gem::Version
|
45
54
|
version: 2.3.5
|
46
55
|
- !ruby/object:Gem::Dependency
|
47
56
|
name: rake
|
48
57
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
58
|
requirements:
|
51
|
-
- -
|
59
|
+
- - '>='
|
52
60
|
- !ruby/object:Gem::Version
|
53
61
|
version: '0'
|
54
62
|
type: :development
|
55
63
|
prerelease: false
|
56
64
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
65
|
requirements:
|
59
|
-
- -
|
66
|
+
- - '>='
|
60
67
|
- !ruby/object:Gem::Version
|
61
68
|
version: '0'
|
62
69
|
- !ruby/object:Gem::Dependency
|
63
70
|
name: yard
|
64
71
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
72
|
requirements:
|
67
73
|
- - ~>
|
68
74
|
- !ruby/object:Gem::Version
|
@@ -70,7 +76,6 @@ dependencies:
|
|
70
76
|
type: :development
|
71
77
|
prerelease: false
|
72
78
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
79
|
requirements:
|
75
80
|
- - ~>
|
76
81
|
- !ruby/object:Gem::Version
|
@@ -78,19 +83,17 @@ dependencies:
|
|
78
83
|
- !ruby/object:Gem::Dependency
|
79
84
|
name: jeweler
|
80
85
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
86
|
requirements:
|
83
|
-
- -
|
87
|
+
- - '>='
|
84
88
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
89
|
+
version: '0'
|
86
90
|
type: :development
|
87
91
|
prerelease: false
|
88
92
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
93
|
requirements:
|
91
|
-
- -
|
94
|
+
- - '>='
|
92
95
|
- !ruby/object:Gem::Version
|
93
|
-
version:
|
96
|
+
version: '0'
|
94
97
|
description: Helps you support JSONP and CORS in your Rails app
|
95
98
|
email: sdavidovitz@zendesk.com
|
96
99
|
executables: []
|
@@ -107,13 +110,7 @@ files:
|
|
107
110
|
- Rakefile
|
108
111
|
- charcoal.gemspec
|
109
112
|
- gemfiles/rails_2.3.gemfile
|
110
|
-
- gemfiles/rails_2.3.gemfile.lock
|
111
|
-
- gemfiles/rails_3.0.gemfile
|
112
|
-
- gemfiles/rails_3.0.gemfile.lock
|
113
|
-
- gemfiles/rails_3.1.gemfile
|
114
|
-
- gemfiles/rails_3.1.gemfile.lock
|
115
113
|
- gemfiles/rails_3.2.gemfile
|
116
|
-
- gemfiles/rails_3.2.gemfile.lock
|
117
114
|
- lib/charcoal.rb
|
118
115
|
- lib/charcoal/controller_filter.rb
|
119
116
|
- lib/charcoal/cors.rb
|
@@ -129,29 +126,25 @@ files:
|
|
129
126
|
homepage: http://github.com/steved555/charcoal
|
130
127
|
licenses:
|
131
128
|
- MIT
|
129
|
+
metadata: {}
|
132
130
|
post_install_message:
|
133
131
|
rdoc_options: []
|
134
132
|
require_paths:
|
135
133
|
- lib
|
136
134
|
required_ruby_version: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
135
|
requirements:
|
139
|
-
- -
|
136
|
+
- - '>='
|
140
137
|
- !ruby/object:Gem::Version
|
141
138
|
version: '0'
|
142
|
-
segments:
|
143
|
-
- 0
|
144
|
-
hash: -2898595895829027545
|
145
139
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
140
|
requirements:
|
148
|
-
- -
|
141
|
+
- - '>='
|
149
142
|
- !ruby/object:Gem::Version
|
150
143
|
version: '0'
|
151
144
|
requirements: []
|
152
145
|
rubyforge_project:
|
153
|
-
rubygems_version: 1.
|
146
|
+
rubygems_version: 2.1.11
|
154
147
|
signing_key:
|
155
|
-
specification_version:
|
148
|
+
specification_version: 4
|
156
149
|
summary: Cross-Origin helper for Rails
|
157
150
|
test_files: []
|
@@ -1,58 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (2.3.14)
|
5
|
-
actionpack (= 2.3.14)
|
6
|
-
actionpack (2.3.14)
|
7
|
-
activesupport (= 2.3.14)
|
8
|
-
rack (~> 1.1.0)
|
9
|
-
activerecord (2.3.14)
|
10
|
-
activesupport (= 2.3.14)
|
11
|
-
activeresource (2.3.14)
|
12
|
-
activesupport (= 2.3.14)
|
13
|
-
activesupport (2.3.14)
|
14
|
-
appraisal (0.5.1)
|
15
|
-
bundler
|
16
|
-
rake
|
17
|
-
git (1.2.5)
|
18
|
-
jeweler (1.8.4)
|
19
|
-
bundler (~> 1.0)
|
20
|
-
git (>= 1.2.5)
|
21
|
-
rake
|
22
|
-
rdoc
|
23
|
-
json (1.7.5)
|
24
|
-
metaclass (0.0.1)
|
25
|
-
mocha (0.13.0)
|
26
|
-
metaclass (~> 0.0.1)
|
27
|
-
rack (1.1.3)
|
28
|
-
rails (2.3.14)
|
29
|
-
actionmailer (= 2.3.14)
|
30
|
-
actionpack (= 2.3.14)
|
31
|
-
activerecord (= 2.3.14)
|
32
|
-
activeresource (= 2.3.14)
|
33
|
-
activesupport (= 2.3.14)
|
34
|
-
rake (>= 0.8.3)
|
35
|
-
rake (10.0.2)
|
36
|
-
rdoc (3.12)
|
37
|
-
json (~> 1.4)
|
38
|
-
shoulda (3.0.1)
|
39
|
-
shoulda-context (~> 1.0.0)
|
40
|
-
shoulda-matchers (~> 1.0.0)
|
41
|
-
shoulda-context (1.0.0)
|
42
|
-
shoulda-matchers (1.0.0)
|
43
|
-
yard (0.8.3)
|
44
|
-
|
45
|
-
PLATFORMS
|
46
|
-
ruby
|
47
|
-
|
48
|
-
DEPENDENCIES
|
49
|
-
actionpack (>= 2.3.5)
|
50
|
-
activesupport (>= 2.3.5)
|
51
|
-
appraisal (>= 0.5.0)
|
52
|
-
jeweler (~> 1.8.4)
|
53
|
-
mocha
|
54
|
-
rails (~> 2.3.0)
|
55
|
-
rake
|
56
|
-
shoulda
|
57
|
-
shoulda-context
|
58
|
-
yard (~> 0.7)
|
data/gemfiles/rails_3.0.gemfile
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "http://rubygems.org"
|
4
|
-
|
5
|
-
gem "activesupport", ">= 2.3.5"
|
6
|
-
gem "actionpack", ">= 2.3.5"
|
7
|
-
gem "rake", :group=>:development
|
8
|
-
gem "yard", "~> 0.7", :group=>:development
|
9
|
-
gem "jeweler", "~> 1.8.4", :group=>:development
|
10
|
-
gem "appraisal", ">= 0.5.0", :group=>:test
|
11
|
-
gem "shoulda", ">= 0", :group=>:test
|
12
|
-
gem "shoulda-context", ">= 0", :group=>:test
|
13
|
-
gem "mocha", :group=>:test, :require=>false
|
14
|
-
gem "rails", "~> 3.0.0"
|
15
|
-
|
@@ -1,104 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
abstract (1.0.0)
|
5
|
-
actionmailer (3.0.17)
|
6
|
-
actionpack (= 3.0.17)
|
7
|
-
mail (~> 2.2.19)
|
8
|
-
actionpack (3.0.17)
|
9
|
-
activemodel (= 3.0.17)
|
10
|
-
activesupport (= 3.0.17)
|
11
|
-
builder (~> 2.1.2)
|
12
|
-
erubis (~> 2.6.6)
|
13
|
-
i18n (~> 0.5.0)
|
14
|
-
rack (~> 1.2.5)
|
15
|
-
rack-mount (~> 0.6.14)
|
16
|
-
rack-test (~> 0.5.7)
|
17
|
-
tzinfo (~> 0.3.23)
|
18
|
-
activemodel (3.0.17)
|
19
|
-
activesupport (= 3.0.17)
|
20
|
-
builder (~> 2.1.2)
|
21
|
-
i18n (~> 0.5.0)
|
22
|
-
activerecord (3.0.17)
|
23
|
-
activemodel (= 3.0.17)
|
24
|
-
activesupport (= 3.0.17)
|
25
|
-
arel (~> 2.0.10)
|
26
|
-
tzinfo (~> 0.3.23)
|
27
|
-
activeresource (3.0.17)
|
28
|
-
activemodel (= 3.0.17)
|
29
|
-
activesupport (= 3.0.17)
|
30
|
-
activesupport (3.0.17)
|
31
|
-
appraisal (0.5.1)
|
32
|
-
bundler
|
33
|
-
rake
|
34
|
-
arel (2.0.10)
|
35
|
-
builder (2.1.2)
|
36
|
-
erubis (2.6.6)
|
37
|
-
abstract (>= 1.0.0)
|
38
|
-
git (1.2.5)
|
39
|
-
i18n (0.5.0)
|
40
|
-
jeweler (1.8.4)
|
41
|
-
bundler (~> 1.0)
|
42
|
-
git (>= 1.2.5)
|
43
|
-
rake
|
44
|
-
rdoc
|
45
|
-
json (1.7.5)
|
46
|
-
mail (2.2.19)
|
47
|
-
activesupport (>= 2.3.6)
|
48
|
-
i18n (>= 0.4.0)
|
49
|
-
mime-types (~> 1.16)
|
50
|
-
treetop (~> 1.4.8)
|
51
|
-
metaclass (0.0.1)
|
52
|
-
mime-types (1.19)
|
53
|
-
mocha (0.13.0)
|
54
|
-
metaclass (~> 0.0.1)
|
55
|
-
polyglot (0.3.3)
|
56
|
-
rack (1.2.5)
|
57
|
-
rack-mount (0.6.14)
|
58
|
-
rack (>= 1.0.0)
|
59
|
-
rack-test (0.5.7)
|
60
|
-
rack (>= 1.0)
|
61
|
-
rails (3.0.17)
|
62
|
-
actionmailer (= 3.0.17)
|
63
|
-
actionpack (= 3.0.17)
|
64
|
-
activerecord (= 3.0.17)
|
65
|
-
activeresource (= 3.0.17)
|
66
|
-
activesupport (= 3.0.17)
|
67
|
-
bundler (~> 1.0)
|
68
|
-
railties (= 3.0.17)
|
69
|
-
railties (3.0.17)
|
70
|
-
actionpack (= 3.0.17)
|
71
|
-
activesupport (= 3.0.17)
|
72
|
-
rake (>= 0.8.7)
|
73
|
-
rdoc (~> 3.4)
|
74
|
-
thor (~> 0.14.4)
|
75
|
-
rake (10.0.2)
|
76
|
-
rdoc (3.12)
|
77
|
-
json (~> 1.4)
|
78
|
-
shoulda (3.3.2)
|
79
|
-
shoulda-context (~> 1.0.1)
|
80
|
-
shoulda-matchers (~> 1.4.1)
|
81
|
-
shoulda-context (1.0.1)
|
82
|
-
shoulda-matchers (1.4.1)
|
83
|
-
activesupport (>= 3.0.0)
|
84
|
-
thor (0.14.6)
|
85
|
-
treetop (1.4.12)
|
86
|
-
polyglot
|
87
|
-
polyglot (>= 0.3.1)
|
88
|
-
tzinfo (0.3.35)
|
89
|
-
yard (0.8.3)
|
90
|
-
|
91
|
-
PLATFORMS
|
92
|
-
ruby
|
93
|
-
|
94
|
-
DEPENDENCIES
|
95
|
-
actionpack (>= 2.3.5)
|
96
|
-
activesupport (>= 2.3.5)
|
97
|
-
appraisal (>= 0.5.0)
|
98
|
-
jeweler (~> 1.8.4)
|
99
|
-
mocha
|
100
|
-
rails (~> 3.0.0)
|
101
|
-
rake
|
102
|
-
shoulda
|
103
|
-
shoulda-context
|
104
|
-
yard (~> 0.7)
|
data/gemfiles/rails_3.1.gemfile
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
# This file was generated by Appraisal
|
2
|
-
|
3
|
-
source "http://rubygems.org"
|
4
|
-
|
5
|
-
gem "activesupport", ">= 2.3.5"
|
6
|
-
gem "actionpack", ">= 2.3.5"
|
7
|
-
gem "rake", :group=>:development
|
8
|
-
gem "yard", "~> 0.7", :group=>:development
|
9
|
-
gem "jeweler", "~> 1.8.4", :group=>:development
|
10
|
-
gem "appraisal", ">= 0.5.0", :group=>:test
|
11
|
-
gem "shoulda", ">= 0", :group=>:test
|
12
|
-
gem "shoulda-context", ">= 0", :group=>:test
|
13
|
-
gem "mocha", :group=>:test, :require=>false
|
14
|
-
gem "rails", "~> 3.1.0"
|
15
|
-
|
@@ -1,115 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (3.1.8)
|
5
|
-
actionpack (= 3.1.8)
|
6
|
-
mail (~> 2.3.3)
|
7
|
-
actionpack (3.1.8)
|
8
|
-
activemodel (= 3.1.8)
|
9
|
-
activesupport (= 3.1.8)
|
10
|
-
builder (~> 3.0.0)
|
11
|
-
erubis (~> 2.7.0)
|
12
|
-
i18n (~> 0.6)
|
13
|
-
rack (~> 1.3.6)
|
14
|
-
rack-cache (~> 1.2)
|
15
|
-
rack-mount (~> 0.8.2)
|
16
|
-
rack-test (~> 0.6.1)
|
17
|
-
sprockets (~> 2.0.4)
|
18
|
-
activemodel (3.1.8)
|
19
|
-
activesupport (= 3.1.8)
|
20
|
-
builder (~> 3.0.0)
|
21
|
-
i18n (~> 0.6)
|
22
|
-
activerecord (3.1.8)
|
23
|
-
activemodel (= 3.1.8)
|
24
|
-
activesupport (= 3.1.8)
|
25
|
-
arel (~> 2.2.3)
|
26
|
-
tzinfo (~> 0.3.29)
|
27
|
-
activeresource (3.1.8)
|
28
|
-
activemodel (= 3.1.8)
|
29
|
-
activesupport (= 3.1.8)
|
30
|
-
activesupport (3.1.8)
|
31
|
-
multi_json (>= 1.0, < 1.3)
|
32
|
-
appraisal (0.5.1)
|
33
|
-
bundler
|
34
|
-
rake
|
35
|
-
arel (2.2.3)
|
36
|
-
builder (3.0.4)
|
37
|
-
erubis (2.7.0)
|
38
|
-
git (1.2.5)
|
39
|
-
hike (1.2.1)
|
40
|
-
i18n (0.6.1)
|
41
|
-
jeweler (1.8.4)
|
42
|
-
bundler (~> 1.0)
|
43
|
-
git (>= 1.2.5)
|
44
|
-
rake
|
45
|
-
rdoc
|
46
|
-
json (1.7.5)
|
47
|
-
mail (2.3.3)
|
48
|
-
i18n (>= 0.4.0)
|
49
|
-
mime-types (~> 1.16)
|
50
|
-
treetop (~> 1.4.8)
|
51
|
-
metaclass (0.0.1)
|
52
|
-
mime-types (1.19)
|
53
|
-
mocha (0.13.0)
|
54
|
-
metaclass (~> 0.0.1)
|
55
|
-
multi_json (1.2.0)
|
56
|
-
polyglot (0.3.3)
|
57
|
-
rack (1.3.6)
|
58
|
-
rack-cache (1.2)
|
59
|
-
rack (>= 0.4)
|
60
|
-
rack-mount (0.8.3)
|
61
|
-
rack (>= 1.0.0)
|
62
|
-
rack-ssl (1.3.2)
|
63
|
-
rack
|
64
|
-
rack-test (0.6.2)
|
65
|
-
rack (>= 1.0)
|
66
|
-
rails (3.1.8)
|
67
|
-
actionmailer (= 3.1.8)
|
68
|
-
actionpack (= 3.1.8)
|
69
|
-
activerecord (= 3.1.8)
|
70
|
-
activeresource (= 3.1.8)
|
71
|
-
activesupport (= 3.1.8)
|
72
|
-
bundler (~> 1.0)
|
73
|
-
railties (= 3.1.8)
|
74
|
-
railties (3.1.8)
|
75
|
-
actionpack (= 3.1.8)
|
76
|
-
activesupport (= 3.1.8)
|
77
|
-
rack-ssl (~> 1.3.2)
|
78
|
-
rake (>= 0.8.7)
|
79
|
-
rdoc (~> 3.4)
|
80
|
-
thor (~> 0.14.6)
|
81
|
-
rake (10.0.2)
|
82
|
-
rdoc (3.12)
|
83
|
-
json (~> 1.4)
|
84
|
-
shoulda (3.3.2)
|
85
|
-
shoulda-context (~> 1.0.1)
|
86
|
-
shoulda-matchers (~> 1.4.1)
|
87
|
-
shoulda-context (1.0.1)
|
88
|
-
shoulda-matchers (1.4.1)
|
89
|
-
activesupport (>= 3.0.0)
|
90
|
-
sprockets (2.0.4)
|
91
|
-
hike (~> 1.2)
|
92
|
-
rack (~> 1.0)
|
93
|
-
tilt (~> 1.1, != 1.3.0)
|
94
|
-
thor (0.14.6)
|
95
|
-
tilt (1.3.3)
|
96
|
-
treetop (1.4.12)
|
97
|
-
polyglot
|
98
|
-
polyglot (>= 0.3.1)
|
99
|
-
tzinfo (0.3.35)
|
100
|
-
yard (0.8.3)
|
101
|
-
|
102
|
-
PLATFORMS
|
103
|
-
ruby
|
104
|
-
|
105
|
-
DEPENDENCIES
|
106
|
-
actionpack (>= 2.3.5)
|
107
|
-
activesupport (>= 2.3.5)
|
108
|
-
appraisal (>= 0.5.0)
|
109
|
-
jeweler (~> 1.8.4)
|
110
|
-
mocha
|
111
|
-
rails (~> 3.1.0)
|
112
|
-
rake
|
113
|
-
shoulda
|
114
|
-
shoulda-context
|
115
|
-
yard (~> 0.7)
|
@@ -1,113 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: http://rubygems.org/
|
3
|
-
specs:
|
4
|
-
actionmailer (3.2.8)
|
5
|
-
actionpack (= 3.2.8)
|
6
|
-
mail (~> 2.4.4)
|
7
|
-
actionpack (3.2.8)
|
8
|
-
activemodel (= 3.2.8)
|
9
|
-
activesupport (= 3.2.8)
|
10
|
-
builder (~> 3.0.0)
|
11
|
-
erubis (~> 2.7.0)
|
12
|
-
journey (~> 1.0.4)
|
13
|
-
rack (~> 1.4.0)
|
14
|
-
rack-cache (~> 1.2)
|
15
|
-
rack-test (~> 0.6.1)
|
16
|
-
sprockets (~> 2.1.3)
|
17
|
-
activemodel (3.2.8)
|
18
|
-
activesupport (= 3.2.8)
|
19
|
-
builder (~> 3.0.0)
|
20
|
-
activerecord (3.2.8)
|
21
|
-
activemodel (= 3.2.8)
|
22
|
-
activesupport (= 3.2.8)
|
23
|
-
arel (~> 3.0.2)
|
24
|
-
tzinfo (~> 0.3.29)
|
25
|
-
activeresource (3.2.8)
|
26
|
-
activemodel (= 3.2.8)
|
27
|
-
activesupport (= 3.2.8)
|
28
|
-
activesupport (3.2.8)
|
29
|
-
i18n (~> 0.6)
|
30
|
-
multi_json (~> 1.0)
|
31
|
-
appraisal (0.5.1)
|
32
|
-
bundler
|
33
|
-
rake
|
34
|
-
arel (3.0.2)
|
35
|
-
builder (3.0.4)
|
36
|
-
erubis (2.7.0)
|
37
|
-
git (1.2.5)
|
38
|
-
hike (1.2.1)
|
39
|
-
i18n (0.6.1)
|
40
|
-
jeweler (1.8.4)
|
41
|
-
bundler (~> 1.0)
|
42
|
-
git (>= 1.2.5)
|
43
|
-
rake
|
44
|
-
rdoc
|
45
|
-
journey (1.0.4)
|
46
|
-
json (1.7.5)
|
47
|
-
mail (2.4.4)
|
48
|
-
i18n (>= 0.4.0)
|
49
|
-
mime-types (~> 1.16)
|
50
|
-
treetop (~> 1.4.8)
|
51
|
-
metaclass (0.0.1)
|
52
|
-
mime-types (1.19)
|
53
|
-
mocha (0.13.0)
|
54
|
-
metaclass (~> 0.0.1)
|
55
|
-
multi_json (1.3.7)
|
56
|
-
polyglot (0.3.3)
|
57
|
-
rack (1.4.1)
|
58
|
-
rack-cache (1.2)
|
59
|
-
rack (>= 0.4)
|
60
|
-
rack-ssl (1.3.2)
|
61
|
-
rack
|
62
|
-
rack-test (0.6.2)
|
63
|
-
rack (>= 1.0)
|
64
|
-
rails (3.2.8)
|
65
|
-
actionmailer (= 3.2.8)
|
66
|
-
actionpack (= 3.2.8)
|
67
|
-
activerecord (= 3.2.8)
|
68
|
-
activeresource (= 3.2.8)
|
69
|
-
activesupport (= 3.2.8)
|
70
|
-
bundler (~> 1.0)
|
71
|
-
railties (= 3.2.8)
|
72
|
-
railties (3.2.8)
|
73
|
-
actionpack (= 3.2.8)
|
74
|
-
activesupport (= 3.2.8)
|
75
|
-
rack-ssl (~> 1.3.2)
|
76
|
-
rake (>= 0.8.7)
|
77
|
-
rdoc (~> 3.4)
|
78
|
-
thor (>= 0.14.6, < 2.0)
|
79
|
-
rake (10.0.2)
|
80
|
-
rdoc (3.12)
|
81
|
-
json (~> 1.4)
|
82
|
-
shoulda (3.3.2)
|
83
|
-
shoulda-context (~> 1.0.1)
|
84
|
-
shoulda-matchers (~> 1.4.1)
|
85
|
-
shoulda-context (1.0.1)
|
86
|
-
shoulda-matchers (1.4.1)
|
87
|
-
activesupport (>= 3.0.0)
|
88
|
-
sprockets (2.1.3)
|
89
|
-
hike (~> 1.2)
|
90
|
-
rack (~> 1.0)
|
91
|
-
tilt (~> 1.1, != 1.3.0)
|
92
|
-
thor (0.16.0)
|
93
|
-
tilt (1.3.3)
|
94
|
-
treetop (1.4.12)
|
95
|
-
polyglot
|
96
|
-
polyglot (>= 0.3.1)
|
97
|
-
tzinfo (0.3.35)
|
98
|
-
yard (0.8.3)
|
99
|
-
|
100
|
-
PLATFORMS
|
101
|
-
ruby
|
102
|
-
|
103
|
-
DEPENDENCIES
|
104
|
-
actionpack (>= 2.3.5)
|
105
|
-
activesupport (>= 2.3.5)
|
106
|
-
appraisal (>= 0.5.0)
|
107
|
-
jeweler (~> 1.8.4)
|
108
|
-
mocha
|
109
|
-
rails (~> 3.2.0)
|
110
|
-
rake
|
111
|
-
shoulda
|
112
|
-
shoulda-context
|
113
|
-
yard (~> 0.7)
|