finix 0.2 → 0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b0e8ae111ff460e0564223a26c61921e2bd835d6
4
- data.tar.gz: 3a5b69d952123b1b18bceeb8b5a2079b1807d47b
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ N2NkZTQzZmQ4NWQ5MjlkMDdmZDhhZmEwMzhjOTM2OTk4YTUwNTA4OA==
5
+ data.tar.gz: !binary |-
6
+ YzMyYTVjOTNmODk3NTg2M2U2ZjRjNjFjOGNmYTkxZDQ2NDFkNTcwMg==
5
7
  SHA512:
6
- metadata.gz: 117ba294a0bd85a1ba0e21f608950be0601bbf7260d020b16a7bfec473dc4b4e143df522433a2451166ca19bd0f6d9c2e55bad1fcdd889154f4541c5dc6f9671
7
- data.tar.gz: 2d021614c589cc51e93998bc2cfb6109a7d2bd18d165d3a57f92b4eca0cdaadf0483e5bf8d70c28bd37acdff3408141a8189ee318e35308a529720328d8fb74b
8
+ metadata.gz: !binary |-
9
+ ODAzNjdhYWQzZTJmMjc0NmZjYmI1NWQ1ZTU4YjU2MjdhYWZhNmU0NjBmYTQ4
10
+ Mzc3OTA3OGI4MGE5MjM0YjBmNTg1MzFmNjVlMzYxNzE0NTY5ZTU3OTgyNWMw
11
+ ZGUyMDJmZDJkNGI4NGNiZGM0ZDI4ZTIxNTczMWE3NjFiYThmNjA=
12
+ data.tar.gz: !binary |-
13
+ Njg3MTc5YWI2MmQ0MDI0ODYyYThmMzBjMDQyOWYyNWZiYmFkMTQ2YTIxNjBm
14
+ MmYyMmEwMmU5YWFhMDE2ZWY2NzhlNDUyYWUwNzE1ZjQ2ZDA1YWNlM2I1OGFh
15
+ YjdlZjc0ZTY1YTg2Y2RiMDljNDVkNDcxZGRhM2FmZGZhMzUxMDI=
data/.gitignore CHANGED
@@ -1,4 +1,4 @@
1
1
  Gemfile.lock
2
2
  .idea/
3
3
  *.gem
4
- .html/
4
+ .report/
@@ -1 +1 @@
1
- ruby-2.1.5
1
+ ruby-1.9.3
data/Gemfile CHANGED
@@ -1,14 +1,11 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
- # Specify your gem's dependencies in processing-ruby.gemspec
4
- gemspec
5
-
6
- gem 'faraday'
7
- gem 'faraday_middleware'
8
- gem 'addressable'
9
- gem 'json'
3
+ gem 'rake', '~> 10.4.2'
4
+ gem 'public_suffix', '~> 1.4.6'
10
5
 
11
6
  group :test do
12
- gem 'minitest'
13
- gem 'minitest-reporters'
14
- end
7
+ gem 'minitest', '~> 5.10.1'
8
+ gem 'minitest-reporters', '~> 1.1.13'
9
+ end
10
+
11
+ gemspec
data/Rakefile CHANGED
@@ -4,5 +4,6 @@ require 'rake/testtask'
4
4
 
5
5
  desc 'Run test suite'
6
6
  Rake::TestTask.new do |t|
7
- t.test_files = FileList['test/**/test_*.rb']
7
+ # t.test_files = FileList['test/**/test_*.rb']
8
+ t.pattern ='test/**/test_*.rb'
8
9
  end
data/circle.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  machine:
2
2
  ruby:
3
- version: 2.1.5
3
+ version: 1.9.3
4
4
 
5
5
  environment:
6
6
  PROCESSING_URL: https://api-staging.finix.io/
@@ -5,6 +5,7 @@ require 'finix/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'finix'
8
+ spec.required_ruby_version = '>= 1.9'
8
9
  spec.version = Finix::VERSION
9
10
  spec.authors = ['finix-payments']
10
11
  spec.email = ['support@finixpayments.com']
@@ -21,11 +22,8 @@ Gem::Specification.new do |spec|
21
22
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
22
23
  spec.require_paths = ['lib']
23
24
 
24
- spec.add_development_dependency 'bundler', '~> 1.13'
25
- spec.add_development_dependency 'rake', '~> 10.0'
26
- spec.add_development_dependency 'rspec', '~> 3.0'
27
-
28
- spec.add_dependency('faraday', ['>= 0.8.6', '<= 0.9.0'])
29
- spec.add_dependency('faraday_middleware', '~> 0.9.0')
30
- spec.add_dependency('addressable', '~> 2.3.5')
25
+ spec.add_dependency('faraday', '~> 0.9.2')
26
+ spec.add_dependency('faraday_middleware', '~> 0.10.1')
27
+ spec.add_dependency('addressable', '~> 2.3')
28
+ spec.add_dependency('json', '~> 1.8')
31
29
  end
@@ -21,19 +21,5 @@ module Finix
21
21
  end
22
22
  end
23
23
  end
24
-
25
- if RUBY_VERSION < '1.9'
26
- def respond_to?(method_name, include_private=false)
27
- does_resource_respond_to?(method_name) || super
28
- end
29
- else
30
- def respond_to_missing?(method_name, include_private=false)
31
- does_resource_respond_to?(method_name) || super
32
- end
33
- end
34
-
35
- def does_resource_respond_to?(method_name)
36
- @attributes.has_key?(method_name.to_s) or @hyperlinks.has_key?(method_name.to_s)
37
- end
38
24
  end
39
25
  end
@@ -1,3 +1,3 @@
1
1
  module Finix
2
- VERSION = '0.2'
2
+ VERSION = '0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finix
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  platform: ruby
6
6
  authors:
7
7
  - finix-payments
@@ -11,113 +11,75 @@ cert_chain: []
11
11
  date: 2016-12-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: bundler
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.13'
20
- type: :development
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.13'
27
- - !ruby/object:Gem::Dependency
28
- name: rake
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '10.0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - "~>"
39
- - !ruby/object:Gem::Version
40
- version: '10.0'
41
- - !ruby/object:Gem::Dependency
42
- name: rspec
14
+ name: faraday
43
15
  requirement: !ruby/object:Gem::Requirement
44
16
  requirements:
45
- - - "~>"
17
+ - - ~>
46
18
  - !ruby/object:Gem::Version
47
- version: '3.0'
48
- type: :development
19
+ version: 0.9.2
20
+ type: :runtime
49
21
  prerelease: false
50
22
  version_requirements: !ruby/object:Gem::Requirement
51
23
  requirements:
52
- - - "~>"
24
+ - - ~>
53
25
  - !ruby/object:Gem::Version
54
- version: '3.0'
26
+ version: 0.9.2
55
27
  - !ruby/object:Gem::Dependency
56
- name: faraday
28
+ name: faraday_middleware
57
29
  requirement: !ruby/object:Gem::Requirement
58
30
  requirements:
59
- - - ">="
31
+ - - ~>
60
32
  - !ruby/object:Gem::Version
61
- version: 0.8.6
62
- - - "<="
63
- - !ruby/object:Gem::Version
64
- version: 0.9.0
33
+ version: 0.10.1
65
34
  type: :runtime
66
35
  prerelease: false
67
36
  version_requirements: !ruby/object:Gem::Requirement
68
37
  requirements:
69
- - - ">="
70
- - !ruby/object:Gem::Version
71
- version: 0.8.6
72
- - - "<="
38
+ - - ~>
73
39
  - !ruby/object:Gem::Version
74
- version: 0.9.0
40
+ version: 0.10.1
75
41
  - !ruby/object:Gem::Dependency
76
- name: faraday_middleware
42
+ name: addressable
77
43
  requirement: !ruby/object:Gem::Requirement
78
44
  requirements:
79
- - - "~>"
45
+ - - ~>
80
46
  - !ruby/object:Gem::Version
81
- version: 0.9.0
47
+ version: '2.3'
82
48
  type: :runtime
83
49
  prerelease: false
84
50
  version_requirements: !ruby/object:Gem::Requirement
85
51
  requirements:
86
- - - "~>"
52
+ - - ~>
87
53
  - !ruby/object:Gem::Version
88
- version: 0.9.0
54
+ version: '2.3'
89
55
  - !ruby/object:Gem::Dependency
90
- name: addressable
56
+ name: json
91
57
  requirement: !ruby/object:Gem::Requirement
92
58
  requirements:
93
- - - "~>"
59
+ - - ~>
94
60
  - !ruby/object:Gem::Version
95
- version: 2.3.5
61
+ version: '1.8'
96
62
  type: :runtime
97
63
  prerelease: false
98
64
  version_requirements: !ruby/object:Gem::Requirement
99
65
  requirements:
100
- - - "~>"
66
+ - - ~>
101
67
  - !ruby/object:Gem::Version
102
- version: 2.3.5
68
+ version: '1.8'
103
69
  description: Finix Ruby Client
104
70
  email:
105
71
  - support@finixpayments.com
106
- executables:
107
- - console
108
- - setup
72
+ executables: []
109
73
  extensions: []
110
74
  extra_rdoc_files: []
111
75
  files:
112
- - ".gitignore"
113
- - ".ruby-gemset"
114
- - ".ruby-version"
76
+ - .gitignore
77
+ - .ruby-gemset
78
+ - .ruby-version
115
79
  - Gemfile
116
80
  - LICENSE.txt
117
81
  - README.md
118
82
  - Rakefile
119
- - bin/console
120
- - bin/setup
121
83
  - circle.yml
122
84
  - finix.gemspec
123
85
  - lib/finix.rb
@@ -160,12 +122,12 @@ require_paths:
160
122
  - lib
161
123
  required_ruby_version: !ruby/object:Gem::Requirement
162
124
  requirements:
163
- - - ">="
125
+ - - ! '>='
164
126
  - !ruby/object:Gem::Version
165
- version: '0'
127
+ version: '1.9'
166
128
  required_rubygems_version: !ruby/object:Gem::Requirement
167
129
  requirements:
168
- - - ">="
130
+ - - ! '>='
169
131
  - !ruby/object:Gem::Version
170
132
  version: '0'
171
133
  requirements: []
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'bundler/setup'
4
- require 'finix'
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require 'irb'
14
- IRB.start
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here