forecasted 0.0.1 → 0.1.0
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.
- checksums.yaml +4 -4
- data/HISTORY.md +3 -0
- data/README.md +1 -2
- data/forecasted.gemspec +1 -1
- data/lib/forecast/version.rb +1 -1
- data/spec/functional/aggregates_spec.rb +3 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 53997e538c2cdde678dda36fae445ec61300c0c0
|
|
4
|
+
data.tar.gz: e3daceab5dbba1c0698dddb01e847dba605e77be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 914bb73d4a9b183029600a40791309c6415d890fb4989170549991d32add10020fca814293e1f21e10d5f7ccc449afa909b78c92f52b8003f9b961ad945ddf73
|
|
7
|
+
data.tar.gz: c50380bc29f25e29935c8368adb23ad7f254a045e7c753203696358358168f17a3e392a79e74edcd0e9700b7efe2ffcf8ff062ef401594e3c5fcad0b89f79cb6
|
data/HISTORY.md
CHANGED
data/README.md
CHANGED
|
@@ -11,9 +11,8 @@ A Ruby wrapper for the [Forecast (unofficial) API](https://forecastapp.com/).
|
|
|
11
11
|
|
|
12
12
|
For the time being, add this to your gem file,
|
|
13
13
|
|
|
14
|
-
gem 'forecasted'
|
|
14
|
+
gem 'forecasted'
|
|
15
15
|
|
|
16
|
-
I'll push a version to rubygems when the API endpoints are developed.
|
|
17
16
|
|
|
18
17
|
## Examples
|
|
19
18
|
<!--
|
data/forecasted.gemspec
CHANGED
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
|
8
8
|
spec.version = Forecast::VERSION
|
|
9
9
|
spec.authors = ["Weston Platter"]
|
|
10
10
|
spec.summary = "A Ruby Wrapper for the HarvestForecast (unofficial) API"
|
|
11
|
-
spec.homepage = "http://github.com/
|
|
11
|
+
spec.homepage = "http://github.com/westonplatter/forecasted"
|
|
12
12
|
spec.license = "MIT"
|
|
13
13
|
|
|
14
14
|
spec.files = `git ls-files -z`.split("\x0")
|
data/lib/forecast/version.rb
CHANGED
|
@@ -19,8 +19,10 @@ describe 'forecast aggregate' do
|
|
|
19
19
|
|
|
20
20
|
expect(x.class).to be(Array)
|
|
21
21
|
expect(x.first.class).to be(Forecast::Aggregate)
|
|
22
|
-
|
|
23
22
|
expect_belong_to_one_project(x)
|
|
23
|
+
expect(x.first.project_id).to eq(mm_forecast_project_id)
|
|
24
|
+
|
|
25
|
+
expect(x.first.allocation).to eq(18.0)
|
|
24
26
|
end
|
|
25
27
|
end
|
|
26
28
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: forecasted
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Weston Platter
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-12-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: httparty
|
|
@@ -149,7 +149,7 @@ files:
|
|
|
149
149
|
- spec/support/forecast_credentials.example.yml
|
|
150
150
|
- spec/support/forecasted_helpers.rb
|
|
151
151
|
- spec/support/json_examples.rb
|
|
152
|
-
homepage: http://github.com/
|
|
152
|
+
homepage: http://github.com/westonplatter/forecasted
|
|
153
153
|
licenses:
|
|
154
154
|
- MIT
|
|
155
155
|
metadata: {}
|