help_spot 0.0.7 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Gemfile.lock +3 -3
- data/Rakefile +2 -2
- data/lib/help_spot.rb +5 -1
- data/lib/help_spot/version.rb +1 -1
- metadata +47 -51
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -4,7 +4,7 @@ GEM
|
|
4
4
|
crack (0.1.6)
|
5
5
|
fakeweb (1.3.0)
|
6
6
|
git (1.2.5)
|
7
|
-
hashie (0.
|
7
|
+
hashie (1.0.0)
|
8
8
|
httparty (0.5.2)
|
9
9
|
crack (= 0.1.6)
|
10
10
|
jeweler (1.6.4)
|
@@ -19,8 +19,8 @@ PLATFORMS
|
|
19
19
|
|
20
20
|
DEPENDENCIES
|
21
21
|
fakeweb
|
22
|
-
hashie (~> 0.
|
23
|
-
httparty (~> 0.5
|
22
|
+
hashie (~> 1.0.0)
|
23
|
+
httparty (~> 0.5)
|
24
24
|
jeweler
|
25
25
|
rake
|
26
26
|
rspec (= 1.3.0)
|
data/Rakefile
CHANGED
@@ -13,8 +13,8 @@ begin
|
|
13
13
|
gem.authors = ["Jesse Newland"]
|
14
14
|
gem.add_development_dependency "rspec", "= 1.3.0"
|
15
15
|
gem.add_development_dependency "fakeweb"
|
16
|
-
gem.add_dependency "hashie", "~> 0.
|
17
|
-
gem.add_dependency "httparty", "~> 0.5
|
16
|
+
gem.add_dependency "hashie", "~> 1.0.0"
|
17
|
+
gem.add_dependency "httparty", "~> 0.5"
|
18
18
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
19
19
|
end
|
20
20
|
Jeweler::GemcutterTasks.new
|
data/lib/help_spot.rb
CHANGED
@@ -63,6 +63,10 @@ class HelpSpot
|
|
63
63
|
api_request(:get, 'private.timetracker.search', options, {:collection => 'time_events', :item => 'event'})
|
64
64
|
end
|
65
65
|
|
66
|
+
def time_events(id, options = {})
|
67
|
+
api_request(:get, 'private.request.getTimeEvents', options.merge(:xRequest => id), {:collection => 'time_events', :item => 'event'})
|
68
|
+
end
|
69
|
+
|
66
70
|
private
|
67
71
|
|
68
72
|
def api_request(http_method, method, options = {}, munge_options = {})
|
@@ -91,4 +95,4 @@ private
|
|
91
95
|
end
|
92
96
|
end
|
93
97
|
|
94
|
-
end
|
98
|
+
end
|
data/lib/help_spot/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: help_spot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 9
|
10
|
+
version: 0.0.9
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jesse Newland
|
@@ -15,44 +15,40 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
19
|
-
default_executable:
|
18
|
+
date: 2012-07-04 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
|
-
name: hashie
|
23
|
-
prerelease: false
|
24
21
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
22
|
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
26
|
+
hash: 23
|
30
27
|
segments:
|
31
|
-
- 0
|
32
28
|
- 1
|
33
|
-
-
|
34
|
-
|
35
|
-
|
29
|
+
- 0
|
30
|
+
- 0
|
31
|
+
version: 1.0.0
|
32
|
+
prerelease: false
|
36
33
|
requirement: *id001
|
34
|
+
name: hashie
|
35
|
+
type: :runtime
|
37
36
|
- !ruby/object:Gem::Dependency
|
38
|
-
name: httparty
|
39
|
-
prerelease: false
|
40
37
|
version_requirements: &id002 !ruby/object:Gem::Requirement
|
41
38
|
none: false
|
42
39
|
requirements:
|
43
40
|
- - ~>
|
44
41
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
42
|
+
hash: 1
|
46
43
|
segments:
|
47
44
|
- 0
|
48
45
|
- 5
|
49
|
-
|
50
|
-
|
51
|
-
type: :runtime
|
46
|
+
version: "0.5"
|
47
|
+
prerelease: false
|
52
48
|
requirement: *id002
|
49
|
+
name: httparty
|
50
|
+
type: :runtime
|
53
51
|
- !ruby/object:Gem::Dependency
|
54
|
-
name: rake
|
55
|
-
prerelease: false
|
56
52
|
version_requirements: &id003 !ruby/object:Gem::Requirement
|
57
53
|
none: false
|
58
54
|
requirements:
|
@@ -62,11 +58,11 @@ dependencies:
|
|
62
58
|
segments:
|
63
59
|
- 0
|
64
60
|
version: "0"
|
65
|
-
|
61
|
+
prerelease: false
|
66
62
|
requirement: *id003
|
63
|
+
name: rake
|
64
|
+
type: :development
|
67
65
|
- !ruby/object:Gem::Dependency
|
68
|
-
name: rspec
|
69
|
-
prerelease: false
|
70
66
|
version_requirements: &id004 !ruby/object:Gem::Requirement
|
71
67
|
none: false
|
72
68
|
requirements:
|
@@ -78,11 +74,11 @@ dependencies:
|
|
78
74
|
- 3
|
79
75
|
- 0
|
80
76
|
version: 1.3.0
|
81
|
-
|
77
|
+
prerelease: false
|
82
78
|
requirement: *id004
|
79
|
+
name: rspec
|
80
|
+
type: :development
|
83
81
|
- !ruby/object:Gem::Dependency
|
84
|
-
name: fakeweb
|
85
|
-
prerelease: false
|
86
82
|
version_requirements: &id005 !ruby/object:Gem::Requirement
|
87
83
|
none: false
|
88
84
|
requirements:
|
@@ -92,11 +88,11 @@ dependencies:
|
|
92
88
|
segments:
|
93
89
|
- 0
|
94
90
|
version: "0"
|
95
|
-
|
91
|
+
prerelease: false
|
96
92
|
requirement: *id005
|
93
|
+
name: fakeweb
|
94
|
+
type: :development
|
97
95
|
- !ruby/object:Gem::Dependency
|
98
|
-
name: jeweler
|
99
|
-
prerelease: false
|
100
96
|
version_requirements: &id006 !ruby/object:Gem::Requirement
|
101
97
|
none: false
|
102
98
|
requirements:
|
@@ -106,11 +102,11 @@ dependencies:
|
|
106
102
|
segments:
|
107
103
|
- 0
|
108
104
|
version: "0"
|
109
|
-
|
105
|
+
prerelease: false
|
110
106
|
requirement: *id006
|
107
|
+
name: jeweler
|
108
|
+
type: :development
|
111
109
|
- !ruby/object:Gem::Dependency
|
112
|
-
name: rspec
|
113
|
-
prerelease: false
|
114
110
|
version_requirements: &id007 !ruby/object:Gem::Requirement
|
115
111
|
none: false
|
116
112
|
requirements:
|
@@ -122,11 +118,11 @@ dependencies:
|
|
122
118
|
- 3
|
123
119
|
- 0
|
124
120
|
version: 1.3.0
|
125
|
-
|
121
|
+
prerelease: false
|
126
122
|
requirement: *id007
|
123
|
+
name: rspec
|
124
|
+
type: :development
|
127
125
|
- !ruby/object:Gem::Dependency
|
128
|
-
name: fakeweb
|
129
|
-
prerelease: false
|
130
126
|
version_requirements: &id008 !ruby/object:Gem::Requirement
|
131
127
|
none: false
|
132
128
|
requirements:
|
@@ -136,40 +132,41 @@ dependencies:
|
|
136
132
|
segments:
|
137
133
|
- 0
|
138
134
|
version: "0"
|
139
|
-
|
135
|
+
prerelease: false
|
140
136
|
requirement: *id008
|
137
|
+
name: fakeweb
|
138
|
+
type: :development
|
141
139
|
- !ruby/object:Gem::Dependency
|
142
|
-
name: hashie
|
143
|
-
prerelease: false
|
144
140
|
version_requirements: &id009 !ruby/object:Gem::Requirement
|
145
141
|
none: false
|
146
142
|
requirements:
|
147
143
|
- - ~>
|
148
144
|
- !ruby/object:Gem::Version
|
149
|
-
hash:
|
145
|
+
hash: 23
|
150
146
|
segments:
|
151
|
-
- 0
|
152
147
|
- 1
|
153
|
-
-
|
154
|
-
|
155
|
-
|
148
|
+
- 0
|
149
|
+
- 0
|
150
|
+
version: 1.0.0
|
151
|
+
prerelease: false
|
156
152
|
requirement: *id009
|
153
|
+
name: hashie
|
154
|
+
type: :runtime
|
157
155
|
- !ruby/object:Gem::Dependency
|
158
|
-
name: httparty
|
159
|
-
prerelease: false
|
160
156
|
version_requirements: &id010 !ruby/object:Gem::Requirement
|
161
157
|
none: false
|
162
158
|
requirements:
|
163
159
|
- - ~>
|
164
160
|
- !ruby/object:Gem::Version
|
165
|
-
hash:
|
161
|
+
hash: 1
|
166
162
|
segments:
|
167
163
|
- 0
|
168
164
|
- 5
|
169
|
-
|
170
|
-
|
171
|
-
type: :runtime
|
165
|
+
version: "0.5"
|
166
|
+
prerelease: false
|
172
167
|
requirement: *id010
|
168
|
+
name: httparty
|
169
|
+
type: :runtime
|
173
170
|
description: API wrapper for HelpSpot
|
174
171
|
email: jnewland@gmail.com
|
175
172
|
executables: []
|
@@ -202,7 +199,6 @@ files:
|
|
202
199
|
- spec/help_spot_spec.rb
|
203
200
|
- spec/spec.opts
|
204
201
|
- spec/spec_helper.rb
|
205
|
-
has_rdoc: true
|
206
202
|
homepage: http://github.com/jnewland/help_spot
|
207
203
|
licenses: []
|
208
204
|
|
@@ -232,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
232
228
|
requirements: []
|
233
229
|
|
234
230
|
rubyforge_project:
|
235
|
-
rubygems_version: 1.
|
231
|
+
rubygems_version: 1.8.15
|
236
232
|
signing_key:
|
237
233
|
specification_version: 3
|
238
234
|
summary: API wrapper for HelpSpot
|