beeminder 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ODlmODI5MzQ5NWEwMDVlMWM4YmFiMDM4ZmMxMzMzZDUwYmU3ZTJmYw==
5
+ data.tar.gz: !binary |-
6
+ NGZlZjBiNTQyZTA5MTA4ZWU1ODk5YmJmMjE5MzA5ODRkMGRkNGUyYg==
7
+ !binary "U0hBNTEy":
8
+ metadata.gz: !binary |-
9
+ ODQ4NDhiMTUxYzNjMzQ1Y2E4Nzk2YTkyYTQxODJmMDgyZDlmYmU0YzkzMTE0
10
+ N2M0NWFhNTk1OGM0ODhkN2JhZDNmZWI0NGQ1ZGQ0NmMxZWY1N2E5ODU2NjFk
11
+ N2RhYjQ5YTRmY2U3OTI2YTNmMDJmODVjZjQyMDI4NmEzMjI5M2M=
12
+ data.tar.gz: !binary |-
13
+ YmRkNTg5OWVhNTBjMmM3OTc4YjEwMWRmYmZkYjk1NmU2MWM5N2UyZDFlM2My
14
+ OGM4NzMyYWIyMDhkOTg2MWY0YWE0MjdlMjM5NGQxM2FkY2IxNTEzZTA3ODU1
15
+ ZjEyMDY0MGZhMWE4NWQ3NmM5ZGVmYjNmYzc4ZTE5ZTk1NTJjZDM=
Binary file
Binary file
@@ -17,6 +17,12 @@ module Beeminder
17
17
  # @return [Numeric] Goal value.
18
18
  attr_reader :goalval
19
19
 
20
+ # @return [Numeric] Value of the most recent data point.
21
+ attr_reader :curval
22
+
23
+ # @return [DateTime] Date of the most recent data point.
24
+ attr_reader :curday
25
+
20
26
  # @return [Numeric] The slope of the (final section of the) yellow brick road.
21
27
  attr_reader :rate
22
28
 
@@ -177,6 +183,7 @@ module Beeminder
177
183
  @goal_type = @goal_type.to_sym unless @goal_type.nil?
178
184
  @losedate = DateTime.strptime(@losedate.to_s, '%s').in_time_zone(@user.timezone) unless @losedate.nil?
179
185
  @updated_at = DateTime.strptime(@updated_at.to_s, '%s').in_time_zone(@user.timezone)
186
+ @curdate = DateTime.strptime(@curdate.to_s, '%s').in_time_zone(@user.timezone) unless @curdate.nil?
180
187
  end
181
188
  end
182
189
 
@@ -1,3 +1,3 @@
1
1
  module Beeminder
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,20 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beeminder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
5
- prerelease:
4
+ version: 0.2.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - muflax
9
8
  autorequire:
10
9
  bindir: bin
11
- cert_chain: []
12
- date: 2013-01-08 00:00:00.000000000 Z
10
+ cert_chain:
11
+ - !binary |-
12
+ LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMRENDQWhTZ0F3SUJB
13
+ Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREE4TVEwd0N3WURWUVFEREFSdFlX
14
+ bHMKTVJZd0ZBWUtDWkltaVpQeUxHUUJHUllHYlhWbWJHRjRNUk13RVFZS0Na
15
+ SW1pWlB5TEdRQkdSWURZMjl0TUI0WApEVEV6TURNd05ERTFNakF6TWxvWERU
16
+ RTBNRE13TkRFMU1qQXpNbG93UERFTk1Bc0dBMVVFQXd3RWJXRnBiREVXCk1C
17
+ UUdDZ21TSm9tVDhpeGtBUmtXQm0xMVpteGhlREVUTUJFR0NnbVNKb21UOGl4
18
+ a0FSa1dBMk52YlRDQ0FTSXcKRFFZSktvWklodmNOQVFFQkJRQURnZ0VQQURD
19
+ Q0FRb0NnZ0VCQU1Cd24rWkRsV1lmb0VldnR2b1FCS0srTkJGQQpVOWlLTjVB
20
+ YTRnNTFaamlGVXRvYXNZZVRWVXZxS21rUkRNK3RGVGpsVE5SQ010RktaeStG
21
+ YncrUTIrSkFMQm5rCmlzeUptUkN4b1dMeFVkcy9YVDQwSTBtK210d1A1ZXRL
22
+ cjdnM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!ruby/object:Gem::Dependency
15
41
  name: activesupport
16
42
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
43
  requirements:
19
44
  - - ~>
20
45
  - !ruby/object:Gem::Version
@@ -22,7 +47,6 @@ dependencies:
22
47
  type: :runtime
23
48
  prerelease: false
24
49
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
50
  requirements:
27
51
  - - ~>
28
52
  - !ruby/object:Gem::Version
@@ -30,7 +54,6 @@ dependencies:
30
54
  - !ruby/object:Gem::Dependency
31
55
  name: chronic
32
56
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
57
  requirements:
35
58
  - - ~>
36
59
  - !ruby/object:Gem::Version
@@ -38,7 +61,6 @@ dependencies:
38
61
  type: :runtime
39
62
  prerelease: false
40
63
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
64
  requirements:
43
65
  - - ~>
44
66
  - !ruby/object:Gem::Version
@@ -46,7 +68,6 @@ dependencies:
46
68
  - !ruby/object:Gem::Dependency
47
69
  name: json
48
70
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
71
  requirements:
51
72
  - - ! '>='
52
73
  - !ruby/object:Gem::Version
@@ -54,7 +75,6 @@ dependencies:
54
75
  type: :runtime
55
76
  prerelease: false
56
77
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
78
  requirements:
59
79
  - - ! '>='
60
80
  - !ruby/object:Gem::Version
@@ -62,7 +82,6 @@ dependencies:
62
82
  - !ruby/object:Gem::Dependency
63
83
  name: highline
64
84
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
85
  requirements:
67
86
  - - ~>
68
87
  - !ruby/object:Gem::Version
@@ -70,7 +89,6 @@ dependencies:
70
89
  type: :runtime
71
90
  prerelease: false
72
91
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
92
  requirements:
75
93
  - - ~>
76
94
  - !ruby/object:Gem::Version
@@ -78,7 +96,6 @@ dependencies:
78
96
  - !ruby/object:Gem::Dependency
79
97
  name: trollop
80
98
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
99
  requirements:
83
100
  - - ~>
84
101
  - !ruby/object:Gem::Version
@@ -86,7 +103,6 @@ dependencies:
86
103
  type: :runtime
87
104
  prerelease: false
88
105
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
106
  requirements:
91
107
  - - ~>
92
108
  - !ruby/object:Gem::Version
@@ -94,7 +110,6 @@ dependencies:
94
110
  - !ruby/object:Gem::Dependency
95
111
  name: tzinfo
96
112
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
113
  requirements:
99
114
  - - ! '>='
100
115
  - !ruby/object:Gem::Version
@@ -102,7 +117,6 @@ dependencies:
102
117
  type: :runtime
103
118
  prerelease: false
104
119
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
120
  requirements:
107
121
  - - ! '>='
108
122
  - !ruby/object:Gem::Version
@@ -130,32 +144,25 @@ files:
130
144
  - lib/beeminder/version.rb
131
145
  homepage: https://github.com/beeminder/beeminder-gem
132
146
  licenses: []
147
+ metadata: {}
133
148
  post_install_message:
134
149
  rdoc_options: []
135
150
  require_paths:
136
151
  - lib
137
152
  required_ruby_version: !ruby/object:Gem::Requirement
138
- none: false
139
153
  requirements:
140
154
  - - ! '>='
141
155
  - !ruby/object:Gem::Version
142
156
  version: '0'
143
- segments:
144
- - 0
145
- hash: 996315672154388465
146
157
  required_rubygems_version: !ruby/object:Gem::Requirement
147
- none: false
148
158
  requirements:
149
159
  - - ! '>='
150
160
  - !ruby/object:Gem::Version
151
161
  version: '0'
152
- segments:
153
- - 0
154
- hash: 996315672154388465
155
162
  requirements: []
156
163
  rubyforge_project:
157
- rubygems_version: 1.8.23
164
+ rubygems_version: 2.0.3
158
165
  signing_key:
159
- specification_version: 3
166
+ specification_version: 4
160
167
  summary: access Beeminder API
161
168
  test_files: []
@@ -0,0 +1 @@
1
+ ��w2�� ߣ�`d"�tV��^V5d�A[J�2�1�r"X=g���;�R�