beeminder 0.2.12 → 0.2.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: d48e75546e891468169cba69c260a9b183a02856
4
- data.tar.gz: a8bec82ae557bdd48009dd6b8ae96e4bc19f977a
2
+ SHA256:
3
+ metadata.gz: 93a795ea4da67f8f37467e4fba52f1ceaed16612f5ecccc8fb9bd11d0ea1a9ce
4
+ data.tar.gz: a9e21515c529f820ebf58a2278a3ca36e9b8a44eba59469366820c2f9e21763b
5
5
  SHA512:
6
- metadata.gz: f4dfdd266db0b8ed2b2a0e7aa8583e497719792351c2d7cb7aeb5fbfbccae9e7beb37b20204dea9ff3a4748b83069bd2b015311c3b0d49e18abb67d4944d1206
7
- data.tar.gz: 80a2fd645e8762ba2d8f241628db3dffc2b42ec72a102e2505a75eaaf6b012dc929dc33402f9524929a217caa2d7968fb9a906e50c8cba8c31fbf5b1b6f6770c
6
+ metadata.gz: 6269b4af7d7365c6d9e091f2734776af8402dcd5dfd852c19d63d8346417698d7785c526748b3283a40be1db68d7eb3739f588f1f520ec99f37c32382248d5fd
7
+ data.tar.gz: 9b313b7322ebc9dcc2876c141d6aec6bdf012ab016cdbc4e81361b98dcbba5a92efaa843dfe934f36ea58b3a6bc30378c11888f2dc4616203ec33a7691b84daa
data/beeminder.gemspec CHANGED
@@ -6,8 +6,8 @@ require 'beeminder/version'
6
6
  Gem::Specification.new do |gem|
7
7
  gem.name = "beeminder"
8
8
  gem.version = Beeminder::VERSION
9
- gem.authors = ["muflax", "bsoule"]
10
- gem.email = ["support@beeminder.com"]
9
+ gem.authors = ["muflax"]
10
+ gem.email = ["mail@muflax.com"]
11
11
  gem.description = "Convenient access to Beeminder's API."
12
12
  gem.summary = "access Beeminder API"
13
13
  gem.homepage = "https://github.com/beeminder/beeminder-gem"
@@ -16,10 +16,10 @@ Gem::Specification.new do |gem|
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
17
17
  gem.require_paths = ["lib"]
18
18
 
19
- gem.add_dependency 'activesupport', ['>= 3.2', '< 6']
19
+ gem.add_dependency 'activesupport', ['>= 3.2', '< 7']
20
20
  gem.add_dependency 'chronic', '~> 0.7'
21
- gem.add_dependency 'json', '~> 1'
21
+ gem.add_dependency 'json'
22
22
  gem.add_dependency 'highline', '~> 1.6'
23
23
  gem.add_dependency 'optimist', '~> 3'
24
- gem.add_dependency 'tzinfo', '~> 1.2'
24
+ gem.add_dependency 'tzinfo'
25
25
  end
@@ -62,6 +62,15 @@ module Beeminder
62
62
 
63
63
  # @return [Array<Integer, Float, Float>] All road settings over time
64
64
  attr_accessor :roadall
65
+
66
+ # @return [true|false] Whether the goal is currently frozen and therefore must be restarted before continuing to accept data.
67
+ attr_reader :frozen
68
+
69
+ # @return [Numeric] Where you are with respect to the yellow brick road (2 or more = above the road, 1 = top lane, -1 = bottom lane, -2 or less = below the road).
70
+ attr_reader :lane
71
+
72
+ # @return [Numeric] Good side of the road. I.e., the side of the road (+1/-1 = above/below) that makes you say “yay”.
73
+ attr_reader :yaw
65
74
 
66
75
  def initialize user, name_or_info
67
76
  @user = user
@@ -168,7 +168,7 @@ module Beeminder
168
168
  http = Net::HTTP.new(url.host, url.port)
169
169
  http.read_timeout = 8640
170
170
  http.use_ssl = true
171
- http.verify_mode = OpenSSL::SSL::VERIFY_NONE # FIXME: actually verify
171
+ http.verify_mode = OpenSSL::SSL::VERIFY_PEER # was VERIFY_NONE for some reason
172
172
 
173
173
  # FIXME Sanity check for wrong timestamp. Source of bug unknown, but at least we can prevent screwing up someone's graph.
174
174
  unless data["timestamp"].nil?
@@ -1,3 +1,3 @@
1
1
  module Beeminder
2
- VERSION = "0.2.12"
2
+ VERSION = "0.2.13"
3
3
  end
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beeminder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
4
+ version: 0.2.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - muflax
8
- - bsoule
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2018-09-27 00:00:00.000000000 Z
11
+ date: 2022-04-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: activesupport
@@ -20,7 +19,7 @@ dependencies:
20
19
  version: '3.2'
21
20
  - - "<"
22
21
  - !ruby/object:Gem::Version
23
- version: '6'
22
+ version: '7'
24
23
  type: :runtime
25
24
  prerelease: false
26
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -30,7 +29,7 @@ dependencies:
30
29
  version: '3.2'
31
30
  - - "<"
32
31
  - !ruby/object:Gem::Version
33
- version: '6'
32
+ version: '7'
34
33
  - !ruby/object:Gem::Dependency
35
34
  name: chronic
36
35
  requirement: !ruby/object:Gem::Requirement
@@ -49,16 +48,16 @@ dependencies:
49
48
  name: json
50
49
  requirement: !ruby/object:Gem::Requirement
51
50
  requirements:
52
- - - "~>"
51
+ - - ">="
53
52
  - !ruby/object:Gem::Version
54
- version: '1'
53
+ version: '0'
55
54
  type: :runtime
56
55
  prerelease: false
57
56
  version_requirements: !ruby/object:Gem::Requirement
58
57
  requirements:
59
- - - "~>"
58
+ - - ">="
60
59
  - !ruby/object:Gem::Version
61
- version: '1'
60
+ version: '0'
62
61
  - !ruby/object:Gem::Dependency
63
62
  name: highline
64
63
  requirement: !ruby/object:Gem::Requirement
@@ -91,19 +90,19 @@ dependencies:
91
90
  name: tzinfo
92
91
  requirement: !ruby/object:Gem::Requirement
93
92
  requirements:
94
- - - "~>"
93
+ - - ">="
95
94
  - !ruby/object:Gem::Version
96
- version: '1.2'
95
+ version: '0'
97
96
  type: :runtime
98
97
  prerelease: false
99
98
  version_requirements: !ruby/object:Gem::Requirement
100
99
  requirements:
101
- - - "~>"
100
+ - - ">="
102
101
  - !ruby/object:Gem::Version
103
- version: '1.2'
102
+ version: '0'
104
103
  description: Convenient access to Beeminder's API.
105
104
  email:
106
- - support@beeminder.com
105
+ - mail@muflax.com
107
106
  executables:
108
107
  - beemind
109
108
  extensions: []
@@ -125,7 +124,7 @@ files:
125
124
  homepage: https://github.com/beeminder/beeminder-gem
126
125
  licenses: []
127
126
  metadata: {}
128
- post_install_message:
127
+ post_install_message:
129
128
  rdoc_options: []
130
129
  require_paths:
131
130
  - lib
@@ -140,9 +139,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
140
139
  - !ruby/object:Gem::Version
141
140
  version: '0'
142
141
  requirements: []
143
- rubyforge_project:
144
- rubygems_version: 2.6.12
145
- signing_key:
142
+ rubygems_version: 3.2.32
143
+ signing_key:
146
144
  specification_version: 4
147
145
  summary: access Beeminder API
148
146
  test_files: []