lucidimagination-chargify 0.2.7.2 → 0.2.8.pre2

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -20,7 +20,3 @@ pkg
20
20
 
21
21
  ## PROJECT::SPECIFIC
22
22
  dist/*
23
-
24
- Gemfile.lock
25
- *.gem
26
- .rvmrc
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'active_support/inflector'
3
3
  require 'shoulda/tasks'
4
4
 
5
5
 
6
- MG.new("lucidimagination-chargify.gemspec")
6
+ MG.new("chargify.gemspec")
7
7
 
8
8
  require 'rake/testtask'
9
9
  Rake::TestTask.new(:test) do |test|
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{lucidimagination-chargify}
8
- s.version = "0.2.7.2"
8
+ s.version = "0.2.8.pre2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Wynn Netherland", "Nash Kabbara"]
@@ -24,7 +24,7 @@ Gem::Specification.new do |s|
24
24
  "Rakefile",
25
25
  "VERSION",
26
26
  "changelog.md",
27
- "lucidimagination-chargify.gemspec",
27
+ "chargify.gemspec",
28
28
  "lib/chargify.rb",
29
29
  "lib/chargify/client.rb",
30
30
  "test/fixtures/customer.json",
@@ -170,11 +170,6 @@ module Chargify
170
170
  transactions.map{|t| Hashie::Mash.new t['transaction']}
171
171
  end
172
172
 
173
- def list_statements(subscription_id)
174
- statements = get("/subscriptions/#{subscription_id}/statements.json")
175
- statements.map{|s| Hashie::Mash.new s['statement']}
176
- end
177
-
178
173
  def list_components(subscription_id)
179
174
  components = get("/subscriptions/#{subscription_id}/components.json")
180
175
  components.map{|c| Hashie::Mash.new c['component']}
@@ -422,11 +422,5 @@ class ChargifyTest < Test::Unit::TestCase
422
422
  end
423
423
  end
424
424
 
425
- should "return a list of statements" do
426
- stub_get "https://OU812:x@pengwynn.chargify.com/subscriptions/123/statements.json", "statements.json"
427
- statements = @client.list_statements 123
428
- statements.size.should == 1
429
- statements.first.customer_last_name.should == 'Schlumm'
430
- end
431
425
  end
432
426
  end
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lucidimagination-chargify
3
3
  version: !ruby/object:Gem::Version
4
- hash: 71
5
- prerelease:
4
+ hash: 1923832013
5
+ prerelease: 6
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 7
9
+ - 8
10
+ - pre
10
11
  - 2
11
- version: 0.2.7.2
12
+ version: 0.2.8.pre2
12
13
  platform: ruby
13
14
  authors:
14
15
  - Wynn Netherland
@@ -149,7 +150,7 @@ files:
149
150
  - Rakefile
150
151
  - VERSION
151
152
  - changelog.md
152
- - lucidimagination-chargify.gemspec
153
+ - chargify.gemspec
153
154
  - lib/chargify.rb
154
155
  - lib/chargify/client.rb
155
156
  - test/fixtures/customer.json