cashstar-ruby 0.1.8 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YmU5ZjA1ZWJlNGY3MDE3YWRkZmYyMDhhODk1NzVhNGI3ZmRmYWNiNg==
4
+ YWE3YjdiN2NkNWY1OWE4ODk3ODJiYzk3Nzc5N2IwOThhZmI4YjA2MQ==
5
5
  data.tar.gz: !binary |-
6
- M2U1ZjIwNWIwMWI1YjdhNDA1NGZjOTNmODQ3NGQyZjdiMWRiOWI5OA==
6
+ MGRmYzlmOTc5YmRkMzRiNGU1YmE5NWQzYjE3Y2EzZmJjNzc4ZmEzZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTcyMTQwYWQxZDQ2NWI4ZmRjZTFhMzY5OTA3NWM2YTQ4NjQyMWZiOWIwMDUy
10
- MTgyYjg3MDNhODcyZDJiY2MzYzE0NGEwM2JiMzNhNDg0YWMwMGIzYmI0YzA5
11
- MGNlZGJmZjE2ZjBjYTYxNDBlMWRiMjJhYzdlMGU4ZDIyMTFhMjY=
9
+ MDIwMTAzMjhlNzJhNmUyZjFlNzEzYzI1YmQxYzU5N2E0MzY4Y2E5YTFlNzY2
10
+ ZjVhYTNlYjAxMDBjOWY3MjkxN2UxMjllZTVjMzA5Njg2N2MzYmFkYmNhNDEz
11
+ MDU5NDhlZGJiMzU2ZDVkMGE4YjZlNzc4NWJhMjBhZGU1ZGMwMWU=
12
12
  data.tar.gz: !binary |-
13
- NDcyNTIwZDE2YTg1ZTNkYTA4NDI0OGM3NzkxNjRmYjcxZTkyZmJkZTA3YTA2
14
- NWEwZGM2MzA3YmRmNmFmZThmNzA0ZTFlZDhiODliMzM1OTRlYWUxZGU1ZDBm
15
- ZmU4YTNjMjg3OWUyNTBkOTVjOGFmOTZmNzQ5MThjMmI4YzdlODU=
13
+ N2E4MjlmNGViNGMxNWE0ODYzMDQ0MmU1N2YzNmNhNzNlMzIwZWM2MTk1MTY2
14
+ ZDJlY2NhYmJhNTQ2OTE5NmNhNGQ1ZjNmNzQ3MGU1YWVmYTI4YTFhZGVmOWI1
15
+ NmRlMzA5YmQ4OTJjZWNlNmQ4MjQ0NzE4ZDIyOWRlNWExZGMxYzA=
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cashstar-ruby (0.1.7)
4
+ cashstar-ruby (0.2.0)
5
5
  faraday (~> 0.8)
6
6
  faraday_middleware (~> 0.8)
7
- hashie (~> 1.2.0)
7
+ hashie
8
8
  multi_json (~> 1.8.0)
9
9
  multi_xml (~> 0.5.0)
10
10
 
@@ -15,17 +15,18 @@ GEM
15
15
  crack (0.4.2)
16
16
  safe_yaml (~> 1.0.0)
17
17
  diff-lcs (1.2.5)
18
- faraday (0.9.0)
18
+ faraday (0.9.2)
19
19
  multipart-post (>= 1.2, < 3)
20
- faraday_middleware (0.9.1)
20
+ faraday_middleware (0.10.0)
21
21
  faraday (>= 0.7.4, < 0.10)
22
- hashie (1.2.0)
22
+ hashie (3.4.3)
23
23
  metaclass (0.0.4)
24
24
  mocha (0.14.0)
25
25
  metaclass (~> 0.0.1)
26
26
  multi_json (1.8.4)
27
27
  multi_xml (0.5.5)
28
28
  multipart-post (2.0.0)
29
+ rake (10.4.2)
29
30
  rspec (2.99.0)
30
31
  rspec-core (~> 2.99.0)
31
32
  rspec-expectations (~> 2.99.0)
@@ -46,5 +47,9 @@ PLATFORMS
46
47
  DEPENDENCIES
47
48
  cashstar-ruby!
48
49
  mocha (~> 0.13)
50
+ rake
49
51
  rspec (~> 2.12)
50
52
  webmock (~> 1.9)
53
+
54
+ BUNDLED WITH
55
+ 1.10.6
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # A CashStar Ruby Gem
2
2
  A Ruby wrapper for the CashStar REST API
3
3
 
4
+ Note: This gem is a copy of the gem found here: https://github.com/crowdtap/cashstar. I created a copy of that gem because the cashstar team was not responding to my request to put their gem on Rubygems.
5
+
4
6
  ## <a name="installation">Installation</a>
5
7
  gem install cashstar
6
8
 
data/Rakefile CHANGED
@@ -1,2 +1,13 @@
1
1
  require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
+
4
+ require 'rspec/core/rake_task'
5
+ require 'bundler/gem_tasks'
6
+
7
+ # Default directory to look in is `/specs`
8
+ # Run with `rake spec`
9
+ RSpec::Core::RakeTask.new(:spec) do |task|
10
+ task.rspec_opts = ['--color', '--format', 'documentation']
11
+ end
12
+
13
+ task :default => :spec
data/cashstar.gemspec CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
  #s.files = Dir['lib/**/*.rb']
21
21
 
22
- s.add_dependency 'hashie', '~> 1.2.0'
22
+ s.add_dependency 'hashie'
23
23
  s.add_dependency 'faraday', '~> 0.8'
24
24
  s.add_dependency 'faraday_middleware', '~> 0.8'
25
25
  s.add_dependency 'multi_json', '~> 1.8.0'
@@ -28,4 +28,5 @@ Gem::Specification.new do |s|
28
28
  s.add_development_dependency 'rspec', '~> 2.12'
29
29
  s.add_development_dependency 'mocha', '~> 0.13'
30
30
  s.add_development_dependency 'webmock', '~> 1.9'
31
+ s.add_development_dependency 'rake'
31
32
  end
@@ -1,3 +1,3 @@
1
1
  module Cashstar
2
- VERSION = "0.1.8"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cashstar-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charlie White
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-18 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hashie
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.2.0
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ~>
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
- version: 1.2.0
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: faraday
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - ~>
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.9'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
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'
125
139
  description: CashStar's API provides a simple interface for purchasing and issuing
126
140
  electronic gift cards from a variety of brands
127
141
  email:
@@ -131,7 +145,6 @@ extensions: []
131
145
  extra_rdoc_files: []
132
146
  files:
133
147
  - .rspec
134
- - .ruby-gemset
135
148
  - .ruby-version
136
149
  - Gemfile
137
150
  - Gemfile.lock
@@ -182,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
182
195
  version: '0'
183
196
  requirements: []
184
197
  rubyforge_project: cashstar-ruby
185
- rubygems_version: 2.4.5
198
+ rubygems_version: 2.4.4
186
199
  signing_key:
187
200
  specification_version: 4
188
201
  summary: Ruby Bindings for the CashStar API
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- cashstar-ruby