sugarcrm 0.9.17 → 0.9.18
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/.document +5 -0
- data/.gitignore +29 -0
- data/Rakefile +4 -2
- data/VERSION +1 -1
- data/lib/sugarcrm/base.rb +34 -0
- data/lib/sugarcrm/connection/request.rb +1 -0
- data/lib/sugarcrm/session.rb +9 -0
- data/sugarcrm.gemspec +96 -66
- data/test/config_test.yaml +15 -0
- data/test/test_sugarcrm.rb +1 -1
- metadata +68 -68
- data/Gemfile.lock +0 -26
- data/sugarcrm.tmproj +0 -1148
data/.document
ADDED
data/.gitignore
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
## MAC OS
|
2
|
+
.DS_Store
|
3
|
+
|
4
|
+
## TEXTMATE
|
5
|
+
*.tmproj
|
6
|
+
tmtags
|
7
|
+
|
8
|
+
## EMACS
|
9
|
+
*~
|
10
|
+
\#*
|
11
|
+
.\#*
|
12
|
+
|
13
|
+
## VIM
|
14
|
+
*.swp
|
15
|
+
|
16
|
+
## PROJECT::GENERAL
|
17
|
+
coverage
|
18
|
+
rdoc
|
19
|
+
pkg
|
20
|
+
Gemfile.lock
|
21
|
+
|
22
|
+
## PROJECT::SPECIFIC
|
23
|
+
|
24
|
+
.bundle
|
25
|
+
|
26
|
+
lib/sugarcrm/monkey_patches/*.rb
|
27
|
+
|
28
|
+
# ignore test config file so each contributor can have his own
|
29
|
+
test/config.yaml
|
data/Rakefile
CHANGED
@@ -17,8 +17,10 @@ Jeweler::Tasks.new do |gem|
|
|
17
17
|
gem.email = "carl.hicks@gmail.com"
|
18
18
|
gem.homepage = "http://github.com/chicks/sugarcrm"
|
19
19
|
gem.authors = ["Carl Hicks", "David Sulc"]
|
20
|
-
gem.
|
21
|
-
gem.files
|
20
|
+
gem.files = `git ls-files`.split("\n")
|
21
|
+
gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
22
|
+
gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
23
|
+
gem.require_paths = ["lib"]
|
22
24
|
end
|
23
25
|
Jeweler::RubygemsDotOrgTasks.new
|
24
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.9.
|
1
|
+
0.9.18
|
data/lib/sugarcrm/base.rb
CHANGED
@@ -154,6 +154,40 @@ module SugarCRM; class Base
|
|
154
154
|
end
|
155
155
|
"#<#{self.class} #{attrs.join(", ")}>"
|
156
156
|
end
|
157
|
+
|
158
|
+
# objects are considered equal if they represent the same SugarCRM record
|
159
|
+
# this behavior is required for Rails to be able to properly cast objects to json (lists, in particular)
|
160
|
+
def equal?(other)
|
161
|
+
return false unless other && other.respond_to?(:id)
|
162
|
+
self.id == other.id
|
163
|
+
end
|
164
|
+
|
165
|
+
# return variables that are defined in SugarCRM, instead of the object's actual variables (such as modified_attributes, errors, etc.)
|
166
|
+
def instance_variables
|
167
|
+
@_instance_variables ||= @attributes.keys.map{|i| ('@' + i).to_sym }
|
168
|
+
end
|
169
|
+
|
170
|
+
# override to return the value of the SugarCRM record's attributes
|
171
|
+
def instance_variable_get(name)
|
172
|
+
name = name.to_s.gsub(/^@/,'')
|
173
|
+
@attributes[name]
|
174
|
+
end
|
175
|
+
|
176
|
+
# Rails requires this to (e.g.) generate json representations of models
|
177
|
+
# this code taken directly from the Rails project
|
178
|
+
if defined?(Rails)
|
179
|
+
def instance_values
|
180
|
+
Hash[instance_variables.map { |name| [name.to_s[1..-1], instance_variable_get(name)] }]
|
181
|
+
end
|
182
|
+
end
|
183
|
+
|
184
|
+
def to_json(options={})
|
185
|
+
attributes.to_json
|
186
|
+
end
|
187
|
+
|
188
|
+
def to_xml(options={})
|
189
|
+
attributes.to_xml
|
190
|
+
end
|
157
191
|
|
158
192
|
# Saves the current object, checks that required fields are present.
|
159
193
|
# returns true or false
|
data/lib/sugarcrm/session.rb
CHANGED
@@ -173,6 +173,15 @@ module SugarCRM; class Session
|
|
173
173
|
raise unless @session.respond_to? sym
|
174
174
|
@session.send(sym, *args, &block)
|
175
175
|
end
|
176
|
+
|
177
|
+
if RUBY_VERSION > '1.9'
|
178
|
+
# In Ruby 1.9 and above, constants are no longer lexically scoped;
|
179
|
+
# By default, const_defined? will check up the ancestor chain, which
|
180
|
+
# is *not* desirable in our case.
|
181
|
+
def self.const_defined?(sym, inherit=false)
|
182
|
+
super
|
183
|
+
end
|
184
|
+
end
|
176
185
|
end
|
177
186
|
# set the session: will be needed in SugarCRM::Base to call the API methods on the correct session
|
178
187
|
namespace_module.session = self
|
data/sugarcrm.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "sugarcrm"
|
8
|
-
s.version = "0.9.
|
8
|
+
s.version = "0.9.18"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Carl Hicks", "David Sulc"]
|
12
|
-
s.date = "2011-
|
12
|
+
s.date = "2011-12-13"
|
13
13
|
s.email = "carl.hicks@gmail.com"
|
14
14
|
s.executables = ["sugarcrm"]
|
15
15
|
s.extra_rdoc_files = [
|
@@ -17,76 +17,106 @@ Gem::Specification.new do |s|
|
|
17
17
|
"README.rdoc"
|
18
18
|
]
|
19
19
|
s.files = [
|
20
|
-
"
|
21
|
-
"
|
22
|
-
"
|
23
|
-
"
|
24
|
-
"
|
25
|
-
"
|
26
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
37
|
-
"
|
38
|
-
"
|
39
|
-
"
|
40
|
-
"
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"
|
51
|
-
"
|
52
|
-
"
|
53
|
-
"
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"
|
57
|
-
"
|
58
|
-
"
|
59
|
-
"
|
60
|
-
"
|
61
|
-
"
|
62
|
-
"
|
63
|
-
"
|
64
|
-
"
|
65
|
-
"
|
66
|
-
"
|
67
|
-
"
|
68
|
-
"
|
69
|
-
"
|
70
|
-
"
|
71
|
-
"
|
72
|
-
"
|
73
|
-
"
|
74
|
-
"
|
75
|
-
"
|
76
|
-
"
|
77
|
-
"
|
78
|
-
"
|
79
|
-
"
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"
|
83
|
-
"
|
20
|
+
".document",
|
21
|
+
".gitignore",
|
22
|
+
"Gemfile",
|
23
|
+
"LICENSE",
|
24
|
+
"README.rdoc",
|
25
|
+
"Rakefile",
|
26
|
+
"VERSION",
|
27
|
+
"WATCHLIST.rdoc",
|
28
|
+
"bin/sugarcrm",
|
29
|
+
"lib/rails/generators/sugarcrm/config/config_generator.rb",
|
30
|
+
"lib/rails/generators/sugarcrm/config/templates/initializer.rb",
|
31
|
+
"lib/rails/generators/sugarcrm/config/templates/sugarcrm.yml",
|
32
|
+
"lib/sugarcrm.rb",
|
33
|
+
"lib/sugarcrm/associations.rb",
|
34
|
+
"lib/sugarcrm/associations/association.rb",
|
35
|
+
"lib/sugarcrm/associations/association_cache.rb",
|
36
|
+
"lib/sugarcrm/associations/association_collection.rb",
|
37
|
+
"lib/sugarcrm/associations/association_methods.rb",
|
38
|
+
"lib/sugarcrm/associations/associations.rb",
|
39
|
+
"lib/sugarcrm/attributes.rb",
|
40
|
+
"lib/sugarcrm/attributes/attribute_methods.rb",
|
41
|
+
"lib/sugarcrm/attributes/attribute_serializers.rb",
|
42
|
+
"lib/sugarcrm/attributes/attribute_typecast.rb",
|
43
|
+
"lib/sugarcrm/attributes/attribute_validations.rb",
|
44
|
+
"lib/sugarcrm/base.rb",
|
45
|
+
"lib/sugarcrm/config/sugarcrm.yaml",
|
46
|
+
"lib/sugarcrm/connection.rb",
|
47
|
+
"lib/sugarcrm/connection/api/get_available_modules.rb",
|
48
|
+
"lib/sugarcrm/connection/api/get_document_revision.rb",
|
49
|
+
"lib/sugarcrm/connection/api/get_entries.rb",
|
50
|
+
"lib/sugarcrm/connection/api/get_entries_count.rb",
|
51
|
+
"lib/sugarcrm/connection/api/get_entry.rb",
|
52
|
+
"lib/sugarcrm/connection/api/get_entry_list.rb",
|
53
|
+
"lib/sugarcrm/connection/api/get_module_fields.rb",
|
54
|
+
"lib/sugarcrm/connection/api/get_note_attachment.rb",
|
55
|
+
"lib/sugarcrm/connection/api/get_relationships.rb",
|
56
|
+
"lib/sugarcrm/connection/api/get_report_entries.rb",
|
57
|
+
"lib/sugarcrm/connection/api/get_server_info.rb",
|
58
|
+
"lib/sugarcrm/connection/api/get_user_id.rb",
|
59
|
+
"lib/sugarcrm/connection/api/get_user_team_id.rb",
|
60
|
+
"lib/sugarcrm/connection/api/login.rb",
|
61
|
+
"lib/sugarcrm/connection/api/logout.rb",
|
62
|
+
"lib/sugarcrm/connection/api/seamless_login.rb",
|
63
|
+
"lib/sugarcrm/connection/api/search_by_module.rb",
|
64
|
+
"lib/sugarcrm/connection/api/set_campaign_merge.rb",
|
65
|
+
"lib/sugarcrm/connection/api/set_document_revision.rb",
|
66
|
+
"lib/sugarcrm/connection/api/set_entries.rb",
|
67
|
+
"lib/sugarcrm/connection/api/set_entry.rb",
|
68
|
+
"lib/sugarcrm/connection/api/set_note_attachment.rb",
|
69
|
+
"lib/sugarcrm/connection/api/set_relationship.rb",
|
70
|
+
"lib/sugarcrm/connection/api/set_relationships.rb",
|
71
|
+
"lib/sugarcrm/connection/connection.rb",
|
72
|
+
"lib/sugarcrm/connection/helper.rb",
|
73
|
+
"lib/sugarcrm/connection/request.rb",
|
74
|
+
"lib/sugarcrm/connection/response.rb",
|
75
|
+
"lib/sugarcrm/connection_pool.rb",
|
76
|
+
"lib/sugarcrm/exceptions.rb",
|
77
|
+
"lib/sugarcrm/extensions/README.txt",
|
78
|
+
"lib/sugarcrm/finders.rb",
|
79
|
+
"lib/sugarcrm/finders/dynamic_finder_match.rb",
|
80
|
+
"lib/sugarcrm/finders/finder_methods.rb",
|
81
|
+
"lib/sugarcrm/module.rb",
|
82
|
+
"lib/sugarcrm/module_methods.rb",
|
83
|
+
"lib/sugarcrm/session.rb",
|
84
|
+
"sugarcrm.gemspec",
|
85
|
+
"test/config_test.yaml",
|
86
|
+
"test/connection/test_get_available_modules.rb",
|
87
|
+
"test/connection/test_get_entries.rb",
|
88
|
+
"test/connection/test_get_entry.rb",
|
89
|
+
"test/connection/test_get_entry_list.rb",
|
90
|
+
"test/connection/test_get_module_fields.rb",
|
91
|
+
"test/connection/test_get_relationships.rb",
|
92
|
+
"test/connection/test_get_server_info.rb",
|
93
|
+
"test/connection/test_get_user_id.rb",
|
94
|
+
"test/connection/test_get_user_team_id.rb",
|
95
|
+
"test/connection/test_login.rb",
|
96
|
+
"test/connection/test_logout.rb",
|
97
|
+
"test/connection/test_set_document_revision.rb",
|
98
|
+
"test/connection/test_set_entry.rb",
|
99
|
+
"test/connection/test_set_note_attachment.rb",
|
100
|
+
"test/connection/test_set_relationship.rb",
|
101
|
+
"test/extensions_test/patch.rb",
|
102
|
+
"test/helper.rb",
|
103
|
+
"test/test_association_collection.rb",
|
104
|
+
"test/test_associations.rb",
|
105
|
+
"test/test_connection.rb",
|
106
|
+
"test/test_connection_pool.rb",
|
107
|
+
"test/test_finders.rb",
|
108
|
+
"test/test_module.rb",
|
109
|
+
"test/test_request.rb",
|
110
|
+
"test/test_response.rb",
|
111
|
+
"test/test_session.rb",
|
112
|
+
"test/test_sugarcrm.rb"
|
84
113
|
]
|
85
114
|
s.homepage = "http://github.com/chicks/sugarcrm"
|
86
115
|
s.require_paths = ["lib"]
|
87
116
|
s.rubygems_version = "1.8.11"
|
88
117
|
s.summary = "A less clunky way to interact with SugarCRM via REST."
|
89
118
|
s.test_files = [
|
119
|
+
"test/config_test.yaml",
|
90
120
|
"test/connection/test_get_available_modules.rb",
|
91
121
|
"test/connection/test_get_entries.rb",
|
92
122
|
"test/connection/test_get_entry.rb",
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# below is an example configuration file
|
2
|
+
#
|
3
|
+
# to create you own configuration file, simply copy and adapt the text below, removing the '#' in front of the key-value pairs
|
4
|
+
#
|
5
|
+
# you'll find an example of a configuration file (used for tests) in test/config_test.yaml
|
6
|
+
#
|
7
|
+
# config:
|
8
|
+
# base_url: http://127.0.0.1/sugarcrm # where your SugarCRM instance is located
|
9
|
+
# username: admin
|
10
|
+
# password: letmein
|
11
|
+
|
12
|
+
config:
|
13
|
+
base_url: http://127.0.0.1/sugarcrm # where your SugarCRM instance is located
|
14
|
+
username: admin
|
15
|
+
password: letmein
|
data/test/test_sugarcrm.rb
CHANGED
@@ -195,7 +195,7 @@ class TestSugarCRM < ActiveSupport::TestCase
|
|
195
195
|
should "bypass validation when #save(:validate => false)" do
|
196
196
|
u = SugarCRM::User.new
|
197
197
|
u.last_name = "doe"
|
198
|
-
assert u.save(
|
198
|
+
assert u.save(:validate => false)
|
199
199
|
assert u.delete
|
200
200
|
end
|
201
201
|
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: sugarcrm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.9.
|
5
|
+
version: 0.9.18
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Carl Hicks
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-
|
14
|
+
date: 2011-12-13 00:00:00 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: activesupport
|
@@ -89,72 +89,72 @@ extra_rdoc_files:
|
|
89
89
|
- LICENSE
|
90
90
|
- README.rdoc
|
91
91
|
files:
|
92
|
-
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
- ./README.rdoc
|
96
|
-
- ./Rakefile
|
97
|
-
- ./VERSION
|
98
|
-
- ./WATCHLIST.rdoc
|
99
|
-
- ./lib/rails/generators/sugarcrm/config/config_generator.rb
|
100
|
-
- ./lib/rails/generators/sugarcrm/config/templates/initializer.rb
|
101
|
-
- ./lib/rails/generators/sugarcrm/config/templates/sugarcrm.yml
|
102
|
-
- ./lib/sugarcrm.rb
|
103
|
-
- ./lib/sugarcrm/associations.rb
|
104
|
-
- ./lib/sugarcrm/associations/association.rb
|
105
|
-
- ./lib/sugarcrm/associations/association_cache.rb
|
106
|
-
- ./lib/sugarcrm/associations/association_collection.rb
|
107
|
-
- ./lib/sugarcrm/associations/association_methods.rb
|
108
|
-
- ./lib/sugarcrm/associations/associations.rb
|
109
|
-
- ./lib/sugarcrm/attributes.rb
|
110
|
-
- ./lib/sugarcrm/attributes/attribute_methods.rb
|
111
|
-
- ./lib/sugarcrm/attributes/attribute_serializers.rb
|
112
|
-
- ./lib/sugarcrm/attributes/attribute_typecast.rb
|
113
|
-
- ./lib/sugarcrm/attributes/attribute_validations.rb
|
114
|
-
- ./lib/sugarcrm/base.rb
|
115
|
-
- ./lib/sugarcrm/config/sugarcrm.yaml
|
116
|
-
- ./lib/sugarcrm/connection.rb
|
117
|
-
- ./lib/sugarcrm/connection/api/get_available_modules.rb
|
118
|
-
- ./lib/sugarcrm/connection/api/get_document_revision.rb
|
119
|
-
- ./lib/sugarcrm/connection/api/get_entries.rb
|
120
|
-
- ./lib/sugarcrm/connection/api/get_entries_count.rb
|
121
|
-
- ./lib/sugarcrm/connection/api/get_entry.rb
|
122
|
-
- ./lib/sugarcrm/connection/api/get_entry_list.rb
|
123
|
-
- ./lib/sugarcrm/connection/api/get_module_fields.rb
|
124
|
-
- ./lib/sugarcrm/connection/api/get_note_attachment.rb
|
125
|
-
- ./lib/sugarcrm/connection/api/get_relationships.rb
|
126
|
-
- ./lib/sugarcrm/connection/api/get_report_entries.rb
|
127
|
-
- ./lib/sugarcrm/connection/api/get_server_info.rb
|
128
|
-
- ./lib/sugarcrm/connection/api/get_user_id.rb
|
129
|
-
- ./lib/sugarcrm/connection/api/get_user_team_id.rb
|
130
|
-
- ./lib/sugarcrm/connection/api/login.rb
|
131
|
-
- ./lib/sugarcrm/connection/api/logout.rb
|
132
|
-
- ./lib/sugarcrm/connection/api/seamless_login.rb
|
133
|
-
- ./lib/sugarcrm/connection/api/search_by_module.rb
|
134
|
-
- ./lib/sugarcrm/connection/api/set_campaign_merge.rb
|
135
|
-
- ./lib/sugarcrm/connection/api/set_document_revision.rb
|
136
|
-
- ./lib/sugarcrm/connection/api/set_entries.rb
|
137
|
-
- ./lib/sugarcrm/connection/api/set_entry.rb
|
138
|
-
- ./lib/sugarcrm/connection/api/set_note_attachment.rb
|
139
|
-
- ./lib/sugarcrm/connection/api/set_relationship.rb
|
140
|
-
- ./lib/sugarcrm/connection/api/set_relationships.rb
|
141
|
-
- ./lib/sugarcrm/connection/connection.rb
|
142
|
-
- ./lib/sugarcrm/connection/helper.rb
|
143
|
-
- ./lib/sugarcrm/connection/request.rb
|
144
|
-
- ./lib/sugarcrm/connection/response.rb
|
145
|
-
- ./lib/sugarcrm/connection_pool.rb
|
146
|
-
- ./lib/sugarcrm/exceptions.rb
|
147
|
-
- ./lib/sugarcrm/extensions/README.txt
|
148
|
-
- ./lib/sugarcrm/finders.rb
|
149
|
-
- ./lib/sugarcrm/finders/dynamic_finder_match.rb
|
150
|
-
- ./lib/sugarcrm/finders/finder_methods.rb
|
151
|
-
- ./lib/sugarcrm/module.rb
|
152
|
-
- ./lib/sugarcrm/module_methods.rb
|
153
|
-
- ./lib/sugarcrm/session.rb
|
154
|
-
- ./sugarcrm.gemspec
|
155
|
-
- ./sugarcrm.tmproj
|
92
|
+
- .document
|
93
|
+
- .gitignore
|
94
|
+
- Gemfile
|
156
95
|
- LICENSE
|
157
96
|
- README.rdoc
|
97
|
+
- Rakefile
|
98
|
+
- VERSION
|
99
|
+
- WATCHLIST.rdoc
|
100
|
+
- bin/sugarcrm
|
101
|
+
- lib/rails/generators/sugarcrm/config/config_generator.rb
|
102
|
+
- lib/rails/generators/sugarcrm/config/templates/initializer.rb
|
103
|
+
- lib/rails/generators/sugarcrm/config/templates/sugarcrm.yml
|
104
|
+
- lib/sugarcrm.rb
|
105
|
+
- lib/sugarcrm/associations.rb
|
106
|
+
- lib/sugarcrm/associations/association.rb
|
107
|
+
- lib/sugarcrm/associations/association_cache.rb
|
108
|
+
- lib/sugarcrm/associations/association_collection.rb
|
109
|
+
- lib/sugarcrm/associations/association_methods.rb
|
110
|
+
- lib/sugarcrm/associations/associations.rb
|
111
|
+
- lib/sugarcrm/attributes.rb
|
112
|
+
- lib/sugarcrm/attributes/attribute_methods.rb
|
113
|
+
- lib/sugarcrm/attributes/attribute_serializers.rb
|
114
|
+
- lib/sugarcrm/attributes/attribute_typecast.rb
|
115
|
+
- lib/sugarcrm/attributes/attribute_validations.rb
|
116
|
+
- lib/sugarcrm/base.rb
|
117
|
+
- lib/sugarcrm/config/sugarcrm.yaml
|
118
|
+
- lib/sugarcrm/connection.rb
|
119
|
+
- lib/sugarcrm/connection/api/get_available_modules.rb
|
120
|
+
- lib/sugarcrm/connection/api/get_document_revision.rb
|
121
|
+
- lib/sugarcrm/connection/api/get_entries.rb
|
122
|
+
- lib/sugarcrm/connection/api/get_entries_count.rb
|
123
|
+
- lib/sugarcrm/connection/api/get_entry.rb
|
124
|
+
- lib/sugarcrm/connection/api/get_entry_list.rb
|
125
|
+
- lib/sugarcrm/connection/api/get_module_fields.rb
|
126
|
+
- lib/sugarcrm/connection/api/get_note_attachment.rb
|
127
|
+
- lib/sugarcrm/connection/api/get_relationships.rb
|
128
|
+
- lib/sugarcrm/connection/api/get_report_entries.rb
|
129
|
+
- lib/sugarcrm/connection/api/get_server_info.rb
|
130
|
+
- lib/sugarcrm/connection/api/get_user_id.rb
|
131
|
+
- lib/sugarcrm/connection/api/get_user_team_id.rb
|
132
|
+
- lib/sugarcrm/connection/api/login.rb
|
133
|
+
- lib/sugarcrm/connection/api/logout.rb
|
134
|
+
- lib/sugarcrm/connection/api/seamless_login.rb
|
135
|
+
- lib/sugarcrm/connection/api/search_by_module.rb
|
136
|
+
- lib/sugarcrm/connection/api/set_campaign_merge.rb
|
137
|
+
- lib/sugarcrm/connection/api/set_document_revision.rb
|
138
|
+
- lib/sugarcrm/connection/api/set_entries.rb
|
139
|
+
- lib/sugarcrm/connection/api/set_entry.rb
|
140
|
+
- lib/sugarcrm/connection/api/set_note_attachment.rb
|
141
|
+
- lib/sugarcrm/connection/api/set_relationship.rb
|
142
|
+
- lib/sugarcrm/connection/api/set_relationships.rb
|
143
|
+
- lib/sugarcrm/connection/connection.rb
|
144
|
+
- lib/sugarcrm/connection/helper.rb
|
145
|
+
- lib/sugarcrm/connection/request.rb
|
146
|
+
- lib/sugarcrm/connection/response.rb
|
147
|
+
- lib/sugarcrm/connection_pool.rb
|
148
|
+
- lib/sugarcrm/exceptions.rb
|
149
|
+
- lib/sugarcrm/extensions/README.txt
|
150
|
+
- lib/sugarcrm/finders.rb
|
151
|
+
- lib/sugarcrm/finders/dynamic_finder_match.rb
|
152
|
+
- lib/sugarcrm/finders/finder_methods.rb
|
153
|
+
- lib/sugarcrm/module.rb
|
154
|
+
- lib/sugarcrm/module_methods.rb
|
155
|
+
- lib/sugarcrm/session.rb
|
156
|
+
- sugarcrm.gemspec
|
157
|
+
- test/config_test.yaml
|
158
158
|
- test/connection/test_get_available_modules.rb
|
159
159
|
- test/connection/test_get_entries.rb
|
160
160
|
- test/connection/test_get_entry.rb
|
@@ -182,7 +182,6 @@ files:
|
|
182
182
|
- test/test_response.rb
|
183
183
|
- test/test_session.rb
|
184
184
|
- test/test_sugarcrm.rb
|
185
|
-
- bin/sugarcrm
|
186
185
|
homepage: http://github.com/chicks/sugarcrm
|
187
186
|
licenses: []
|
188
187
|
|
@@ -196,7 +195,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
196
195
|
requirements:
|
197
196
|
- - ">="
|
198
197
|
- !ruby/object:Gem::Version
|
199
|
-
hash:
|
198
|
+
hash: 4463059896991315735
|
200
199
|
segments:
|
201
200
|
- 0
|
202
201
|
version: "0"
|
@@ -214,6 +213,7 @@ signing_key:
|
|
214
213
|
specification_version: 3
|
215
214
|
summary: A less clunky way to interact with SugarCRM via REST.
|
216
215
|
test_files:
|
216
|
+
- test/config_test.yaml
|
217
217
|
- test/connection/test_get_available_modules.rb
|
218
218
|
- test/connection/test_get_entries.rb
|
219
219
|
- test/connection/test_get_entry.rb
|