marcguyer-cheddargetter-client 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :minor: 2
3
- :patch: 0
3
+ :patch: 1
4
4
  :major: 0
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{cheddargetter-client}
5
- s.version = "0.2.0"
5
+ s.version = "0.2.1"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Marc Guyer"]
@@ -1,8 +1,6 @@
1
1
  require 'rubygems'
2
2
  require 'httparty'
3
3
  require 'libxml'
4
- require 'pp'
5
- require 'json'
6
4
 
7
5
  module CheddarGetter
8
6
 
@@ -136,10 +134,6 @@ module CheddarGetter
136
134
 
137
135
  end
138
136
 
139
- def to_json
140
- return self.to_a.to_json
141
- end
142
-
143
137
  def plan(code = nil)
144
138
  raise ArgumentException 'Can\'t get a plan from a response that isn\'t of type \'plans\'' if @responseType != 'plans'
145
139
  raise 'This response contains more than one plan so you need to provide the code for the plan you wish to get' if code.blank? && @document.root.children.length > 1
@@ -239,8 +233,4 @@ module CheddarGetter
239
233
 
240
234
  end
241
235
 
242
- class ResponseException < Exception
243
-
244
- end
245
-
246
236
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marcguyer-cheddargetter-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marc Guyer