harvest_slack_report 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -1
- data/Gemfile.lock +78 -0
- data/README.md +6 -2
- data/app.json +3 -3
- data/harvest_slack_report.gemspec +1 -1
- data/lib/harvest_slack_report/version.rb +1 -1
- metadata +16 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43b44914247bd3a7935f1e3c957ebfe6808edd5c
|
4
|
+
data.tar.gz: 92976abcfeea1ecd906e7aae0d38cf38313dc05f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6c124f3bf3e2833824a3c713fb4acf0275ec34e98d8198dd27a4b87bfd73aef0d195eef4dd3b3956846381795a7c2c1fcd06523319d1498236cdd3efac5861f
|
7
|
+
data.tar.gz: 7ffaaf8d7937de5d18a2f808d60e5a1a6c650da4929ebde8887d861501321299ecbaedfb71475bcec358dff4ee51811b815f1208ede0b84de0fd037229a8296d
|
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
@@ -0,0 +1,78 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
harvest_slack_report (1.0.0)
|
5
|
+
activesupport (~> 4.2.6)
|
6
|
+
dotenv (~> 2.1.0)
|
7
|
+
harvested (~> 3.1.1)
|
8
|
+
slack-ruby-client (~> 0.7.0)
|
9
|
+
|
10
|
+
GEM
|
11
|
+
remote: https://rubygems.org/
|
12
|
+
specs:
|
13
|
+
activesupport (4.2.6)
|
14
|
+
i18n (~> 0.7)
|
15
|
+
json (~> 1.7, >= 1.7.7)
|
16
|
+
minitest (~> 5.1)
|
17
|
+
thread_safe (~> 0.3, >= 0.3.4)
|
18
|
+
tzinfo (~> 1.1)
|
19
|
+
diff-lcs (1.2.5)
|
20
|
+
dotenv (2.1.0)
|
21
|
+
faraday (0.9.2)
|
22
|
+
multipart-post (>= 1.2, < 3)
|
23
|
+
faraday_middleware (0.10.0)
|
24
|
+
faraday (>= 0.7.4, < 0.10)
|
25
|
+
gli (2.13.4)
|
26
|
+
harvested (3.1.1)
|
27
|
+
hashie
|
28
|
+
httparty
|
29
|
+
json
|
30
|
+
hashie (3.4.3)
|
31
|
+
httparty (0.13.7)
|
32
|
+
json (~> 1.8)
|
33
|
+
multi_xml (>= 0.5.2)
|
34
|
+
i18n (0.7.0)
|
35
|
+
json (1.8.3)
|
36
|
+
minitest (5.8.4)
|
37
|
+
multi_xml (0.5.5)
|
38
|
+
multipart-post (2.0.0)
|
39
|
+
rake (10.5.0)
|
40
|
+
rspec (3.4.0)
|
41
|
+
rspec-core (~> 3.4.0)
|
42
|
+
rspec-expectations (~> 3.4.0)
|
43
|
+
rspec-mocks (~> 3.4.0)
|
44
|
+
rspec-core (3.4.4)
|
45
|
+
rspec-support (~> 3.4.0)
|
46
|
+
rspec-expectations (3.4.0)
|
47
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
48
|
+
rspec-support (~> 3.4.0)
|
49
|
+
rspec-mocks (3.4.1)
|
50
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
51
|
+
rspec-support (~> 3.4.0)
|
52
|
+
rspec-support (3.4.1)
|
53
|
+
slack-ruby-client (0.7.0)
|
54
|
+
activesupport
|
55
|
+
faraday
|
56
|
+
faraday_middleware
|
57
|
+
gli
|
58
|
+
hashie
|
59
|
+
json
|
60
|
+
websocket-driver
|
61
|
+
thread_safe (0.3.5)
|
62
|
+
tzinfo (1.2.2)
|
63
|
+
thread_safe (~> 0.1)
|
64
|
+
websocket-driver (0.6.3)
|
65
|
+
websocket-extensions (>= 0.1.0)
|
66
|
+
websocket-extensions (0.1.2)
|
67
|
+
|
68
|
+
PLATFORMS
|
69
|
+
ruby
|
70
|
+
|
71
|
+
DEPENDENCIES
|
72
|
+
bundler (~> 1.11)
|
73
|
+
harvest_slack_report!
|
74
|
+
rake (~> 10.0)
|
75
|
+
rspec (~> 3.0)
|
76
|
+
|
77
|
+
BUNDLED WITH
|
78
|
+
1.11.2
|
data/README.md
CHANGED
@@ -2,8 +2,6 @@
|
|
2
2
|
|
3
3
|
Reporting on daily harvest activity.
|
4
4
|
|
5
|
-
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
|
6
|
-
|
7
5
|
## Installation
|
8
6
|
|
9
7
|
$ gem install harvest_slack_report
|
@@ -17,6 +15,12 @@ The following environment variables must be set:
|
|
17
15
|
HARVEST_PASSWORD=password
|
18
16
|
SLACK_API_TOKEN=slack bot token
|
19
17
|
|
18
|
+
$ harvest_slack_report
|
19
|
+
|
20
|
+
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy)
|
21
|
+
|
22
|
+
Set Heroku scheduler with this command: `./exe/harvest_slack_report`
|
23
|
+
|
20
24
|
## Contributing
|
21
25
|
|
22
26
|
Bug reports and pull requests are welcome on GitHub at https://github.com/bitzesty/harvest_slack_report. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/app.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
|
-
"name": "HarvestSlackReport
|
3
|
-
"description": "A bot that notifies Slack about
|
2
|
+
"name": "HarvestSlackReport",
|
3
|
+
"description": "A bot that notifies Slack about time spent on projects.",
|
4
4
|
"keywords": [
|
5
5
|
"slack",
|
6
6
|
"harvest"
|
@@ -21,7 +21,7 @@
|
|
21
21
|
},
|
22
22
|
"SLACK_API_TOKEN": {
|
23
23
|
"description": "Your Slack Bot API Token (https://my.slack.com/services/new/bot)"
|
24
|
-
}
|
24
|
+
}
|
25
25
|
},
|
26
26
|
"addons": [
|
27
27
|
"scheduler"
|
@@ -22,9 +22,9 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_dependency "slack-ruby-client", "~> 0.7.0"
|
23
23
|
spec.add_dependency "harvested", "~> 3.1.1"
|
24
24
|
spec.add_dependency "activesupport", "~> 4.2.6"
|
25
|
+
spec.add_dependency "dotenv", "~> 2.1.0"
|
25
26
|
|
26
27
|
spec.add_development_dependency "bundler", "~> 1.11"
|
27
28
|
spec.add_development_dependency "rake", "~> 10.0"
|
28
29
|
spec.add_development_dependency "rspec", "~> 3.0"
|
29
|
-
spec.add_development_dependency "dotenv", "~> 2.1.0"
|
30
30
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: harvest_slack_report
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matthew Ford
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: slack-ruby-client
|
@@ -53,61 +53,61 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: 4.2.6
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: dotenv
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
type: :
|
61
|
+
version: 2.1.0
|
62
|
+
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 2.1.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: bundler
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: '
|
75
|
+
version: '1.11'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
82
|
+
version: '1.11'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: '
|
89
|
+
version: '10.0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: '
|
96
|
+
version: '10.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
98
|
+
name: rspec
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
101
|
- - "~>"
|
102
102
|
- !ruby/object:Gem::Version
|
103
|
-
version:
|
103
|
+
version: '3.0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
108
|
- - "~>"
|
109
109
|
- !ruby/object:Gem::Version
|
110
|
-
version:
|
110
|
+
version: '3.0'
|
111
111
|
description: Reporting Harvest data to Slack
|
112
112
|
email:
|
113
113
|
- matt@bitzesty.com
|
@@ -121,6 +121,7 @@ files:
|
|
121
121
|
- ".travis.yml"
|
122
122
|
- CODE_OF_CONDUCT.md
|
123
123
|
- Gemfile
|
124
|
+
- Gemfile.lock
|
124
125
|
- LICENSE.txt
|
125
126
|
- README.md
|
126
127
|
- Rakefile
|