insightly 0.2.9 → 0.2.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ require 'insightly/version'
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "insightly"
6
6
  s.summary = "Insight.ly Ruby Client Library"
7
- s.description = "Ruby library for integrating with http://Insight.ly . This gem makes it easy to talk to their recently released REST API."
7
+ s.description = "Ruby library for integrating with http://Insight.ly . This gem makes it easy to talk to their recently released REST API. This includes dealing with Contacts, Opportunities, Organisations, and Tasks. It was originally develped for http://www.truckingoffice.com"
8
8
  s.version = Insightly::Version::String
9
9
  s.authors = ["Dirk Elmendorf","r26D"]
10
10
  s.email = "code@r26d.com"
@@ -34,4 +34,5 @@ require "insightly/relationship"
34
34
  require "insightly/opportunity_category"
35
35
  require "insightly/task_category"
36
36
  require "insightly/custom_field"
37
+ require "insightly/project"
37
38
 
@@ -0,0 +1,22 @@
1
+ module Insightly
2
+ class Project < ReadWrite
3
+ self.url_base = "Projects"
4
+ api_field "PROJECT_ID",
5
+ "PROJECT_NAME",
6
+ "STATUS",
7
+ "PROJECT_DETAILS",
8
+ "OPPORTUNITY_ID",
9
+ "STARTED_DATE",
10
+ "COMPLETED_DATE",
11
+ "PROJECT_FIELD_1",
12
+ "RESPONSIBLE_USER_ID",
13
+ "OWNER_USER_ID",
14
+ "DATE_CREATED_UTC",
15
+ "DATE_UPDATED_UTC",
16
+ "CATEGORY_ID",
17
+ "PIPELINE_ID",
18
+ "STAGE_ID",
19
+ "VISIBLE_TO",
20
+ "VISIBLE_TEAM_ID"
21
+ end
22
+ end
@@ -4,7 +4,7 @@ module Insightly
4
4
  module Version
5
5
  Major = 0
6
6
  Minor = 2
7
- Tiny = 9
7
+ Tiny = 10
8
8
  String = "#{Major}.#{Minor}.#{Tiny}"
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,204 +1,182 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: insightly
3
- version: !ruby/object:Gem::Version
4
- version: 0.2.9
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.2.10
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - Dirk Elmendorf
9
9
  - r26D
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-09-30 00:00:00.000000000 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
13
+
14
+ date: 2012-12-12 00:00:00 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
16
17
  name: builder
17
- requirement: !ruby/object:Gem::Requirement
18
+ requirement: &id001 !ruby/object:Gem::Requirement
18
19
  none: false
19
- requirements:
20
- - - ! '>='
21
- - !ruby/object:Gem::Version
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
22
23
  version: 2.0.0
23
24
  type: :runtime
24
25
  prerelease: false
25
- version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
- requirements:
28
- - - ! '>='
29
- - !ruby/object:Gem::Version
30
- version: 2.0.0
31
- - !ruby/object:Gem::Dependency
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
32
28
  name: json
33
- requirement: !ruby/object:Gem::Requirement
29
+ requirement: &id002 !ruby/object:Gem::Requirement
34
30
  none: false
35
- requirements:
36
- - - ! '>='
37
- - !ruby/object:Gem::Version
31
+ requirements:
32
+ - - ">="
33
+ - !ruby/object:Gem::Version
38
34
  version: 1.6.5
39
35
  type: :runtime
40
36
  prerelease: false
41
- version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
- requirements:
44
- - - ! '>='
45
- - !ruby/object:Gem::Version
46
- version: 1.6.5
47
- - !ruby/object:Gem::Dependency
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
48
39
  name: rest-client
49
- requirement: !ruby/object:Gem::Requirement
40
+ requirement: &id003 !ruby/object:Gem::Requirement
50
41
  none: false
51
- requirements:
52
- - - ! '>='
53
- - !ruby/object:Gem::Version
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
54
45
  version: 1.6.7
55
46
  type: :runtime
56
47
  prerelease: false
57
- version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
- requirements:
60
- - - ! '>='
61
- - !ruby/object:Gem::Version
62
- version: 1.6.7
63
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
64
50
  name: logger
65
- requirement: !ruby/object:Gem::Requirement
51
+ requirement: &id004 !ruby/object:Gem::Requirement
66
52
  none: false
67
- requirements:
68
- - - ! '>='
69
- - !ruby/object:Gem::Version
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
70
56
  version: 1.2.8
71
57
  type: :runtime
72
58
  prerelease: false
73
- version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
- requirements:
76
- - - ! '>='
77
- - !ruby/object:Gem::Version
78
- version: 1.2.8
79
- - !ruby/object:Gem::Dependency
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
80
61
  name: activesupport
81
- requirement: !ruby/object:Gem::Requirement
62
+ requirement: &id005 !ruby/object:Gem::Requirement
82
63
  none: false
83
- requirements:
84
- - - ! '>'
85
- - !ruby/object:Gem::Version
86
- version: '3'
64
+ requirements:
65
+ - - ">"
66
+ - !ruby/object:Gem::Version
67
+ version: "3"
87
68
  type: :runtime
88
69
  prerelease: false
89
- version_requirements: !ruby/object:Gem::Requirement
90
- none: false
91
- requirements:
92
- - - ! '>'
93
- - !ruby/object:Gem::Version
94
- version: '3'
95
- - !ruby/object:Gem::Dependency
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
96
72
  name: i18n
97
- requirement: !ruby/object:Gem::Requirement
73
+ requirement: &id006 !ruby/object:Gem::Requirement
98
74
  none: false
99
- requirements:
100
- - - ! '>'
101
- - !ruby/object:Gem::Version
102
- version: '0'
75
+ requirements:
76
+ - - ">"
77
+ - !ruby/object:Gem::Version
78
+ version: "0"
103
79
  type: :runtime
104
80
  prerelease: false
105
- version_requirements: !ruby/object:Gem::Requirement
106
- none: false
107
- requirements:
108
- - - ! '>'
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- description: Ruby library for integrating with http://Insight.ly . This gem makes
112
- it easy to talk to their recently released REST API.
81
+ version_requirements: *id006
82
+ description: Ruby library for integrating with http://Insight.ly . This gem makes it easy to talk to their recently released REST API. This includes dealing with Contacts, Opportunities, Organisations, and Tasks. It was originally develped for http://www.truckingoffice.com
113
83
  email: code@r26d.com
114
84
  executables: []
85
+
115
86
  extensions: []
87
+
116
88
  extra_rdoc_files: []
117
- files:
89
+
90
+ files:
118
91
  - README.md
119
92
  - LICENSE
120
- - lib/insightly/tag_helper.rb
121
- - lib/insightly/opportunity_category.rb
122
- - lib/insightly/read_write.rb
123
- - lib/insightly/task.rb
124
- - lib/insightly/team_member.rb
125
- - lib/insightly/link_helper.rb
126
- - lib/insightly/country.rb
127
- - lib/insightly/opportunity.rb
128
- - lib/insightly/contact_info.rb
129
- - lib/insightly/read_only.rb
130
- - lib/insightly/currency.rb
93
+ - lib/insightly.rb
94
+ - lib/insightly/base.rb
95
+ - lib/insightly/organisation.rb
131
96
  - lib/insightly/contact_info_helper.rb
97
+ - lib/insightly/contact_info.rb
98
+ - lib/insightly/comment.rb
99
+ - lib/insightly/base_data.rb
132
100
  - lib/insightly/task_category.rb
133
- - lib/insightly/task_link_helper.rb
134
101
  - lib/insightly/configuration.rb
135
- - lib/insightly/version.rb
102
+ - lib/insightly/team_member.rb
136
103
  - lib/insightly/link.rb
104
+ - lib/insightly/relationship.rb
105
+ - lib/insightly/tag.rb
137
106
  - lib/insightly/task_link.rb
138
- - lib/insightly/comment.rb
139
- - lib/insightly/organisation.rb
107
+ - lib/insightly/opportunity_category.rb
108
+ - lib/insightly/tag_helper.rb
140
109
  - lib/insightly/contact.rb
141
- - lib/insightly/address_helper.rb
142
- - lib/insightly/base_data.rb
143
- - lib/insightly/opportunity_state_reason.rb
144
- - lib/insightly/tag.rb
110
+ - lib/insightly/user.rb
111
+ - lib/insightly/currency.rb
145
112
  - lib/insightly/custom_field.rb
146
- - lib/insightly/base.rb
147
- - lib/insightly/relationship.rb
113
+ - lib/insightly/read_only.rb
114
+ - lib/insightly/read_write.rb
115
+ - lib/insightly/project.rb
116
+ - lib/insightly/address_helper.rb
117
+ - lib/insightly/version.rb
118
+ - lib/insightly/opportunity.rb
119
+ - lib/insightly/link_helper.rb
120
+ - lib/insightly/task.rb
121
+ - lib/insightly/task_link_helper.rb
122
+ - lib/insightly/country.rb
148
123
  - lib/insightly/address.rb
149
- - lib/insightly/user.rb
150
- - lib/insightly.rb
124
+ - lib/insightly/opportunity_state_reason.rb
125
+ - spec/unit/user_spec.rb
151
126
  - spec/unit/task_link_spec.rb
152
- - spec/unit/task_category_spec.rb
153
- - spec/unit/organisation_spec.rb
154
- - spec/unit/team_member_spec.rb
155
- - spec/unit/contact_info_spec.rb
156
- - spec/unit/base_spec.rb
157
- - spec/unit/comment_spec.rb
158
- - spec/unit/opportunity_spec.rb
159
- - spec/unit/opportunity_state_reason_spec.rb
160
- - spec/unit/contact_spec.rb
161
127
  - spec/unit/country_spec.rb
162
- - spec/unit/tag_spec.rb
163
- - spec/unit/currency_spec.rb
164
- - spec/unit/link_spec.rb
165
128
  - spec/unit/configuration_spec.rb
129
+ - spec/unit/task_spec.rb
130
+ - spec/unit/currency_spec.rb
131
+ - spec/unit/comment_spec.rb
132
+ - spec/unit/base_spec.rb
133
+ - spec/unit/tag_spec.rb
134
+ - spec/unit/organisation_spec.rb
166
135
  - spec/unit/custom_field_spec.rb
136
+ - spec/unit/opportunity_spec.rb
137
+ - spec/unit/task_category_spec.rb
167
138
  - spec/unit/opportunity_category_spec.rb
168
- - spec/unit/relationship_spec.rb
169
- - spec/unit/user_spec.rb
170
- - spec/unit/task_spec.rb
139
+ - spec/unit/team_member_spec.rb
140
+ - spec/unit/contact_info_spec.rb
141
+ - spec/unit/opportunity_state_reason_spec.rb
171
142
  - spec/unit/address_spec.rb
143
+ - spec/unit/relationship_spec.rb
144
+ - spec/unit/link_spec.rb
145
+ - spec/unit/contact_spec.rb
172
146
  - spec/spec_helper.rb
173
147
  - insightly.gemspec
174
148
  homepage: https://github.com/r26D/insightly
175
149
  licenses: []
150
+
176
151
  post_install_message:
177
152
  rdoc_options: []
178
- require_paths:
153
+
154
+ require_paths:
179
155
  - lib
180
- required_ruby_version: !ruby/object:Gem::Requirement
156
+ required_ruby_version: !ruby/object:Gem::Requirement
181
157
  none: false
182
- requirements:
183
- - - ! '>='
184
- - !ruby/object:Gem::Version
185
- version: '0'
186
- segments:
158
+ requirements:
159
+ - - ">="
160
+ - !ruby/object:Gem::Version
161
+ hash: 1000770776767652835
162
+ segments:
187
163
  - 0
188
- hash: 2503300768034126949
189
- required_rubygems_version: !ruby/object:Gem::Requirement
164
+ version: "0"
165
+ required_rubygems_version: !ruby/object:Gem::Requirement
190
166
  none: false
191
- requirements:
192
- - - ! '>='
193
- - !ruby/object:Gem::Version
194
- version: '0'
195
- segments:
167
+ requirements:
168
+ - - ">="
169
+ - !ruby/object:Gem::Version
170
+ hash: 1000770776767652835
171
+ segments:
196
172
  - 0
197
- hash: 2503300768034126949
173
+ version: "0"
198
174
  requirements: []
175
+
199
176
  rubyforge_project:
200
177
  rubygems_version: 1.8.24
201
178
  signing_key:
202
179
  specification_version: 3
203
180
  summary: Insight.ly Ruby Client Library
204
181
  test_files: []
182
+