ogone-rails 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 85bf7232247ca68a49644beb4636fd3a8d2ec4b8
4
+ data.tar.gz: 1b1e0709f157e0c9dc83b75d9bd26ff7cbe07a04
5
+ SHA512:
6
+ metadata.gz: 049a138a5e2ef37230efa15fff8db35f78676f27b191d106b064eabb2bcd29a9a6f5ae2c8d5f7dd277701ffef38ba1104e3e3451c4b3438cbb4f109ebbf93ba2
7
+ data.tar.gz: d2b7693c70e92478066904c4c65bcf04b051e63a372d8d1b6eeb352e235e2dbae6f4dd9f2d347bebbdd88508646d0dee22ecb428c3d8355b2585bfbd5034f6be
data/.DS_Store CHANGED
File without changes
data/.document CHANGED
File without changes
data/Gemfile CHANGED
@@ -9,6 +9,6 @@ group :development do
9
9
  gem "shoulda", ">= 0"
10
10
  gem "rdoc", "~> 3.12"
11
11
  gem "bundler"#, "~> 1.1.3"
12
- gem "jeweler", "~> 1.8.3"
13
- gem "rcov", ">= 0"
12
+ gem "jeweler", git: "git@github.com:emilsoman/jeweler.git"
13
+ # gem "rcov", ">= 0"
14
14
  end
data/Gemfile.lock CHANGED
@@ -1,3 +1,15 @@
1
+ GIT
2
+ remote: git@github.com:emilsoman/jeweler.git
3
+ revision: be5ddc35db350e2f0180f165a3129e2833a93072
4
+ specs:
5
+ jeweler (1.8.4)
6
+ bundler (~> 1.0)
7
+ git (>= 1.2.5)
8
+ github_api (>= 0.8.1)
9
+ highline (>= 1.6.15)
10
+ rake
11
+ rdoc
12
+
1
13
  GEM
2
14
  remote: http://rubygems.org/
3
15
  specs:
@@ -6,20 +18,38 @@ GEM
6
18
  multi_json (~> 1.0)
7
19
  bourne (1.1.2)
8
20
  mocha (= 0.10.5)
21
+ faraday (0.8.7)
22
+ multipart-post (~> 1.1)
9
23
  git (1.2.5)
24
+ github_api (0.9.6)
25
+ faraday (~> 0.8.1)
26
+ hashie (>= 1.2)
27
+ multi_json (~> 1.4)
28
+ nokogiri (~> 1.5.2)
29
+ oauth2
30
+ hashie (2.0.3)
31
+ highline (1.6.16)
32
+ httpauth (0.2.0)
10
33
  i18n (0.6.1)
11
- jeweler (1.8.4)
12
- bundler (~> 1.0)
13
- git (>= 1.2.5)
14
- rake
15
- rdoc
16
34
  json (1.7.6)
35
+ jwt (0.1.8)
36
+ multi_json (>= 1.5)
17
37
  metaclass (0.0.1)
18
38
  mocha (0.10.5)
19
39
  metaclass (~> 0.0.1)
20
40
  multi_json (1.5.0)
21
- rake (10.0.3)
22
- rcov (0.9.11)
41
+ multi_xml (0.5.3)
42
+ multipart-post (1.2.0)
43
+ nokogiri (1.5.9)
44
+ oauth2 (0.9.1)
45
+ faraday (~> 0.8)
46
+ httpauth (~> 0.1)
47
+ jwt (~> 0.1.4)
48
+ multi_json (~> 1.0)
49
+ multi_xml (~> 0.5)
50
+ rack (~> 1.2)
51
+ rack (1.5.2)
52
+ rake (10.0.4)
23
53
  rdoc (3.12)
24
54
  json (~> 1.4)
25
55
  shoulda (3.3.2)
@@ -36,7 +66,6 @@ PLATFORMS
36
66
  DEPENDENCIES
37
67
  activesupport
38
68
  bundler
39
- jeweler (~> 1.8.3)
40
- rcov
69
+ jeweler!
41
70
  rdoc (~> 3.12)
42
71
  shoulda
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
@@ -34,13 +34,13 @@ Rake::TestTask.new(:test) do |test|
34
34
  test.verbose = true
35
35
  end
36
36
 
37
- require 'rcov/rcovtask'
38
- Rcov::RcovTask.new do |test|
39
- test.libs << 'test'
40
- test.pattern = 'test/**/test_*.rb'
41
- test.verbose = true
42
- test.rcov_opts << '--exclude "gems/*"'
43
- end
37
+ # require 'rcov/rcovtask'
38
+ # Rcov::RcovTask.new do |test|
39
+ # test.libs << 'test'
40
+ # test.pattern = 'test/**/test_*.rb'
41
+ # test.verbose = true
42
+ # test.rcov_opts << '--exclude "gems/*"'
43
+ # end
44
44
 
45
45
  task :default => :test
46
46
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.4
1
+ 0.1.5
data/lib/.DS_Store CHANGED
File without changes
File without changes
File without changes
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require "rails/generators/base"
2
3
 
3
4
  module Ogone
@@ -43,4 +44,4 @@ end
43
44
  # else
44
45
  # puts "Can't create #{ snap_up_yaml_filepath }"
45
46
  # end
46
- # end
47
+ # end
@@ -1,4 +1,4 @@
1
- # -*- encoding : utf-8 -*
1
+ # -*- encoding : utf-8 -*-
2
2
  # load yaml configuration for current environment && symbolize_keys
3
3
  ogone_config = YAML.load_file('config/ogone.yml')[Rails.env].symbolize_keys
4
- OgoneRails::config (ogone_config)
4
+ OgoneRails::config (ogone_config)
File without changes
data/lib/ogone-rails.rb CHANGED
@@ -30,4 +30,4 @@ module OgoneRails
30
30
  end
31
31
  end
32
32
 
33
- OgoneRails.load!
33
+ OgoneRails.load!
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module OgoneRails
2
3
 
3
4
  class CheckAuth
@@ -42,7 +43,7 @@ module OgoneRails
42
43
  def get_params
43
44
  # return values in readable format
44
45
  @params = {
45
- :order_id => (@request['orderID']).to_i,
46
+ :order_id => (@request['orderID']),
46
47
  :amount => (@request['amount']).to_f,
47
48
  :currency => @request['currency'],
48
49
  :payment_method => @request['PM'],
@@ -56,4 +57,4 @@ module OgoneRails
56
57
  }
57
58
  end
58
59
  end
59
- end
60
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module OgoneRails
2
3
  extend self
3
4
 
@@ -95,4 +96,4 @@ module OgoneRails
95
96
  def self.mode
96
97
  @mode
97
98
  end
98
- end
99
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module OgoneRails
2
3
  class Form
3
4
  attr_reader :form_tag, :form_fields
@@ -20,4 +21,4 @@ module OgoneRails
20
21
  @form_fields << "\t<input type='hidden' name='#{name}' value='#{value}' />\n"
21
22
  end
22
23
  end
23
- end
24
+ end
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module OgoneRails
2
3
 
3
4
  module Helpers
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require File.join(File.dirname(__FILE__), 'helpers')
2
3
 
3
- ActionView::Base.send(:include, OgoneRails::Helpers) if defined? ActionView
4
+ ActionView::Base.send(:include, OgoneRails::Helpers) if defined? ActionView
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  module OgoneRails
2
3
  class StringToHash
3
4
  attr_accessor :sha_in_phrase
data/lib/rails/.DS_Store CHANGED
File without changes
data/ogone-rails.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "ogone-rails"
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 = ["Robin Houdmeyers"]
12
- s.date = "2013-01-10"
12
+ s.date = "2013-04-12"
13
13
  s.description = "Add Ogone payments functionality to your Rails application"
14
14
  s.email = "houdmeyers@gmail.com"
15
15
  s.extra_rdoc_files = [
@@ -46,34 +46,31 @@ Gem::Specification.new do |s|
46
46
  s.homepage = "http://github.com/robinhoudmeyers/ogone-rails"
47
47
  s.licenses = ["MIT"]
48
48
  s.require_paths = ["lib"]
49
- s.rubygems_version = "1.8.24"
49
+ s.rubygems_version = "2.0.3"
50
50
  s.summary = "Ogone usable in Rails"
51
51
 
52
52
  if s.respond_to? :specification_version then
53
- s.specification_version = 3
53
+ s.specification_version = 4
54
54
 
55
55
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
56
56
  s.add_runtime_dependency(%q<activesupport>, [">= 0"])
57
57
  s.add_development_dependency(%q<shoulda>, [">= 0"])
58
58
  s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
59
59
  s.add_development_dependency(%q<bundler>, [">= 0"])
60
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
61
- s.add_development_dependency(%q<rcov>, [">= 0"])
60
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
62
61
  else
63
62
  s.add_dependency(%q<activesupport>, [">= 0"])
64
63
  s.add_dependency(%q<shoulda>, [">= 0"])
65
64
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
66
65
  s.add_dependency(%q<bundler>, [">= 0"])
67
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
68
- s.add_dependency(%q<rcov>, [">= 0"])
66
+ s.add_dependency(%q<jeweler>, [">= 0"])
69
67
  end
70
68
  else
71
69
  s.add_dependency(%q<activesupport>, [">= 0"])
72
70
  s.add_dependency(%q<shoulda>, [">= 0"])
73
71
  s.add_dependency(%q<rdoc>, ["~> 3.12"])
74
72
  s.add_dependency(%q<bundler>, [">= 0"])
75
- s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
76
- s.add_dependency(%q<rcov>, [">= 0"])
73
+ s.add_dependency(%q<jeweler>, [">= 0"])
77
74
  end
78
75
  end
79
76
 
data/test/helper.rb CHANGED
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'rubygems'
2
3
  require 'bundler'
3
4
  begin
@@ -1,3 +1,4 @@
1
+ # -*- encoding : utf-8 -*-
1
2
  require 'helper'
2
3
 
3
4
  class TestOgoneRails < Test::Unit::TestCase
metadata CHANGED
@@ -1,52 +1,46 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ogone-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
5
- prerelease:
4
+ version: 0.1.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Robin Houdmeyers
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-10 00:00:00.000000000 Z
11
+ date: 2013-04-12 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: shoulda
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - '>='
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - '>='
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rdoc
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -62,49 +55,29 @@ dependencies:
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: bundler
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - '>='
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - '>='
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: jeweler
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ~>
84
- - !ruby/object:Gem::Version
85
- version: 1.8.3
86
- type: :development
87
- prerelease: false
88
- version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
- requirements:
91
- - - ~>
92
- - !ruby/object:Gem::Version
93
- version: 1.8.3
94
- - !ruby/object:Gem::Dependency
95
- name: rcov
96
- requirement: !ruby/object:Gem::Requirement
97
- none: false
98
- requirements:
99
- - - ! '>='
73
+ - - '>='
100
74
  - !ruby/object:Gem::Version
101
75
  version: '0'
102
76
  type: :development
103
77
  prerelease: false
104
78
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
79
  requirements:
107
- - - ! '>='
80
+ - - '>='
108
81
  - !ruby/object:Gem::Version
109
82
  version: '0'
110
83
  description: Add Ogone payments functionality to your Rails application
@@ -143,29 +116,25 @@ files:
143
116
  homepage: http://github.com/robinhoudmeyers/ogone-rails
144
117
  licenses:
145
118
  - MIT
119
+ metadata: {}
146
120
  post_install_message:
147
121
  rdoc_options: []
148
122
  require_paths:
149
123
  - lib
150
124
  required_ruby_version: !ruby/object:Gem::Requirement
151
- none: false
152
125
  requirements:
153
- - - ! '>='
126
+ - - '>='
154
127
  - !ruby/object:Gem::Version
155
128
  version: '0'
156
- segments:
157
- - 0
158
- hash: 2933906333629932876
159
129
  required_rubygems_version: !ruby/object:Gem::Requirement
160
- none: false
161
130
  requirements:
162
- - - ! '>='
131
+ - - '>='
163
132
  - !ruby/object:Gem::Version
164
133
  version: '0'
165
134
  requirements: []
166
135
  rubyforge_project:
167
- rubygems_version: 1.8.24
136
+ rubygems_version: 2.0.3
168
137
  signing_key:
169
- specification_version: 3
138
+ specification_version: 4
170
139
  summary: Ogone usable in Rails
171
140
  test_files: []