epay_tools 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +86 -0
- data/Gemfile +4 -9
- data/Gemfile.lock +32 -20
- data/Rakefile +14 -29
- data/VERSION +1 -1
- data/epay_tools.gemspec +14 -12
- data/lib/epay_tools/hash_calculator_service.rb +1 -16
- data/lib/epay_tools/ordered_parameters.rb +5 -5
- data/shippable.yml +3 -0
- data/spec/epay_tools/hash_calculator_service_spec.rb +39 -0
- data/spec/spec_helper.rb +4 -18
- metadata +25 -23
- data/spec/epay_tools_spec.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86a7d1fe9a1ab192dac56eda9de0603d138ef6fb
|
4
|
+
data.tar.gz: '009453ed0b480464cbb884fa4059c52195b1413c'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58121ca27e808864e2e140082c306d855b3575dd88381fc4d4d0d515907cb914f3515d65e2ea75e5742fb7370fb1306a0e3291a0ac9f34e57c1dd8b33a7443d4
|
7
|
+
data.tar.gz: 75b38dca8fde59b2de0628d108a7416e8b2fb14af96a5c8c3f58a8aee5c0b4a4f0c01030c60323f449e4dbc0c4a22cf32448071c9614135684cb24a181f9dbe6
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
AllCops:
|
2
|
+
DisplayCopNames: true
|
3
|
+
DisplayStyleGuide: true
|
4
|
+
Exclude:
|
5
|
+
- epay_tools.gemspec
|
6
|
+
|
7
|
+
Layout/AccessModifierIndentation:
|
8
|
+
EnforcedStyle: outdent
|
9
|
+
|
10
|
+
Layout/AlignParameters:
|
11
|
+
EnforcedStyle: with_fixed_indentation
|
12
|
+
|
13
|
+
Layout/EmptyLines:
|
14
|
+
Enabled: false
|
15
|
+
|
16
|
+
Layout/MultilineMethodCallIndentation:
|
17
|
+
EnforcedStyle: indented
|
18
|
+
|
19
|
+
Layout/MultilineOperationIndentation:
|
20
|
+
EnforcedStyle: indented
|
21
|
+
|
22
|
+
Layout/SpaceInsideHashLiteralBraces:
|
23
|
+
EnforcedStyle: no_space
|
24
|
+
|
25
|
+
Metrics/BlockLength:
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
Metrics/CyclomaticComplexity:
|
29
|
+
Max: 10
|
30
|
+
|
31
|
+
Metrics/LineLength:
|
32
|
+
Max: 160
|
33
|
+
|
34
|
+
Metrics/MethodLength:
|
35
|
+
Max: 50
|
36
|
+
|
37
|
+
Metrics/AbcSize:
|
38
|
+
Max: 25
|
39
|
+
|
40
|
+
Metrics/ClassLength:
|
41
|
+
Max: 250
|
42
|
+
|
43
|
+
# .find_each is not the same as .each
|
44
|
+
Rails/FindEach:
|
45
|
+
Enabled: false
|
46
|
+
|
47
|
+
Style/ClassAndModuleChildren:
|
48
|
+
EnforcedStyle: compact
|
49
|
+
|
50
|
+
Style/ConditionalAssignment:
|
51
|
+
Enabled: false
|
52
|
+
|
53
|
+
Style/Documentation:
|
54
|
+
Enabled: false
|
55
|
+
|
56
|
+
Style/FrozenStringLiteralComment:
|
57
|
+
Enabled: false
|
58
|
+
|
59
|
+
# Will report offences for many places that are much more readable without using a guard clause
|
60
|
+
Style/GuardClause:
|
61
|
+
Enabled: false
|
62
|
+
|
63
|
+
Style/LambdaCall:
|
64
|
+
Enabled: false
|
65
|
+
|
66
|
+
Style/RegexpLiteral:
|
67
|
+
Enabled: false
|
68
|
+
|
69
|
+
Style/StringLiterals:
|
70
|
+
EnforcedStyle: double_quotes
|
71
|
+
|
72
|
+
Style/StringLiteralsInInterpolation:
|
73
|
+
Enabled: false
|
74
|
+
|
75
|
+
Style/NilComparison:
|
76
|
+
Enabled: false
|
77
|
+
|
78
|
+
Style/SignalException:
|
79
|
+
EnforcedStyle: only_raise
|
80
|
+
|
81
|
+
Style/SymbolArray:
|
82
|
+
Enabled: false
|
83
|
+
|
84
|
+
Style/TrivialAccessors:
|
85
|
+
ExactNameMatch: true
|
86
|
+
Enabled: true
|
data/Gemfile
CHANGED
@@ -1,17 +1,12 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
|
-
# Add dependencies required to use your gem here.
|
3
|
-
# Example:
|
4
|
-
# gem "activesupport", ">= 2.3.5"
|
5
2
|
|
6
3
|
gem "auto_autoloader", ">= 0.0.5"
|
7
4
|
gem "service_pattern", ">= 0.0.3"
|
8
5
|
|
9
|
-
|
10
|
-
|
11
|
-
group :development do
|
12
|
-
gem "rspec", "~> 3.5.0"
|
13
|
-
gem "rdoc", "~> 3.12"
|
6
|
+
group :development, :test do
|
7
|
+
gem "best_practice_project", "0.0.10"
|
14
8
|
gem "bundler", "~> 1.0"
|
15
9
|
gem "jeweler", "2.3.7"
|
16
|
-
gem "
|
10
|
+
gem "rspec", "3.7.0"
|
11
|
+
gem "rubocop", "0.51.0"
|
17
12
|
end
|
data/Gemfile.lock
CHANGED
@@ -2,13 +2,15 @@ GEM
|
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
4
|
addressable (2.4.0)
|
5
|
+
ast (2.3.0)
|
5
6
|
auto_autoloader (0.0.5)
|
6
7
|
string-cases
|
8
|
+
best_practice_project (0.0.10)
|
9
|
+
auto_autoloader (>= 0.0.5)
|
7
10
|
builder (3.2.3)
|
8
11
|
descendants_tracker (0.0.4)
|
9
12
|
thread_safe (~> 0.3, >= 0.3.1)
|
10
13
|
diff-lcs (1.3)
|
11
|
-
docile (1.1.5)
|
12
14
|
faraday (0.9.2)
|
13
15
|
multipart-post (>= 1.2, < 3)
|
14
16
|
git (1.3.0)
|
@@ -47,45 +49,55 @@ GEM
|
|
47
49
|
multi_json (~> 1.3)
|
48
50
|
multi_xml (~> 0.5)
|
49
51
|
rack (>= 1.2, < 3)
|
52
|
+
parallel (1.12.0)
|
53
|
+
parser (2.4.0.2)
|
54
|
+
ast (~> 2.3)
|
55
|
+
powerpack (0.1.1)
|
50
56
|
psych (2.2.2)
|
51
57
|
rack (2.0.3)
|
58
|
+
rainbow (2.2.2)
|
59
|
+
rake
|
52
60
|
rake (12.3.0)
|
53
61
|
rdoc (3.12.2)
|
54
62
|
json (~> 1.4)
|
55
|
-
rspec (3.
|
56
|
-
rspec-core (~> 3.
|
57
|
-
rspec-expectations (~> 3.
|
58
|
-
rspec-mocks (~> 3.
|
59
|
-
rspec-core (3.
|
60
|
-
rspec-support (~> 3.
|
61
|
-
rspec-expectations (3.
|
63
|
+
rspec (3.7.0)
|
64
|
+
rspec-core (~> 3.7.0)
|
65
|
+
rspec-expectations (~> 3.7.0)
|
66
|
+
rspec-mocks (~> 3.7.0)
|
67
|
+
rspec-core (3.7.0)
|
68
|
+
rspec-support (~> 3.7.0)
|
69
|
+
rspec-expectations (3.7.0)
|
62
70
|
diff-lcs (>= 1.2.0, < 2.0)
|
63
|
-
rspec-support (~> 3.
|
64
|
-
rspec-mocks (3.
|
71
|
+
rspec-support (~> 3.7.0)
|
72
|
+
rspec-mocks (3.7.0)
|
65
73
|
diff-lcs (>= 1.2.0, < 2.0)
|
66
|
-
rspec-support (~> 3.
|
67
|
-
rspec-support (3.
|
74
|
+
rspec-support (~> 3.7.0)
|
75
|
+
rspec-support (3.7.0)
|
76
|
+
rubocop (0.51.0)
|
77
|
+
parallel (~> 1.10)
|
78
|
+
parser (>= 2.3.3.1, < 3.0)
|
79
|
+
powerpack (~> 0.1)
|
80
|
+
rainbow (>= 2.2.2, < 3.0)
|
81
|
+
ruby-progressbar (~> 1.7)
|
82
|
+
unicode-display_width (~> 1.0, >= 1.0.1)
|
83
|
+
ruby-progressbar (1.9.0)
|
68
84
|
semver2 (3.4.2)
|
69
85
|
service_pattern (0.0.3)
|
70
|
-
simplecov (0.15.1)
|
71
|
-
docile (~> 1.1.0)
|
72
|
-
json (>= 1.8, < 3)
|
73
|
-
simplecov-html (~> 0.10.0)
|
74
|
-
simplecov-html (0.10.2)
|
75
86
|
string-cases (0.0.4)
|
76
87
|
thread_safe (0.3.6)
|
88
|
+
unicode-display_width (1.3.0)
|
77
89
|
|
78
90
|
PLATFORMS
|
79
91
|
ruby
|
80
92
|
|
81
93
|
DEPENDENCIES
|
82
94
|
auto_autoloader (>= 0.0.5)
|
95
|
+
best_practice_project (= 0.0.10)
|
83
96
|
bundler (~> 1.0)
|
84
97
|
jeweler (= 2.3.7)
|
85
|
-
|
86
|
-
|
98
|
+
rspec (= 3.7.0)
|
99
|
+
rubocop (= 0.51.0)
|
87
100
|
service_pattern (>= 0.0.3)
|
88
|
-
simplecov
|
89
101
|
|
90
102
|
BUNDLED WITH
|
91
103
|
1.15.4
|
data/Rakefile
CHANGED
@@ -1,50 +1,35 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'rubygems'
|
4
|
-
require 'bundler'
|
1
|
+
require "rubygems"
|
2
|
+
require "bundler"
|
5
3
|
begin
|
6
4
|
Bundler.setup(:default, :development)
|
7
5
|
rescue Bundler::BundlerError => e
|
8
|
-
|
9
|
-
|
6
|
+
warn e.message
|
7
|
+
warn "Run `bundle install` to install missing gems"
|
10
8
|
exit e.status_code
|
11
9
|
end
|
12
|
-
require
|
10
|
+
require "rake"
|
13
11
|
|
14
|
-
require
|
12
|
+
require "jeweler"
|
15
13
|
Jeweler::Tasks.new do |gem|
|
16
14
|
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
17
15
|
gem.name = "epay_tools"
|
18
16
|
gem.homepage = "http://github.com/kaspernj/epay_tools"
|
19
17
|
gem.license = "MIT"
|
20
|
-
gem.summary = %
|
21
|
-
gem.description = %
|
18
|
+
gem.summary = %(Tools to implement the ePay payment gateway)
|
19
|
+
gem.description = %(Tools to implement the ePay payment gateway)
|
22
20
|
gem.email = "kaspernj@gmail.com"
|
23
21
|
gem.authors = ["kaspernj"]
|
24
22
|
# dependencies defined in Gemfile
|
25
23
|
end
|
26
24
|
Jeweler::RubygemsDotOrgTasks.new
|
27
25
|
|
28
|
-
require
|
29
|
-
require
|
26
|
+
require "rspec/core"
|
27
|
+
require "rspec/core/rake_task"
|
30
28
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
31
|
-
spec.pattern = FileList[
|
32
|
-
end
|
33
|
-
|
34
|
-
desc "Code coverage detail"
|
35
|
-
task :simplecov do
|
36
|
-
ENV['COVERAGE'] = "true"
|
37
|
-
Rake::Task['spec'].execute
|
29
|
+
spec.pattern = FileList["spec/**/*_spec.rb"]
|
38
30
|
end
|
39
31
|
|
40
|
-
task :
|
32
|
+
task default: :spec
|
41
33
|
|
42
|
-
require
|
43
|
-
|
44
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
45
|
-
|
46
|
-
rdoc.rdoc_dir = 'rdoc'
|
47
|
-
rdoc.title = "epay_tools #{version}"
|
48
|
-
rdoc.rdoc_files.include('README*')
|
49
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
50
|
-
end
|
34
|
+
require "best_practice_project"
|
35
|
+
BestPracticeProject.load_tasks
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.1
|
data/epay_tools.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
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: epay_tools 0.0.
|
5
|
+
# stub: epay_tools 0.0.1 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "epay_tools".freeze
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.1"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
@@ -21,6 +21,7 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.files = [
|
22
22
|
".document",
|
23
23
|
".rspec",
|
24
|
+
".rubocop.yml",
|
24
25
|
"Gemfile",
|
25
26
|
"Gemfile.lock",
|
26
27
|
"LICENSE.txt",
|
@@ -32,7 +33,8 @@ Gem::Specification.new do |s|
|
|
32
33
|
"lib/epay_tools/hash_calculator_service.rb",
|
33
34
|
"lib/epay_tools/ordered_parameters.rb",
|
34
35
|
"lib/epay_tools/params_generator_service.rb",
|
35
|
-
"
|
36
|
+
"shippable.yml",
|
37
|
+
"spec/epay_tools/hash_calculator_service_spec.rb",
|
36
38
|
"spec/spec_helper.rb"
|
37
39
|
]
|
38
40
|
s.homepage = "http://github.com/kaspernj/epay_tools".freeze
|
@@ -46,28 +48,28 @@ Gem::Specification.new do |s|
|
|
46
48
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
47
49
|
s.add_runtime_dependency(%q<auto_autoloader>.freeze, [">= 0.0.5"])
|
48
50
|
s.add_runtime_dependency(%q<service_pattern>.freeze, [">= 0.0.3"])
|
49
|
-
s.add_development_dependency(%q<
|
50
|
-
s.add_development_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
51
|
+
s.add_development_dependency(%q<best_practice_project>.freeze, ["= 0.0.10"])
|
51
52
|
s.add_development_dependency(%q<bundler>.freeze, ["~> 1.0"])
|
52
53
|
s.add_development_dependency(%q<jeweler>.freeze, ["= 2.3.7"])
|
53
|
-
s.add_development_dependency(%q<
|
54
|
+
s.add_development_dependency(%q<rspec>.freeze, ["= 3.7.0"])
|
55
|
+
s.add_development_dependency(%q<rubocop>.freeze, ["= 0.51.0"])
|
54
56
|
else
|
55
57
|
s.add_dependency(%q<auto_autoloader>.freeze, [">= 0.0.5"])
|
56
58
|
s.add_dependency(%q<service_pattern>.freeze, [">= 0.0.3"])
|
57
|
-
s.add_dependency(%q<
|
58
|
-
s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
59
|
+
s.add_dependency(%q<best_practice_project>.freeze, ["= 0.0.10"])
|
59
60
|
s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
|
60
61
|
s.add_dependency(%q<jeweler>.freeze, ["= 2.3.7"])
|
61
|
-
s.add_dependency(%q<
|
62
|
+
s.add_dependency(%q<rspec>.freeze, ["= 3.7.0"])
|
63
|
+
s.add_dependency(%q<rubocop>.freeze, ["= 0.51.0"])
|
62
64
|
end
|
63
65
|
else
|
64
66
|
s.add_dependency(%q<auto_autoloader>.freeze, [">= 0.0.5"])
|
65
67
|
s.add_dependency(%q<service_pattern>.freeze, [">= 0.0.3"])
|
66
|
-
s.add_dependency(%q<
|
67
|
-
s.add_dependency(%q<rdoc>.freeze, ["~> 3.12"])
|
68
|
+
s.add_dependency(%q<best_practice_project>.freeze, ["= 0.0.10"])
|
68
69
|
s.add_dependency(%q<bundler>.freeze, ["~> 1.0"])
|
69
70
|
s.add_dependency(%q<jeweler>.freeze, ["= 2.3.7"])
|
70
|
-
s.add_dependency(%q<
|
71
|
+
s.add_dependency(%q<rspec>.freeze, ["= 3.7.0"])
|
72
|
+
s.add_dependency(%q<rubocop>.freeze, ["= 0.51.0"])
|
71
73
|
end
|
72
74
|
end
|
73
75
|
|
@@ -1,19 +1,4 @@
|
|
1
1
|
class EpayTools::HashCalculatorService < ServicePattern::Service
|
2
|
-
DEFAULT_PARAMETERS = {
|
3
|
-
"merchantnumber" => nil,
|
4
|
-
"accepturl" => nil,
|
5
|
-
"callbackurl" => nil,
|
6
|
-
"orderid" => nil,
|
7
|
-
"amount" => nil,
|
8
|
-
"currency" => "DKK",
|
9
|
-
"ownreceipt" => "1",
|
10
|
-
"windowstate" => "2",
|
11
|
-
"instantcapture" => "1",
|
12
|
-
"paymentcollection" => "1",
|
13
|
-
"lockpaymentcollection" => "1",
|
14
|
-
"subscription" => "0"
|
15
|
-
}.freeze
|
16
|
-
|
17
2
|
attr_reader :query_parameters, :epay_md5_key
|
18
3
|
|
19
4
|
def initialize(query_parameters:, epay_md5_key:)
|
@@ -40,7 +25,7 @@ private
|
|
40
25
|
parameters = {}
|
41
26
|
|
42
27
|
EpayTools::OrderedParameters::ORDERED_PARAMETERS.each do |ordered_parameter|
|
43
|
-
parameters[
|
28
|
+
parameters[ordered_parameter] = query_parameters.fetch(ordered_parameter)
|
44
29
|
end
|
45
30
|
|
46
31
|
parameters
|
@@ -1,8 +1,8 @@
|
|
1
1
|
class EpayTools::OrderedParameters
|
2
|
-
ORDERED_PARAMETERS = [
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
2
|
+
ORDERED_PARAMETERS = %w[
|
3
|
+
merchantnumber accepturl callbackurl orderid
|
4
|
+
amount currency ownreceipt windowstate
|
5
|
+
instantcapture paymentcollection lockpaymentcollection
|
6
|
+
subscription
|
7
7
|
].freeze
|
8
8
|
end
|
data/shippable.yml
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe EpayTools::HashCalculatorService do
|
4
|
+
let(:epay_parameters) do
|
5
|
+
{
|
6
|
+
"merchantnumber" => "123123",
|
7
|
+
"accepturl" => "http://example.com/epay_accept",
|
8
|
+
"callbackurl" => "http://example.com/epay_callback",
|
9
|
+
"orderid" => 123,
|
10
|
+
"amount" => 10_000,
|
11
|
+
"currency" => "DKK",
|
12
|
+
"ownreceipt" => "1",
|
13
|
+
"windowstate" => "2",
|
14
|
+
"instantcapture" => "1",
|
15
|
+
"paymentcollection" => "1",
|
16
|
+
"lockpaymentcollection" => "1",
|
17
|
+
"subscription" => "0",
|
18
|
+
"hash" => "edc52b2b2f619551146682061d3a9d0d"
|
19
|
+
}
|
20
|
+
end
|
21
|
+
let(:service) do
|
22
|
+
EpayTools::HashCalculatorService.new(
|
23
|
+
epay_md5_key: "secret-md5-key",
|
24
|
+
query_parameters: epay_parameters
|
25
|
+
)
|
26
|
+
end
|
27
|
+
|
28
|
+
describe "#calculated_hash" do
|
29
|
+
it "calculates the right hash" do
|
30
|
+
expect(service.__send__(:calculated_hash)).to eq "edc52b2b2f619551146682061d3a9d0d"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe "#validated?" do
|
35
|
+
it "returns true when the hash is right" do
|
36
|
+
expect(service.__send__(:validated?)).to eq true
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,29 +1,15 @@
|
|
1
|
-
require 'simplecov'
|
2
|
-
|
3
|
-
module SimpleCov::Configuration
|
4
|
-
def clean_filters
|
5
|
-
@filters = []
|
6
|
-
end
|
7
|
-
end
|
8
|
-
|
9
|
-
SimpleCov.configure do
|
10
|
-
clean_filters
|
11
|
-
load_adapter 'test_frameworks'
|
12
|
-
end
|
13
|
-
|
14
1
|
ENV["COVERAGE"] && SimpleCov.start do
|
15
2
|
add_filter "/.rvm/"
|
16
3
|
end
|
17
|
-
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__),
|
4
|
+
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), "..", "lib"))
|
18
5
|
$LOAD_PATH.unshift(File.dirname(__FILE__))
|
19
6
|
|
20
|
-
require
|
21
|
-
require
|
7
|
+
require "rspec"
|
8
|
+
require "epay_tools"
|
22
9
|
|
23
10
|
# Requires supporting files with custom matchers and macros, etc,
|
24
11
|
# in ./support/ and its subdirectories.
|
25
|
-
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
|
12
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
26
13
|
|
27
14
|
RSpec.configure do |config|
|
28
|
-
|
29
15
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epay_tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kaspernj
|
@@ -39,75 +39,75 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.0.3
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: best_practice_project
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - '='
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version:
|
47
|
+
version: 0.0.10
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - '='
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.0.10
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '1.0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '1.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: jeweler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - '='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version:
|
75
|
+
version: 2.3.7
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 2.3.7
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rspec
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: 3.7.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: 3.7.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rubocop
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- -
|
101
|
+
- - '='
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: 0.51.0
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- -
|
108
|
+
- - '='
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: 0.51.0
|
111
111
|
description: Tools to implement the ePay payment gateway
|
112
112
|
email: kaspernj@gmail.com
|
113
113
|
executables: []
|
@@ -118,6 +118,7 @@ extra_rdoc_files:
|
|
118
118
|
files:
|
119
119
|
- ".document"
|
120
120
|
- ".rspec"
|
121
|
+
- ".rubocop.yml"
|
121
122
|
- Gemfile
|
122
123
|
- Gemfile.lock
|
123
124
|
- LICENSE.txt
|
@@ -129,7 +130,8 @@ files:
|
|
129
130
|
- lib/epay_tools/hash_calculator_service.rb
|
130
131
|
- lib/epay_tools/ordered_parameters.rb
|
131
132
|
- lib/epay_tools/params_generator_service.rb
|
132
|
-
-
|
133
|
+
- shippable.yml
|
134
|
+
- spec/epay_tools/hash_calculator_service_spec.rb
|
133
135
|
- spec/spec_helper.rb
|
134
136
|
homepage: http://github.com/kaspernj/epay_tools
|
135
137
|
licenses:
|