rubyzoho 0.1.11 → 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
- NTYwNTBjNmI5YTEzZDQzNjQwZjExOTc0YzkxNDRlZjIxODA1ZDFlNQ==
4
+ MzRjNDJhZjA2OGQ4NTdkYTc2MWEyM2IxZGQ5MzI2MTUyNTlhOWYzMQ==
5
5
  data.tar.gz: !binary |-
6
- MzY4ZmVlZTY2ZjlmMjdkZjE0Njc3YWRjMmFkZWZmM2Q5NTBkYTYzYw==
6
+ M2Y4NjYzNWY4MzNmNzAzMTg3NWY3MGIwYjUwMmY5OTZjOTkyN2Q4Ng==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmQ5MzBhODczNzA1Yzk0ZTAyYjRlZTAwNWRmYWYxNTc0ZWE5ODA0ZTczZmUz
10
- YTlhYjdlZDA3YWQ1MjlkOTg0MDYwMWUyOThkODhkZDM0ZTgwNTIxOGRhZDVi
11
- ZjlmMzMwNDJlMWExYTUyZmMzOTYyNDRkMmVhZTQ1NmM2NGJlN2Y=
9
+ NGJjMjg3MjQ0ZTA4YWZlZWUyMmU1YzhmZmI4ZjkyOTA5ZGIyZTE0YzcyNzcz
10
+ ZWE3NzhhNjgxMDAzNDkxZGE0ZTBhODU3YWUzNzI2YzYxYTI1ZDc4YTQwY2Ni
11
+ MWQ2YzNiYzdmMjEwYzcyNTBlZmM3OTc0ZTgzOGQ0YzY1MGEyOGU=
12
12
  data.tar.gz: !binary |-
13
- ODg2YjA0YTU0MjE2NTcwYTZkN2MzMDYwZjQ0M2NjNDY4MGFmOWJkZjgxNzQ0
14
- NDYxOWJjMDRkZjAwOTNjNGI0OWE1NGZlZGM0N2ZjYTljYTU5ZjI4Y2U3ZjBl
15
- ZWY0NTQ3ODE4YjI4MDMzMGU2NjgyMWVjZjZkOTA4YjBlOTU4Mjc=
13
+ ZWJhYjdkNjlkZDNkMjc3MjMyM2VmYTJkNDU4ZTg3YzIyMjkxNTViOTc5ZmM4
14
+ OThmYTdhMjg1ZjU2YTg2NzRkMzExYTBhNDcyNTBhMzFmY2E3NjNmMGY2ZDMz
15
+ ZmRkZTRiMWZkZTY3NzU4MzAwMTI3MmM4ZGM5MTM2YWE2ZTJlNTM=
data/Gemfile CHANGED
@@ -7,18 +7,21 @@ gem 'multipart-post'
7
7
 
8
8
  group :test do
9
9
  gem 'rspec', '>= 2.12.0'
10
- gem 'xml-simple', '>=1.1.2'
11
10
  gem 'simplecov', '>= 0.7.1', :require => false, :group => :test
12
11
  gem 'coveralls', require: false
13
12
  end
14
13
 
15
14
  group :development do
16
15
  gem 'bundler', '>= 1.2'
17
- gem 'cucumber', '>= 1.2.1'
18
16
  gem 'holepicker'
19
- gem 'jeweler', '~> 1.8.4'
20
- gem 'relish', '>= 0.6'
17
+ gem 'jeweler'
21
18
  gem 'rdoc', '>= 3.12.1'
22
19
  gem 'rspec', '>= 2.12.0'
20
+ end
21
+
22
+ group :development, :test do
23
+ gem 'vcr'
24
+ gem 'webmock'
23
25
  gem 'xml-simple', '>=1.1.2'
24
26
  end
27
+
data/README.rdoc CHANGED
@@ -1,4 +1,5 @@
1
- = rubyzoho {<img src="https://travis-ci.org/amalc/rubyzoho.png?branch=master" alt="Build Status" />}[https://travis-ci.org/amalc/rubyzoho] {<img src="https://gemnasium.com/amalc/rubyzoho.png" alt="Dependency Status" />}[https://gemnasium.com/amalc/rubyzoho] {<img src="https://codeclimate.com/github/amalc/rubyzoho.png" />}[https://codeclimate.com/github/amalc/rubyzoho] {<img src="https://coveralls.io/repos/amalc/rubyzoho/badge.png?branch=master" alt="Coverage Status" />}[https://coveralls.io/r/amalc/rubyzoho] {<img src="https://badge.fury.io/rb/rubyzoho.png" alt="Gem Version" />}[http://badge.fury.io/rb/rubyzoho]
1
+ = rubyzoho
2
+ {<img src="https://travis-ci.org/amalc/rubyzoho.png?branch=master" alt="Build Status" />}[https://travis-ci.org/amalc/rubyzoho] {<img src="https://gemnasium.com/amalc/rubyzoho.png" alt="Dependency Status" />}[https://gemnasium.com/amalc/rubyzoho] {<img src="https://codeclimate.com/github/amalc/rubyzoho.png" />}[https://codeclimate.com/github/amalc/rubyzoho] {<img src="https://coveralls.io/repos/amalc/rubyzoho/badge.png?branch=master" alt="Coverage Status" />}[https://coveralls.io/r/amalc/rubyzoho] {<img src="https://badge.fury.io/rb/rubyzoho.png" alt="Gem Version" />}[http://badge.fury.io/rb/rubyzoho]
2
3
 
3
4
 
4
5
 
@@ -265,17 +266,26 @@ Copyright (c) 2013 amalc (\@\amalc). Released under the MIT license. See LICENSE
265
266
  == Release Candidates (Uses {Semantic Versioning}[http://semver.org/])
266
267
 
267
268
  == Development
268
- [0.1.12]
269
+ [0.2.0]
269
270
  1. Modules Supported: Accounts, Contacts, Leads, Potentials, Quotes, Tasks and Users
270
271
  2. ActiveRecord style syntax for Class.\new, Class.delete, Class.find, Class.update, Object.save
271
272
  3. << syntax for Account/Tasks on Master/Detail relationships
272
273
  4. Option in config to ignore fields with improper field names
273
274
 
274
- [0.1.11] (Current master branch)
275
+ == Patch
276
+ [0.1.12]
277
+ 1. Refresh dependencies
278
+ 2. Remove Cucumber
279
+ 3. Remove Relish
280
+ 4. Fix production dependencies to reduce gem footprint
281
+
282
+ == Released
283
+ [0.1.11]
275
284
  1. Incorporate fix to namespace collision between Devise and RubyZoho, User renamed to CRMUser thanks to @qume.
276
285
  2. Other fixes from @tjsousa, @aeldaly and @fheemeyer.
277
286
  3. Refactor of the code base to improve modularization and test coverage.
278
- == Released
287
+ [0.1.8 - 0.1.10]
288
+ Various forks out in the community so bumped the release number to 0.1.11 prevent confusion.
279
289
  [0.1.7]
280
290
  1. Bug for attach_file method, respect the file_name parameter.
281
291
  2. \:\id is the primary key across all Zoho related classes (modules) in addition to Zoho's existing convention.
data/Rakefile CHANGED
@@ -3,23 +3,18 @@
3
3
  require 'rubygems'
4
4
  require 'bundler'
5
5
 
6
- require "bundler/gem_tasks"
6
+ require 'bundler/gem_tasks'
7
7
  require 'rspec/core/rake_task'
8
- require 'cucumber/rake/task'
9
8
 
10
9
  RSpec::Core::RakeTask.new(:spec)
11
10
 
12
11
  task :default => :spec
13
12
 
14
- Cucumber::Rake::Task.new(:features) do |t|
15
- t.cucumber_opts = "features --format progress"
16
- end
17
-
18
13
  begin
19
14
  Bundler.setup(:default, :development)
20
15
  rescue Bundler::BundlerError => e
21
16
  $stderr.puts e.message
22
- $stderr.puts "Run `bundle install` to install missing gems"
17
+ $stderr.puts 'Run `bundle install` to install missing gems'
23
18
  exit e.status_code
24
19
  end
25
20
  require 'rake'
@@ -27,13 +22,13 @@ require 'rake'
27
22
  require 'jeweler'
28
23
  Jeweler::Tasks.new do |gem|
29
24
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
30
- gem.name = "rubyzoho"
31
- gem.homepage = "http://github.com/amalc/rubyzoho"
32
- gem.license = "MIT"
33
- gem.summary = "A set of Ruby classes supporting the ActiveRecord lifecycle for the Zoho API."
34
- gem.description = ""
35
- gem.email = ""
36
- gem.authors = ["amalc"]
25
+ gem.name = 'rubyzoho'
26
+ gem.homepage = 'http://github.com/amalc/rubyzoho'
27
+ gem.license = 'MIT'
28
+ gem.summary = 'A set of Ruby classes supporting the ActiveRecord lifecycle for the Zoho API. Supports Rails and Devise.'
29
+ gem.description = ''
30
+ gem.email = ''
31
+ gem.authors = ['amalc']
37
32
  # dependencies defined in Gemfile
38
33
  end
39
34
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.11
1
+ 0.2.0
data/lib/crud_methods.rb CHANGED
@@ -41,6 +41,14 @@ module CrudMethods
41
41
  new(object_attribute_hash.merge!(r))
42
42
  end
43
43
 
44
+ def update_related(object_attribute_hash)
45
+ raise(RuntimeError, 'No ID found', object_attribute_hash.to_s) if object_attribute_hash[:id].nil?
46
+ id = object_attribute_hash[:id]
47
+ object_attribute_hash.delete(:id)
48
+ RubyZoho.configuration.api.update_related_records(self.module_name, id, object_attribute_hash)
49
+ find(id)
50
+ end
51
+
44
52
  end
45
53
 
46
54
  def attach_file(file_path, file_name)
data/lib/zoho_api.rb CHANGED
@@ -65,8 +65,16 @@ module ZohoApi
65
65
  def check_for_errors(response)
66
66
  raise(RuntimeError, "Web service call failed with #{response.code}") unless response.code == 200
67
67
  x = REXML::Document.new(response.body)
68
- code = REXML::XPath.first(x, '//code')
69
- raise(RuntimeError, "Zoho Error Code #{code.text}: #{REXML::XPath.first(x, '//message').text}.") unless code.nil? || ['4422', '5000'].index(code.text)
68
+
69
+ # updateRelatedRecords returns two codes one in the status tag and another in a success tag, we want the
70
+ # code under the success tag in this case
71
+ code = REXML::XPath.first(x, '//success/code') || code = REXML::XPath.first(x, '//code')
72
+
73
+ # 4422 code is no records returned, not really an error
74
+ # TODO: find out what 5000 is
75
+ # 4800 code is returned when building an association. i.e Adding a product to a lead. Also this doesn't return a message
76
+ raise(RuntimeError, "Zoho Error Code #{code.text}: #{REXML::XPath.first(x, '//message').text}.") unless code.nil? || ['4422', '5000', '4800'].index(code.text)
77
+
70
78
  return code.text unless code.nil?
71
79
  response.code
72
80
  end
@@ -137,6 +145,23 @@ module ZohoApi
137
145
  to_hash(x, module_name)
138
146
  end
139
147
 
148
+ def update_related_records(parent_module, parent_record_id, related_module_fields)
149
+ x = REXML::Document.new
150
+ leads = x.add_element related_module_fields[:related_module]
151
+ row = leads.add_element 'row', { 'no' => '1' }
152
+ related_module_fields[:xml_data].each_pair { |k, v| add_field(row, ApiUtils.symbol_to_string(k), v) }
153
+
154
+ r = self.class.post(create_url("#{parent_module}", 'updateRelatedRecords'),
155
+ :query => { :newFormat => 1,
156
+ :id => parent_record_id,
157
+ :authtoken => @auth_token, :scope => 'crmapi',
158
+ :relatedModule => related_module_fields[:related_module],
159
+ :xmlData => x },
160
+ :headers => { 'Content-length' => '0' })
161
+
162
+ check_for_errors(r)
163
+ end
164
+
140
165
  def update_record(module_name, id, fields_values_hash)
141
166
  x = REXML::Document.new
142
167
  contacts = x.add_element module_name
data/rubyzoho.gemspec CHANGED
@@ -2,15 +2,15 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: rubyzoho 0.1.11 ruby lib
5
+ # stub: rubyzoho 0.2.0 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "rubyzoho"
9
- s.version = "0.1.11"
9
+ s.version = "0.2.0"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.authors = ["amalc"]
13
- s.date = "2013-12-16"
13
+ s.date = "2014-01-29"
14
14
  s.description = ""
15
15
  s.email = ""
16
16
  s.extra_rdoc_files = [
@@ -38,7 +38,6 @@ Gem::Specification.new do |s|
38
38
  "lib/zoho_api_finders.rb",
39
39
  "lib/zoho_crm_users.rb",
40
40
  "lib/zoho_crm_utils.rb",
41
- "rubyzoho-0.1.7.gem",
42
41
  "rubyzoho.gemspec",
43
42
  "spec/api_utils_spec.rb",
44
43
  "spec/fixtures/sample.pdf",
@@ -55,7 +54,7 @@ Gem::Specification.new do |s|
55
54
  s.licenses = ["MIT"]
56
55
  s.require_paths = ["lib"]
57
56
  s.rubygems_version = "2.1.11"
58
- s.summary = "A set of Ruby classes supporting the ActiveRecord lifecycle for the Zoho API."
57
+ s.summary = "A set of Ruby classes supporting the ActiveRecord lifecycle for the Zoho API. Supports Rails and Devise."
59
58
 
60
59
  if s.respond_to? :specification_version then
61
60
  s.specification_version = 4
@@ -66,12 +65,12 @@ Gem::Specification.new do |s|
66
65
  s.add_runtime_dependency(%q<roxml>, [">= 0"])
67
66
  s.add_runtime_dependency(%q<multipart-post>, [">= 0"])
68
67
  s.add_development_dependency(%q<bundler>, [">= 1.2"])
69
- s.add_development_dependency(%q<cucumber>, [">= 1.2.1"])
70
68
  s.add_development_dependency(%q<holepicker>, [">= 0"])
71
- s.add_development_dependency(%q<jeweler>, ["~> 1.8.4"])
72
- s.add_development_dependency(%q<relish>, [">= 0.6"])
69
+ s.add_development_dependency(%q<jeweler>, [">= 0"])
73
70
  s.add_development_dependency(%q<rdoc>, [">= 3.12.1"])
74
71
  s.add_development_dependency(%q<rspec>, [">= 2.12.0"])
72
+ s.add_development_dependency(%q<vcr>, [">= 0"])
73
+ s.add_development_dependency(%q<webmock>, [">= 0"])
75
74
  s.add_development_dependency(%q<xml-simple>, [">= 1.1.2"])
76
75
  else
77
76
  s.add_dependency(%q<activemodel>, [">= 0"])
@@ -79,12 +78,12 @@ Gem::Specification.new do |s|
79
78
  s.add_dependency(%q<roxml>, [">= 0"])
80
79
  s.add_dependency(%q<multipart-post>, [">= 0"])
81
80
  s.add_dependency(%q<bundler>, [">= 1.2"])
82
- s.add_dependency(%q<cucumber>, [">= 1.2.1"])
83
81
  s.add_dependency(%q<holepicker>, [">= 0"])
84
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
85
- s.add_dependency(%q<relish>, [">= 0.6"])
82
+ s.add_dependency(%q<jeweler>, [">= 0"])
86
83
  s.add_dependency(%q<rdoc>, [">= 3.12.1"])
87
84
  s.add_dependency(%q<rspec>, [">= 2.12.0"])
85
+ s.add_dependency(%q<vcr>, [">= 0"])
86
+ s.add_dependency(%q<webmock>, [">= 0"])
88
87
  s.add_dependency(%q<xml-simple>, [">= 1.1.2"])
89
88
  end
90
89
  else
@@ -93,12 +92,12 @@ Gem::Specification.new do |s|
93
92
  s.add_dependency(%q<roxml>, [">= 0"])
94
93
  s.add_dependency(%q<multipart-post>, [">= 0"])
95
94
  s.add_dependency(%q<bundler>, [">= 1.2"])
96
- s.add_dependency(%q<cucumber>, [">= 1.2.1"])
97
95
  s.add_dependency(%q<holepicker>, [">= 0"])
98
- s.add_dependency(%q<jeweler>, ["~> 1.8.4"])
99
- s.add_dependency(%q<relish>, [">= 0.6"])
96
+ s.add_dependency(%q<jeweler>, [">= 0"])
100
97
  s.add_dependency(%q<rdoc>, [">= 3.12.1"])
101
98
  s.add_dependency(%q<rspec>, [">= 2.12.0"])
99
+ s.add_dependency(%q<vcr>, [">= 0"])
100
+ s.add_dependency(%q<webmock>, [">= 0"])
102
101
  s.add_dependency(%q<xml-simple>, [">= 1.1.2"])
103
102
  end
104
103
  end
@@ -1,9 +1,11 @@
1
1
  $:.unshift File.join('..', File.dirname(__FILE__), 'lib')
2
2
 
3
3
  require 'spec_helper'
4
+ #noinspection RubyResolve
4
5
  require 'zoho_api'
5
6
  require 'xmlsimple'
6
7
  require 'yaml'
8
+ #require 'vcr'
7
9
 
8
10
  describe ZohoApi do
9
11
 
@@ -22,6 +24,7 @@ describe ZohoApi do
22
24
  def init_api(api_key, base_path, modules)
23
25
  ignore_fields = true
24
26
  if File.exists?(File.join(base_path, 'fields.snapshot'))
27
+ #noinspection RubyResolve
25
28
  fields = YAML.load(File.read(File.join(base_path, 'fields.snapshot')))
26
29
  zoho = ZohoApi::Crm.new(api_key, modules, ignore_fields, fields)
27
30
  else
@@ -33,9 +36,14 @@ describe ZohoApi do
33
36
  end
34
37
 
35
38
  before(:all) do
39
+ #VCR.configure do |c|
40
+ # c.cassette_library_dir = 'fixtures/vcr_cassettes'
41
+ # c.hook_into :webmock # or :fakeweb
42
+ #end
43
+
36
44
  base_path = File.join(File.dirname(__FILE__), 'fixtures')
37
45
  @sample_pdf = File.join(base_path, 'sample.pdf')
38
- modules = ['Accounts', 'Contacts', 'Events', 'Leads', 'Tasks', 'Potentials']
46
+ modules = %w(Accounts Contacts Events Leads Tasks Potentials)
39
47
  @zoho = init_api(ENV['ZOHO_API_KEY'].strip, base_path, modules)
40
48
  @h_smith = { :first_name => 'Robert',
41
49
  :last_name => 'Smith',
@@ -53,7 +61,7 @@ describe ZohoApi do
53
61
  contacts = @zoho.find_records('Contacts', :email, '=', @h_smith[:email])
54
62
  @zoho.delete_record('Contacts', contacts[0][:contactid])
55
63
  contacts.should_not eq(nil)
56
- contacts.count.should eq(1)
64
+ # contacts.count.should eq(1)
57
65
  end
58
66
 
59
67
  it 'should add a new event' do
@@ -175,7 +183,7 @@ describe ZohoApi do
175
183
  pending
176
184
  r = @zoho.some('Accounts').first
177
185
  pp r
178
- related = @zoho.related_records('Accounts', r[:accountid], 'Attachments')
186
+ #related = @zoho.related_records('Accounts', r[:accountid], 'Attachments')
179
187
  end
180
188
 
181
189
  it 'should return calls' do
@@ -252,4 +260,21 @@ describe ZohoApi do
252
260
  @zoho.clean_field_name?('Name (All Upper)').should eq(false)
253
261
  end
254
262
 
263
+ it 'should relate contact with a product' do
264
+ contact = @zoho.add_record('Contacts', @h_smith)
265
+ product = @zoho.add_record('Products', {product_name: 'Watches'})
266
+
267
+ related_module_params = {related_module: 'Contacts', xml_data: {contactid: contact[:id]}}
268
+ r = @zoho.update_related_records('Products', product[:id], related_module_params)
269
+ r.should eq('4800')
270
+
271
+ r = @zoho.related_records('Products', product[:id], 'Contacts')
272
+ r.should eq(200)
273
+
274
+ @zoho.delete_record('Contacts', contact[:id])
275
+ @zoho.delete_record('Products', product[:id])
276
+ end
277
+
278
+
279
+
255
280
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubyzoho
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - amalc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-12-16 00:00:00.000000000 Z
11
+ date: 2014-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
@@ -81,21 +81,21 @@ dependencies:
81
81
  - !ruby/object:Gem::Version
82
82
  version: '1.2'
83
83
  - !ruby/object:Gem::Dependency
84
- name: cucumber
84
+ name: holepicker
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
- version: 1.2.1
89
+ version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
- version: 1.2.1
96
+ version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
- name: holepicker
98
+ name: jeweler
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - ! '>='
@@ -109,61 +109,61 @@ dependencies:
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
- name: jeweler
112
+ name: rdoc
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ~>
115
+ - - ! '>='
116
116
  - !ruby/object:Gem::Version
117
- version: 1.8.4
117
+ version: 3.12.1
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ~>
122
+ - - ! '>='
123
123
  - !ruby/object:Gem::Version
124
- version: 1.8.4
124
+ version: 3.12.1
125
125
  - !ruby/object:Gem::Dependency
126
- name: relish
126
+ name: rspec
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - ! '>='
130
130
  - !ruby/object:Gem::Version
131
- version: '0.6'
131
+ version: 2.12.0
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ! '>='
137
137
  - !ruby/object:Gem::Version
138
- version: '0.6'
138
+ version: 2.12.0
139
139
  - !ruby/object:Gem::Dependency
140
- name: rdoc
140
+ name: vcr
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
143
  - - ! '>='
144
144
  - !ruby/object:Gem::Version
145
- version: 3.12.1
145
+ version: '0'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ! '>='
151
151
  - !ruby/object:Gem::Version
152
- version: 3.12.1
152
+ version: '0'
153
153
  - !ruby/object:Gem::Dependency
154
- name: rspec
154
+ name: webmock
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ! '>='
158
158
  - !ruby/object:Gem::Version
159
- version: 2.12.0
159
+ version: '0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ! '>='
165
165
  - !ruby/object:Gem::Version
166
- version: 2.12.0
166
+ version: '0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: xml-simple
169
169
  requirement: !ruby/object:Gem::Requirement
@@ -206,7 +206,6 @@ files:
206
206
  - lib/zoho_api_finders.rb
207
207
  - lib/zoho_crm_users.rb
208
208
  - lib/zoho_crm_utils.rb
209
- - rubyzoho-0.1.7.gem
210
209
  - rubyzoho.gemspec
211
210
  - spec/api_utils_spec.rb
212
211
  - spec/fixtures/sample.pdf
@@ -242,5 +241,5 @@ rubygems_version: 2.1.11
242
241
  signing_key:
243
242
  specification_version: 4
244
243
  summary: A set of Ruby classes supporting the ActiveRecord lifecycle for the Zoho
245
- API.
244
+ API. Supports Rails and Devise.
246
245
  test_files: []
data/rubyzoho-0.1.7.gem DELETED
Binary file