chargify_api 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -1,6 +1,7 @@
1
1
  source "http://rubygems.org"
2
2
 
3
3
  gem 'httparty'
4
+ gem 'hashie'
4
5
 
5
6
  group :development do
6
7
  gem 'ruby-debug19', :require => 'ruby-debug'
data/Gemfile.lock CHANGED
@@ -5,6 +5,7 @@ GEM
5
5
  columnize (0.3.4)
6
6
  crack (0.1.8)
7
7
  git (1.2.5)
8
+ hashie (1.1.0)
8
9
  httparty (0.7.8)
9
10
  crack (= 0.1.8)
10
11
  jeweler (1.6.4)
@@ -31,6 +32,7 @@ PLATFORMS
31
32
 
32
33
  DEPENDENCIES
33
34
  bundler (~> 1.0.0)
35
+ hashie
34
36
  httparty
35
37
  jeweler (~> 1.6.0)
36
38
  rcov
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
data/chargify_api.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{chargify_api}
8
- s.version = "0.1.0"
8
+ s.version = "0.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = [%q{Joshua Abbott}]
12
- s.date = %q{2011-08-29}
12
+ s.date = %q{2011-08-30}
13
13
  s.description = %q{A better Chargify API wrapper,}
14
14
  s.email = %q{joshnabbott@gmail.com}
15
15
  s.extra_rdoc_files = [
@@ -46,12 +46,14 @@ Gem::Specification.new do |s|
46
46
 
47
47
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
48
48
  s.add_runtime_dependency(%q<httparty>, [">= 0"])
49
+ s.add_runtime_dependency(%q<hashie>, [">= 0"])
49
50
  s.add_development_dependency(%q<ruby-debug19>, [">= 0"])
50
51
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
51
52
  s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
52
53
  s.add_development_dependency(%q<rcov>, [">= 0"])
53
54
  else
54
55
  s.add_dependency(%q<httparty>, [">= 0"])
56
+ s.add_dependency(%q<hashie>, [">= 0"])
55
57
  s.add_dependency(%q<ruby-debug19>, [">= 0"])
56
58
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
57
59
  s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
@@ -59,6 +61,7 @@ Gem::Specification.new do |s|
59
61
  end
60
62
  else
61
63
  s.add_dependency(%q<httparty>, [">= 0"])
64
+ s.add_dependency(%q<hashie>, [">= 0"])
62
65
  s.add_dependency(%q<ruby-debug19>, [">= 0"])
63
66
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
64
67
  s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
data/lib/chargify_api.rb CHANGED
@@ -1,16 +1,15 @@
1
1
  require 'rubygems'
2
2
  require 'httparty'
3
- require 'ostruct'
3
+ require 'hashie'
4
4
  require 'ruby-debug'
5
5
  require File.expand_path('../chargify', __FILE__)
6
6
  require File.expand_path('../connection', __FILE__)
7
7
  require File.expand_path('../list', __FILE__)
8
- require File.expand_path('../list_item', __FILE__)
9
8
  require File.expand_path('../transaction', __FILE__)
10
9
  require File.expand_path('../transactions', __FILE__)
11
10
 
12
11
  module ChargifyApi
13
- VERSION = '0.0.1'
12
+ VERSION = '0.1.0'
14
13
  YAML::ENGINE.yamler = 'syck'
15
14
  end
16
15
 
data/lib/transaction.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module ChargifyApi
2
- class Transaction < ListItem
2
+ class Transaction < Hashie::Mash
3
3
  end
4
4
  end
5
5
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chargify_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-29 00:00:00.000000000Z
12
+ date: 2011-08-30 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
16
- requirement: &70188512591540 !ruby/object:Gem::Requirement
16
+ requirement: &70107842683540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,21 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70188512591540
24
+ version_requirements: *70107842683540
25
+ - !ruby/object:Gem::Dependency
26
+ name: hashie
27
+ requirement: &70107842682480 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *70107842682480
25
36
  - !ruby/object:Gem::Dependency
26
37
  name: ruby-debug19
27
- requirement: &70188512589680 !ruby/object:Gem::Requirement
38
+ requirement: &70107842681400 !ruby/object:Gem::Requirement
28
39
  none: false
29
40
  requirements:
30
41
  - - ! '>='
@@ -32,10 +43,10 @@ dependencies:
32
43
  version: '0'
33
44
  type: :development
34
45
  prerelease: false
35
- version_requirements: *70188512589680
46
+ version_requirements: *70107842681400
36
47
  - !ruby/object:Gem::Dependency
37
48
  name: bundler
38
- requirement: &70188512588060 !ruby/object:Gem::Requirement
49
+ requirement: &70107842680200 !ruby/object:Gem::Requirement
39
50
  none: false
40
51
  requirements:
41
52
  - - ~>
@@ -43,10 +54,10 @@ dependencies:
43
54
  version: 1.0.0
44
55
  type: :development
45
56
  prerelease: false
46
- version_requirements: *70188512588060
57
+ version_requirements: *70107842680200
47
58
  - !ruby/object:Gem::Dependency
48
59
  name: jeweler
49
- requirement: &70188512586280 !ruby/object:Gem::Requirement
60
+ requirement: &70107842678580 !ruby/object:Gem::Requirement
50
61
  none: false
51
62
  requirements:
52
63
  - - ~>
@@ -54,10 +65,10 @@ dependencies:
54
65
  version: 1.6.0
55
66
  type: :development
56
67
  prerelease: false
57
- version_requirements: *70188512586280
68
+ version_requirements: *70107842678580
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: rcov
60
- requirement: &70188512576400 !ruby/object:Gem::Requirement
71
+ requirement: &70107842677120 !ruby/object:Gem::Requirement
61
72
  none: false
62
73
  requirements:
63
74
  - - ! '>='
@@ -65,7 +76,7 @@ dependencies:
65
76
  version: '0'
66
77
  type: :development
67
78
  prerelease: false
68
- version_requirements: *70188512576400
79
+ version_requirements: *70107842677120
69
80
  description: A better Chargify API wrapper,
70
81
  email: joshnabbott@gmail.com
71
82
  executables: []
@@ -106,7 +117,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
106
117
  version: '0'
107
118
  segments:
108
119
  - 0
109
- hash: -2291214423344558367
120
+ hash: -3732602259923248004
110
121
  required_rubygems_version: !ruby/object:Gem::Requirement
111
122
  none: false
112
123
  requirements: