conduit 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Rakefile +22 -0
- data/app/controllers/conduit/responses_controller.rb +14 -0
- data/app/models/conduit/concerns/storage.rb +41 -0
- data/app/models/conduit/request.rb +109 -0
- data/app/models/conduit/response.rb +50 -0
- data/app/models/conduit/subscription.rb +6 -0
- data/config/routes.rb +3 -0
- data/db/migrate/20131209223122_create_conduit_requests.rb +13 -0
- data/db/migrate/20131209223734_create_conduit_responses.rb +10 -0
- data/db/migrate/20140305202729_create_conduit_subscriptions.rb +12 -0
- data/lib/conduit.rb +60 -0
- data/lib/conduit/acts_as_conduit_subscriber.rb +41 -0
- data/lib/conduit/configuration.rb +43 -0
- data/lib/conduit/core/action.rb +136 -0
- data/lib/conduit/core/connection.rb +85 -0
- data/lib/conduit/core/driver.rb +83 -0
- data/lib/conduit/core/parser.rb +55 -0
- data/lib/conduit/core/render.rb +69 -0
- data/lib/conduit/drivers/keep +0 -0
- data/lib/conduit/engine.rb +20 -0
- data/lib/conduit/storage.rb +37 -0
- data/lib/conduit/storage/aws.rb +94 -0
- data/lib/conduit/storage/file.rb +74 -0
- data/lib/conduit/util.rb +17 -0
- data/lib/conduit/version.rb +3 -0
- data/lib/tasks/conduit_tasks.rake +4 -0
- data/spec/classes/acts_as_conduit_subscriber_spec.rb +61 -0
- data/spec/classes/core/action_spec.rb +53 -0
- data/spec/classes/core/driver_spec.rb +24 -0
- data/spec/controllers/responses_controller_spec.rb +29 -0
- data/spec/dummy/README.rdoc +28 -0
- data/spec/dummy/Rakefile +6 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +5 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/bin/bundle +3 -0
- data/spec/dummy/bin/rails +4 -0
- data/spec/dummy/bin/rake +4 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +29 -0
- data/spec/dummy/config/boot.rb +5 -0
- data/spec/dummy/config/database.yml +20 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +29 -0
- data/spec/dummy/config/environments/production.rb +80 -0
- data/spec/dummy/config/environments/test.rb +36 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/conduit.rb +5 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/dummy/config/initializers/inflections.rb +16 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +12 -0
- data/spec/dummy/config/initializers/session_store.rb +3 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +23 -0
- data/spec/dummy/config/routes.rb +3 -0
- data/spec/dummy/db/schema.rb +46 -0
- data/spec/dummy/lib/conduit/drivers/my_driver/actions/foo.rb +10 -0
- data/spec/dummy/lib/conduit/drivers/my_driver/driver.rb +7 -0
- data/spec/dummy/lib/conduit/drivers/my_driver/parsers/foo.rb +13 -0
- data/spec/dummy/lib/conduit/drivers/my_driver/views/foo.erb +5 -0
- data/spec/dummy/lib/conduit/drivers/my_driver/views/layout.erb +3 -0
- data/spec/dummy/log/development.log +0 -0
- data/spec/dummy/log/test.log +9707 -0
- data/spec/dummy/public/404.html +58 -0
- data/spec/dummy/public/422.html +58 -0
- data/spec/dummy/public/500.html +57 -0
- data/spec/dummy/tmp/conduit/1/my_driver/foo/1-response.xml +3 -0
- data/spec/dummy/tmp/conduit/1/my_driver/foo/request.xml +7 -0
- data/spec/models/conduit/request_spec.rb +50 -0
- data/spec/models/conduit/response_spec.rb +52 -0
- data/spec/spec_helper.rb +36 -0
- data/spec/support/helper.rb +15 -0
- data/spec/support/xml/xml_request.xml +7 -0
- data/spec/support/xml/xml_response.xml +3 -0
- metadata +311 -0
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/404.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
54
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,58 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/422.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>The change you wanted was rejected.</h1>
|
54
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
55
|
+
</div>
|
56
|
+
<p>If you are the application owner check the logs for more information.</p>
|
57
|
+
</body>
|
58
|
+
</html>
|
@@ -0,0 +1,57 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style>
|
6
|
+
body {
|
7
|
+
background-color: #EFEFEF;
|
8
|
+
color: #2E2F30;
|
9
|
+
text-align: center;
|
10
|
+
font-family: arial, sans-serif;
|
11
|
+
}
|
12
|
+
|
13
|
+
div.dialog {
|
14
|
+
width: 25em;
|
15
|
+
margin: 4em auto 0 auto;
|
16
|
+
border: 1px solid #CCC;
|
17
|
+
border-right-color: #999;
|
18
|
+
border-left-color: #999;
|
19
|
+
border-bottom-color: #BBB;
|
20
|
+
border-top: #B00100 solid 4px;
|
21
|
+
border-top-left-radius: 9px;
|
22
|
+
border-top-right-radius: 9px;
|
23
|
+
background-color: white;
|
24
|
+
padding: 7px 4em 0 4em;
|
25
|
+
}
|
26
|
+
|
27
|
+
h1 {
|
28
|
+
font-size: 100%;
|
29
|
+
color: #730E15;
|
30
|
+
line-height: 1.5em;
|
31
|
+
}
|
32
|
+
|
33
|
+
body > p {
|
34
|
+
width: 33em;
|
35
|
+
margin: 0 auto 1em;
|
36
|
+
padding: 1em 0;
|
37
|
+
background-color: #F7F7F7;
|
38
|
+
border: 1px solid #CCC;
|
39
|
+
border-right-color: #999;
|
40
|
+
border-bottom-color: #999;
|
41
|
+
border-bottom-left-radius: 4px;
|
42
|
+
border-bottom-right-radius: 4px;
|
43
|
+
border-top-color: #DADADA;
|
44
|
+
color: #666;
|
45
|
+
box-shadow:0 3px 8px rgba(50, 50, 50, 0.17);
|
46
|
+
}
|
47
|
+
</style>
|
48
|
+
</head>
|
49
|
+
|
50
|
+
<body>
|
51
|
+
<!-- This file lives in public/500.html -->
|
52
|
+
<div class="dialog">
|
53
|
+
<h1>We're sorry, but something went wrong.</h1>
|
54
|
+
</div>
|
55
|
+
<p>If you are the application owner check the logs for more information.</p>
|
56
|
+
</body>
|
57
|
+
</html>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Conduit::Request do
|
4
|
+
|
5
|
+
let(:xml_request) do
|
6
|
+
read_support_file('xml/xml_request.xml')
|
7
|
+
end
|
8
|
+
|
9
|
+
subject do
|
10
|
+
Excon.stub({}, body: read_support_file("xml/xml_response.xml"), status: 200)
|
11
|
+
|
12
|
+
Conduit::Request.create(driver: :my_driver, action: :foo,
|
13
|
+
options: request_attributes)
|
14
|
+
end
|
15
|
+
|
16
|
+
before do
|
17
|
+
subject.perform_request
|
18
|
+
end
|
19
|
+
|
20
|
+
describe "#create" do
|
21
|
+
it "generates a file path for storage" do
|
22
|
+
subject.file.should_not be_nil
|
23
|
+
end
|
24
|
+
|
25
|
+
it "saves the record to the database" do
|
26
|
+
subject.persisted?.should be_true
|
27
|
+
end
|
28
|
+
|
29
|
+
it "creates a response in the database" do
|
30
|
+
subject.responses.should_not be_empty
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe "#destroy" do
|
35
|
+
before { subject.destroy }
|
36
|
+
|
37
|
+
it "removes the record from the database" do
|
38
|
+
subject.destroyed?.should be_true
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
describe '#content' do
|
43
|
+
it "returns the xml view" do
|
44
|
+
a = subject.content.gsub(/\s+/, "") # Strip whitespace for comparison
|
45
|
+
b = xml_request.gsub(/\s+/, "") # Strip whitespace for comparison
|
46
|
+
a.should == b
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
@@ -0,0 +1,52 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Conduit::Response do
|
4
|
+
|
5
|
+
before do
|
6
|
+
Excon.stub({}, body: read_support_file("xml/xml_response.xml"), status: 200)
|
7
|
+
|
8
|
+
@request = Conduit::Request.create(driver: :my_driver, action: :foo,
|
9
|
+
options: request_attributes)
|
10
|
+
@request.perform_request
|
11
|
+
end
|
12
|
+
|
13
|
+
let(:xml_response) do
|
14
|
+
read_support_file('xml/xml_response.xml')
|
15
|
+
end
|
16
|
+
|
17
|
+
subject { @request.responses.first }
|
18
|
+
|
19
|
+
describe "#create" do
|
20
|
+
it "generates a file path from the request" do
|
21
|
+
File.dirname(subject.file).should eq File.dirname(@request.file)
|
22
|
+
end
|
23
|
+
|
24
|
+
it "saves the record to the database" do
|
25
|
+
subject.persisted?.should be_true
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
describe "#destroy" do
|
30
|
+
before { subject.destroy }
|
31
|
+
|
32
|
+
it "removes the record from the database" do
|
33
|
+
subject.destroyed?.should be_true
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
describe '#content' do
|
38
|
+
it "returns the xml view" do
|
39
|
+
a = subject.content.gsub(/\s+/, "") # Strip whitespace for comparison
|
40
|
+
b = xml_response.gsub(/\s+/, "") # Strip whitespace for comparison
|
41
|
+
a.should == b
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe "#parsed_content" do
|
46
|
+
it "returns a parser object" do
|
47
|
+
klass = Conduit::Driver::MyDriver::Foo::Parser
|
48
|
+
subject.parsed_content.class.should == klass
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
# Configure Rails Envinronment
|
2
|
+
#
|
3
|
+
ENV["RAILS_ENV"] = "test"
|
4
|
+
|
5
|
+
# Require Files
|
6
|
+
#
|
7
|
+
require File.expand_path("../dummy/config/environment",__FILE__)
|
8
|
+
require 'rspec/rails'
|
9
|
+
require 'database_cleaner'
|
10
|
+
require 'shoulda/matchers/integrations/rspec'
|
11
|
+
|
12
|
+
# Load all of the _spec.rb files
|
13
|
+
#
|
14
|
+
Dir[File.join(File.dirname(__FILE__), 'support', '**', '*.rb')].each { |f| require f }
|
15
|
+
|
16
|
+
# Rspec Configuration
|
17
|
+
#
|
18
|
+
RSpec.configure do |config|
|
19
|
+
config.include Helper
|
20
|
+
|
21
|
+
config.use_transactional_fixtures = false
|
22
|
+
|
23
|
+
config.before(:suite) do
|
24
|
+
Excon.defaults[:mock] = true
|
25
|
+
DatabaseCleaner.clean_with(:truncation)
|
26
|
+
end
|
27
|
+
|
28
|
+
config.before(:each) do
|
29
|
+
DatabaseCleaner.start
|
30
|
+
DatabaseCleaner.strategy = :truncation
|
31
|
+
end
|
32
|
+
|
33
|
+
config.after(:each) do
|
34
|
+
DatabaseCleaner.clean
|
35
|
+
end
|
36
|
+
end
|
metadata
ADDED
@@ -0,0 +1,311 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: conduit
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.6
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Mike Kelley
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-03-31 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ~>
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.0.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ~>
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.0.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: mysql2
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: excon
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: aws-sdk
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - '>='
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: tilt
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '>='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: shoulda-matchers
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - '>='
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - '>='
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: database_cleaner
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rspec-rails
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - '>='
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: pry-rails
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - '>='
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - '>='
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: hirb
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - '>='
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - '>='
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
description:
|
154
|
+
email:
|
155
|
+
- mike.kelley@bqsoft.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- app/controllers/conduit/responses_controller.rb
|
161
|
+
- app/models/conduit/concerns/storage.rb
|
162
|
+
- app/models/conduit/request.rb
|
163
|
+
- app/models/conduit/response.rb
|
164
|
+
- app/models/conduit/subscription.rb
|
165
|
+
- config/routes.rb
|
166
|
+
- db/migrate/20131209223122_create_conduit_requests.rb
|
167
|
+
- db/migrate/20131209223734_create_conduit_responses.rb
|
168
|
+
- db/migrate/20140305202729_create_conduit_subscriptions.rb
|
169
|
+
- lib/conduit/acts_as_conduit_subscriber.rb
|
170
|
+
- lib/conduit/configuration.rb
|
171
|
+
- lib/conduit/core/action.rb
|
172
|
+
- lib/conduit/core/connection.rb
|
173
|
+
- lib/conduit/core/driver.rb
|
174
|
+
- lib/conduit/core/parser.rb
|
175
|
+
- lib/conduit/core/render.rb
|
176
|
+
- lib/conduit/drivers/keep
|
177
|
+
- lib/conduit/engine.rb
|
178
|
+
- lib/conduit/storage/aws.rb
|
179
|
+
- lib/conduit/storage/file.rb
|
180
|
+
- lib/conduit/storage.rb
|
181
|
+
- lib/conduit/util.rb
|
182
|
+
- lib/conduit/version.rb
|
183
|
+
- lib/conduit.rb
|
184
|
+
- lib/tasks/conduit_tasks.rake
|
185
|
+
- Rakefile
|
186
|
+
- spec/classes/acts_as_conduit_subscriber_spec.rb
|
187
|
+
- spec/classes/core/action_spec.rb
|
188
|
+
- spec/classes/core/driver_spec.rb
|
189
|
+
- spec/controllers/responses_controller_spec.rb
|
190
|
+
- spec/dummy/app/assets/javascripts/application.js
|
191
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
192
|
+
- spec/dummy/app/controllers/application_controller.rb
|
193
|
+
- spec/dummy/app/helpers/application_helper.rb
|
194
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
195
|
+
- spec/dummy/bin/bundle
|
196
|
+
- spec/dummy/bin/rails
|
197
|
+
- spec/dummy/bin/rake
|
198
|
+
- spec/dummy/config/application.rb
|
199
|
+
- spec/dummy/config/boot.rb
|
200
|
+
- spec/dummy/config/database.yml
|
201
|
+
- spec/dummy/config/environment.rb
|
202
|
+
- spec/dummy/config/environments/development.rb
|
203
|
+
- spec/dummy/config/environments/production.rb
|
204
|
+
- spec/dummy/config/environments/test.rb
|
205
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
206
|
+
- spec/dummy/config/initializers/conduit.rb
|
207
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
208
|
+
- spec/dummy/config/initializers/inflections.rb
|
209
|
+
- spec/dummy/config/initializers/mime_types.rb
|
210
|
+
- spec/dummy/config/initializers/secret_token.rb
|
211
|
+
- spec/dummy/config/initializers/session_store.rb
|
212
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
213
|
+
- spec/dummy/config/locales/en.yml
|
214
|
+
- spec/dummy/config/routes.rb
|
215
|
+
- spec/dummy/config.ru
|
216
|
+
- spec/dummy/db/schema.rb
|
217
|
+
- spec/dummy/lib/conduit/drivers/my_driver/actions/foo.rb
|
218
|
+
- spec/dummy/lib/conduit/drivers/my_driver/driver.rb
|
219
|
+
- spec/dummy/lib/conduit/drivers/my_driver/parsers/foo.rb
|
220
|
+
- spec/dummy/lib/conduit/drivers/my_driver/views/foo.erb
|
221
|
+
- spec/dummy/lib/conduit/drivers/my_driver/views/layout.erb
|
222
|
+
- spec/dummy/log/development.log
|
223
|
+
- spec/dummy/log/test.log
|
224
|
+
- spec/dummy/public/404.html
|
225
|
+
- spec/dummy/public/422.html
|
226
|
+
- spec/dummy/public/500.html
|
227
|
+
- spec/dummy/Rakefile
|
228
|
+
- spec/dummy/README.rdoc
|
229
|
+
- spec/dummy/tmp/conduit/1/my_driver/foo/1-response.xml
|
230
|
+
- spec/dummy/tmp/conduit/1/my_driver/foo/request.xml
|
231
|
+
- spec/models/conduit/request_spec.rb
|
232
|
+
- spec/models/conduit/response_spec.rb
|
233
|
+
- spec/spec_helper.rb
|
234
|
+
- spec/support/helper.rb
|
235
|
+
- spec/support/xml/xml_request.xml
|
236
|
+
- spec/support/xml/xml_response.xml
|
237
|
+
homepage: https://github.com/bqsoft/conduit
|
238
|
+
licenses: []
|
239
|
+
metadata: {}
|
240
|
+
post_install_message:
|
241
|
+
rdoc_options: []
|
242
|
+
require_paths:
|
243
|
+
- lib
|
244
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
245
|
+
requirements:
|
246
|
+
- - '>='
|
247
|
+
- !ruby/object:Gem::Version
|
248
|
+
version: '0'
|
249
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
250
|
+
requirements:
|
251
|
+
- - '>='
|
252
|
+
- !ruby/object:Gem::Version
|
253
|
+
version: '0'
|
254
|
+
requirements: []
|
255
|
+
rubyforge_project:
|
256
|
+
rubygems_version: 2.0.14
|
257
|
+
signing_key:
|
258
|
+
specification_version: 4
|
259
|
+
summary: Conduit is an interface for debit platforms.
|
260
|
+
test_files:
|
261
|
+
- spec/classes/acts_as_conduit_subscriber_spec.rb
|
262
|
+
- spec/classes/core/action_spec.rb
|
263
|
+
- spec/classes/core/driver_spec.rb
|
264
|
+
- spec/controllers/responses_controller_spec.rb
|
265
|
+
- spec/dummy/app/assets/javascripts/application.js
|
266
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
267
|
+
- spec/dummy/app/controllers/application_controller.rb
|
268
|
+
- spec/dummy/app/helpers/application_helper.rb
|
269
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
270
|
+
- spec/dummy/bin/bundle
|
271
|
+
- spec/dummy/bin/rails
|
272
|
+
- spec/dummy/bin/rake
|
273
|
+
- spec/dummy/config/application.rb
|
274
|
+
- spec/dummy/config/boot.rb
|
275
|
+
- spec/dummy/config/database.yml
|
276
|
+
- spec/dummy/config/environment.rb
|
277
|
+
- spec/dummy/config/environments/development.rb
|
278
|
+
- spec/dummy/config/environments/production.rb
|
279
|
+
- spec/dummy/config/environments/test.rb
|
280
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
281
|
+
- spec/dummy/config/initializers/conduit.rb
|
282
|
+
- spec/dummy/config/initializers/filter_parameter_logging.rb
|
283
|
+
- spec/dummy/config/initializers/inflections.rb
|
284
|
+
- spec/dummy/config/initializers/mime_types.rb
|
285
|
+
- spec/dummy/config/initializers/secret_token.rb
|
286
|
+
- spec/dummy/config/initializers/session_store.rb
|
287
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
288
|
+
- spec/dummy/config/locales/en.yml
|
289
|
+
- spec/dummy/config/routes.rb
|
290
|
+
- spec/dummy/config.ru
|
291
|
+
- spec/dummy/db/schema.rb
|
292
|
+
- spec/dummy/lib/conduit/drivers/my_driver/actions/foo.rb
|
293
|
+
- spec/dummy/lib/conduit/drivers/my_driver/driver.rb
|
294
|
+
- spec/dummy/lib/conduit/drivers/my_driver/parsers/foo.rb
|
295
|
+
- spec/dummy/lib/conduit/drivers/my_driver/views/foo.erb
|
296
|
+
- spec/dummy/lib/conduit/drivers/my_driver/views/layout.erb
|
297
|
+
- spec/dummy/log/development.log
|
298
|
+
- spec/dummy/log/test.log
|
299
|
+
- spec/dummy/public/404.html
|
300
|
+
- spec/dummy/public/422.html
|
301
|
+
- spec/dummy/public/500.html
|
302
|
+
- spec/dummy/Rakefile
|
303
|
+
- spec/dummy/README.rdoc
|
304
|
+
- spec/dummy/tmp/conduit/1/my_driver/foo/1-response.xml
|
305
|
+
- spec/dummy/tmp/conduit/1/my_driver/foo/request.xml
|
306
|
+
- spec/models/conduit/request_spec.rb
|
307
|
+
- spec/models/conduit/response_spec.rb
|
308
|
+
- spec/spec_helper.rb
|
309
|
+
- spec/support/helper.rb
|
310
|
+
- spec/support/xml/xml_request.xml
|
311
|
+
- spec/support/xml/xml_response.xml
|