moves 0.1.0 → 0.1.1

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
2
  SHA1:
3
- metadata.gz: 17100a3816eb3c1e35188f3f2bc511497e270a27
4
- data.tar.gz: b1b55ee4224a1b279a0e6268a821d8a0b1ea0e22
3
+ metadata.gz: f289b290d01c78c3ee9fd4b9ea65459d52eacfdc
4
+ data.tar.gz: a188aeb621db0585685ef6053b1b3f031d88a77a
5
5
  SHA512:
6
- metadata.gz: a88c9c837c2fc50e4b192b2e26f69f82e28b967cafc448cccb5dea9f2d97828f36505a03b3e1c766d8992c9b7103d5c1b844899ab1412bbbecacfa06c5a0900a
7
- data.tar.gz: aaa87d8c9909b168b0305a02586bac5dc1929b22fb319354df88be547169e6c63a4aa8c319daf56f8bbad61206ea2340d768418bfb4532545e89327c670e7b73
6
+ metadata.gz: 61ab2f9854f750e241e7eca228e8d2c92fd5bb43a77a95c51dfd07076b22a3ef50ecf271cc26a4cf2bd03b4573a68316e28a1727ee4e6b503991e20c8fc8ecc9
7
+ data.tar.gz: 3dc7446fdbb3768b21f92e1f9dbf7cafcfa1e51587eb30201d7a050b6aede0c58ba447a70c23aa3357b3737b7f054e634947d61bc24fe98916366e2b2817fcc7
@@ -1,3 +1,7 @@
1
+ # 0.1.1
2
+
3
+ - Fixed pastDays option
4
+
1
5
  # 0.1.0
2
6
 
3
7
  - Added support for API version 1.1
data/README.md CHANGED
@@ -40,7 +40,7 @@ moves.daily_summary(DateTime.now)
40
40
  moves.daily_summary((Date.today - 1)..Date.today)
41
41
  ```
42
42
 
43
- **Note:** Methods below support the same parameters as above
43
+ **Fun fact:** Methods below support the same parameters as above
44
44
 
45
45
  Get daily activities
46
46
 
@@ -61,7 +61,7 @@ module Moves
61
61
  params ||= {}
62
62
 
63
63
  # default to current day
64
- if extra_path.empty? and !(params[:to] or params[:from])
64
+ if extra_path.empty? and !(params[:to] or params[:from] or params[:pastDays])
65
65
  extra_path = "/#{Time.now.strftime(format)}"
66
66
  end
67
67
 
@@ -1,3 +1,3 @@
1
1
  module Moves
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moves
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-03 00:00:00.000000000 Z
11
+ date: 2014-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  version: '0'
105
105
  requirements: []
106
106
  rubyforge_project:
107
- rubygems_version: 2.2.0
107
+ rubygems_version: 2.2.2
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Ruby client for Moves