beeminder 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/lib/beeminder/user.rb +4 -3
- data/lib/beeminder/version.rb +1 -1
- metadata +21 -41
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MGNjOWExYTVhMzY0ODc3NzRmYTg0ZmM3ZGRiYWI5MzRlZWY0ZTQwZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
OTBkNmMyMzdmOGM5YTk3ZTJlYjI5ZjIxNmI0MTU2ZWEwYjIxYTFlNA==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
NTcxNTBhNzE5Nzg2ZTUyMWI5OWZkNDZkMjY2OTk0Yjg5MmMwN2Q3MGNmZjhj
|
10
|
+
OTcyODhkOWRjZWZmMGJjNWJhOTg2NjllNjQyYzg2NDMxZWUzZGNhYmFkMjdj
|
11
|
+
ZmI1NjIxODg2ZjA3NzIwYjJhYTA4NmIxMGExMDk2YzY3ZTQ5Njg=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NDI1ZjdlZDhkZTEyMmFiZWU0MTk0NjA1NTY0MjNhMTZmNWE2NGFlOTBhNzVm
|
14
|
+
MWE1YzhjNDhlODFkZTcyNmE1NjA2MzdhODc3NWE2N2UyZmE5NTJhZDU0ZjE1
|
15
|
+
YTYyOTZkZWZhOWZkNDJhMzFhNDA1YmZjMjBlYTc1YmQ5NmM2OGU=
|
data/lib/beeminder/user.rb
CHANGED
@@ -165,16 +165,17 @@ module Beeminder
|
|
165
165
|
req = case type
|
166
166
|
when :post
|
167
167
|
Net::HTTP::Post.new(url.path)
|
168
|
+
req.set_form_data(data)
|
168
169
|
when :get
|
169
|
-
Net::HTTP::Get.new(url.path)
|
170
|
+
Net::HTTP::Get.new(url.path + "?" + data.to_query)
|
170
171
|
when :delete
|
171
|
-
Net::HTTP::Delete.new(url.path)
|
172
|
+
Net::HTTP::Delete.new(url.path + "?" + data.to_query)
|
172
173
|
when :put
|
173
174
|
Net::HTTP::Put.new(url.path)
|
175
|
+
req.set_form_data(data)
|
174
176
|
else
|
175
177
|
raise "invalid connection type"
|
176
178
|
end
|
177
|
-
req.set_form_data(data)
|
178
179
|
|
179
180
|
res = http.request(req)
|
180
181
|
if not res.is_a? Net::HTTPSuccess
|
data/lib/beeminder/version.rb
CHANGED
metadata
CHANGED
@@ -1,123 +1,103 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: beeminder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- muflax
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
|
-
cert_chain:
|
11
|
-
-
|
12
|
-
-----BEGIN CERTIFICATE-----
|
13
|
-
MIIDLDCCAhSgAwIBAgIBADANBgkqhkiG9w0BAQUFADA8MQ0wCwYDVQQDDARtYWls
|
14
|
-
MRYwFAYKCZImiZPyLGQBGRYGbXVmbGF4MRMwEQYKCZImiZPyLGQBGRYDY29tMB4X
|
15
|
-
DTEzMDMwNDE1MjAzMloXDTE0MDMwNDE1MjAzMlowPDENMAsGA1UEAwwEbWFpbDEW
|
16
|
-
MBQGCgmSJomT8ixkARkWBm11ZmxheDETMBEGCgmSJomT8ixkARkWA2NvbTCCASIw
|
17
|
-
DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMBwn+ZDlWYfoEevtvoQBKK+NBFA
|
18
|
-
U9iKN5Aa4g51ZjiFUtoasYeTVUvqKmkRDM+tFTjlTNRCMtFKZy+Fbw+Q2+JALBnk
|
19
|
-
isyJmRCxoWLxUds/XT40I0m+mtwP5etKr7g01lE3gsIM8644iEBGw41pG7F8nm2w
|
20
|
-
dxcs78uGx/Y89vH4xlP5utdq4lChCo60+jQWUBNdnRlrFoBerUrdEUWlj7HhOQSl
|
21
|
-
coJqx3UHhPw1e97CxC4r4IEO4vfNwMr3Uxxcv/idcQwDi5thDwtzjG3u4xwzL3xS
|
22
|
-
HSvktDccLmeF9hsWUGlmee87oQGqZvZTmRmLmpcpzsNxFcVJxGK72VfbsjUCAwEA
|
23
|
-
AaM5MDcwCQYDVR0TBAIwADAdBgNVHQ4EFgQUQSJYdlGfmGnyGj3wkh7CkmK2fcMw
|
24
|
-
CwYDVR0PBAQDAgSwMA0GCSqGSIb3DQEBBQUAA4IBAQAv8d9bdDus6+zPK3uaBTnK
|
25
|
-
NWbZXKjH0nX7z+/poe0l+EUFfIEKuvzgaPMju9cvqrStBDVMrUQrL2mpCoISS+z+
|
26
|
-
SOK8E/DbR6cD+wjdO3ON91ejSX0ZtiVvmaGDgssVtzPgLYmOGvkCWsFQFkw4yNQh
|
27
|
-
6kf1ETE4wLTr6rZbN7ikmz6XFnUeB0MvAJqZ2sZ7Th7Y4GMDAq2WM86M65XtkRd2
|
28
|
-
Thz5XmfKZbX39IBq4mb/g7pFZhNIDAF8cS2PiQe/uF4WhFqwpL5DKlKsb/IcxO5B
|
29
|
-
/dXxIFmYUiaoG629iJTgLi1KqqYIqlTnaEFZxmLJflf3j/D8gSqxuUIPaji5q/wx
|
30
|
-
-----END CERTIFICATE-----
|
31
|
-
date: 2014-02-01 00:00:00.000000000 Z
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-04-20 00:00:00.000000000 Z
|
32
12
|
dependencies:
|
33
13
|
- !ruby/object:Gem::Dependency
|
34
14
|
name: activesupport
|
35
15
|
requirement: !ruby/object:Gem::Requirement
|
36
16
|
requirements:
|
37
|
-
- -
|
17
|
+
- - ! '>='
|
38
18
|
- !ruby/object:Gem::Version
|
39
19
|
version: '3.2'
|
40
|
-
- -
|
20
|
+
- - <
|
41
21
|
- !ruby/object:Gem::Version
|
42
22
|
version: '5'
|
43
23
|
type: :runtime
|
44
24
|
prerelease: false
|
45
25
|
version_requirements: !ruby/object:Gem::Requirement
|
46
26
|
requirements:
|
47
|
-
- -
|
27
|
+
- - ! '>='
|
48
28
|
- !ruby/object:Gem::Version
|
49
29
|
version: '3.2'
|
50
|
-
- -
|
30
|
+
- - <
|
51
31
|
- !ruby/object:Gem::Version
|
52
32
|
version: '5'
|
53
33
|
- !ruby/object:Gem::Dependency
|
54
34
|
name: chronic
|
55
35
|
requirement: !ruby/object:Gem::Requirement
|
56
36
|
requirements:
|
57
|
-
- -
|
37
|
+
- - ~>
|
58
38
|
- !ruby/object:Gem::Version
|
59
39
|
version: '0.7'
|
60
40
|
type: :runtime
|
61
41
|
prerelease: false
|
62
42
|
version_requirements: !ruby/object:Gem::Requirement
|
63
43
|
requirements:
|
64
|
-
- -
|
44
|
+
- - ~>
|
65
45
|
- !ruby/object:Gem::Version
|
66
46
|
version: '0.7'
|
67
47
|
- !ruby/object:Gem::Dependency
|
68
48
|
name: json
|
69
49
|
requirement: !ruby/object:Gem::Requirement
|
70
50
|
requirements:
|
71
|
-
- -
|
51
|
+
- - ! '>='
|
72
52
|
- !ruby/object:Gem::Version
|
73
53
|
version: '0'
|
74
54
|
type: :runtime
|
75
55
|
prerelease: false
|
76
56
|
version_requirements: !ruby/object:Gem::Requirement
|
77
57
|
requirements:
|
78
|
-
- -
|
58
|
+
- - ! '>='
|
79
59
|
- !ruby/object:Gem::Version
|
80
60
|
version: '0'
|
81
61
|
- !ruby/object:Gem::Dependency
|
82
62
|
name: highline
|
83
63
|
requirement: !ruby/object:Gem::Requirement
|
84
64
|
requirements:
|
85
|
-
- -
|
65
|
+
- - ~>
|
86
66
|
- !ruby/object:Gem::Version
|
87
67
|
version: '1.6'
|
88
68
|
type: :runtime
|
89
69
|
prerelease: false
|
90
70
|
version_requirements: !ruby/object:Gem::Requirement
|
91
71
|
requirements:
|
92
|
-
- -
|
72
|
+
- - ~>
|
93
73
|
- !ruby/object:Gem::Version
|
94
74
|
version: '1.6'
|
95
75
|
- !ruby/object:Gem::Dependency
|
96
76
|
name: trollop
|
97
77
|
requirement: !ruby/object:Gem::Requirement
|
98
78
|
requirements:
|
99
|
-
- -
|
79
|
+
- - ~>
|
100
80
|
- !ruby/object:Gem::Version
|
101
81
|
version: '2'
|
102
82
|
type: :runtime
|
103
83
|
prerelease: false
|
104
84
|
version_requirements: !ruby/object:Gem::Requirement
|
105
85
|
requirements:
|
106
|
-
- -
|
86
|
+
- - ~>
|
107
87
|
- !ruby/object:Gem::Version
|
108
88
|
version: '2'
|
109
89
|
- !ruby/object:Gem::Dependency
|
110
90
|
name: tzinfo
|
111
91
|
requirement: !ruby/object:Gem::Requirement
|
112
92
|
requirements:
|
113
|
-
- -
|
93
|
+
- - ! '>='
|
114
94
|
- !ruby/object:Gem::Version
|
115
95
|
version: '0'
|
116
96
|
type: :runtime
|
117
97
|
prerelease: false
|
118
98
|
version_requirements: !ruby/object:Gem::Requirement
|
119
99
|
requirements:
|
120
|
-
- -
|
100
|
+
- - ! '>='
|
121
101
|
- !ruby/object:Gem::Version
|
122
102
|
version: '0'
|
123
103
|
description: Convenient access to Beeminder's API.
|
@@ -128,7 +108,7 @@ executables:
|
|
128
108
|
extensions: []
|
129
109
|
extra_rdoc_files: []
|
130
110
|
files:
|
131
|
-
-
|
111
|
+
- .gitignore
|
132
112
|
- CHANGES.md
|
133
113
|
- Gemfile
|
134
114
|
- LICENSE.txt
|
@@ -150,17 +130,17 @@ require_paths:
|
|
150
130
|
- lib
|
151
131
|
required_ruby_version: !ruby/object:Gem::Requirement
|
152
132
|
requirements:
|
153
|
-
- -
|
133
|
+
- - ! '>='
|
154
134
|
- !ruby/object:Gem::Version
|
155
135
|
version: '0'
|
156
136
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
157
137
|
requirements:
|
158
|
-
- -
|
138
|
+
- - ! '>='
|
159
139
|
- !ruby/object:Gem::Version
|
160
140
|
version: '0'
|
161
141
|
requirements: []
|
162
142
|
rubyforge_project:
|
163
|
-
rubygems_version: 2.2.
|
143
|
+
rubygems_version: 2.2.2
|
164
144
|
signing_key:
|
165
145
|
specification_version: 4
|
166
146
|
summary: access Beeminder API
|
checksums.yaml.gz.sig
DELETED
Binary file
|
data.tar.gz.sig
DELETED
Binary file
|
metadata.gz.sig
DELETED
Binary file
|