simplificator-withings 0.2.6 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/withings/error.rb +1 -1
- data/simplificator-withings.gemspec +2 -2
- metadata +4 -4
data/lib/withings/error.rb
CHANGED
|
@@ -2,7 +2,7 @@ class Withings::ApiError < StandardError
|
|
|
2
2
|
UNKNOWN_STATUS_CODE = lambda() {|status, path, params| "Unknown status code '#{status}'"}
|
|
3
3
|
STATUS_CODES = {
|
|
4
4
|
100 => lambda() {|status, path, params| "The hash '#{params[:hash]}' does not match the email '#{params[:email]}'"},
|
|
5
|
-
247 => lambda() {|status, path, params| "The '#{params[:userid]}' is invalid"},
|
|
5
|
+
247 => lambda() {|status, path, params| "The userid '#{params[:userid]}' is invalid"},
|
|
6
6
|
250 => lambda() {|status, path, params| "The userid '#{params[:userid]}' and publickey '#{params[:publickey]}' do not match, or the user does not share its data"},
|
|
7
7
|
264 => lambda() {|status, path, params| "The email address '#{params[:email]}' is either unknown or invalid"},
|
|
8
8
|
286 => lambda() {|status, path, params| "No subscription for '#{params[:callbackurl]}' was found" },
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{simplificator-withings}
|
|
5
|
-
s.version = "0.2.
|
|
5
|
+
s.version = "0.2.7"
|
|
6
6
|
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
8
8
|
s.authors = ["pascalbetz"]
|
|
9
9
|
s.date = %q{2010-08-17}
|
|
10
|
-
s.description = %q{A withings API implementation in ruby. Created for the evita project}
|
|
10
|
+
s.description = %q{A withings API implementation in ruby. Created for the evita project at evita.ch}
|
|
11
11
|
s.email = %q{info@simplificator.com}
|
|
12
12
|
s.extra_rdoc_files = [
|
|
13
13
|
"LICENSE",
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simplificator-withings
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 25
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.2.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- pascalbetz
|
|
@@ -60,7 +60,7 @@ dependencies:
|
|
|
60
60
|
version: "0"
|
|
61
61
|
type: :runtime
|
|
62
62
|
version_requirements: *id003
|
|
63
|
-
description: A withings API implementation in ruby. Created for the evita project
|
|
63
|
+
description: A withings API implementation in ruby. Created for the evita project at evita.ch
|
|
64
64
|
email: info@simplificator.com
|
|
65
65
|
executables: []
|
|
66
66
|
|