githabit 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/githabit.gemspec +5 -5
- data/lib/githabit/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5a007cab852780d02fbb4575f3d2c9b2ab1e217b
|
4
|
+
data.tar.gz: 7674135171f27af23ffa36abd09919dc6894f9b0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27089e57b61c908030cbbe961dd42b9a096800f244a4a672cdef6523fe80e72d9d4b12f9dd1b7351479a9dd42c77c8738d6e05e025abda0793497e1e927604f0
|
7
|
+
data.tar.gz: 12ffbafc172382f5fe10fba50eede95eb935d91291653f4447286a7e14252312a1a6648276e26d7b0269cfd110e6cf035fea3d0dd4663f49b80a5b2887a05f0c
|
data/README.md
CHANGED
@@ -10,6 +10,8 @@ Install the gem using
|
|
10
10
|
|
11
11
|
$ gem install githabit
|
12
12
|
|
13
|
+
Next get a copy of the example config [on my github](https://github.com/keslerm/githabit/blob/master/config-example.yml) and copy it to ~/.githabit.yml. Open it up in a text editor and set the approriate values. For now I suggest leaving autowatch to false while you get everything setup. More about the autowatch mode is in the configuration section later.
|
14
|
+
|
13
15
|
For the first time running you will need to initialize the cache, run
|
14
16
|
|
15
17
|
$ githabit --setup
|
@@ -20,13 +22,10 @@ After the initial run all you will need to run is
|
|
20
22
|
|
21
23
|
## Configuration
|
22
24
|
|
23
|
-
Until I finish the setup function, you will need to create a config file in ~/.githabit.yml
|
24
|
-
|
25
|
-
You can find an example config [on my github](https://github.com/keslerm/githabit/blob/master/config-example.yml).
|
26
25
|
|
27
26
|
There are two main modes, interactive and autowatch mode. You can configure it in the config file by changing the autowatch paramter to true or false.
|
28
27
|
|
29
28
|
1. Autowatch Mode: Runs continously checking your github for events every X minutes which is configured by setting the frequency in the config file
|
30
|
-
2. Interative Mode: Runs once and
|
29
|
+
2. Interative Mode: Runs once and exits, good if you just want to run it once at the end of the day or would rather use cron to schedule it.
|
31
30
|
|
32
31
|
|
data/githabit.gemspec
CHANGED
@@ -19,9 +19,9 @@ Gem::Specification.new do |spec|
|
|
19
19
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
20
20
|
spec.require_paths = ["lib"]
|
21
21
|
|
22
|
-
spec.
|
23
|
-
spec.
|
24
|
-
spec.
|
25
|
-
spec.
|
26
|
-
spec.
|
22
|
+
spec.add_dependency "bundler", "~> 1.8"
|
23
|
+
spec.add_dependency "rake", "~> 10.0"
|
24
|
+
spec.add_dependency "rest-client", "~> 1.8"
|
25
|
+
spec.add_dependency "github_api", "~> 0.12.3"
|
26
|
+
spec.add_dependency "habitrpg_api", "~> 0.0.1"
|
27
27
|
end
|
data/lib/githabit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: githabit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Morgan Kesler
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -17,7 +17,7 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.8'
|
20
|
-
type: :
|
20
|
+
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '10.0'
|
34
|
-
type: :
|
34
|
+
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
@@ -45,7 +45,7 @@ dependencies:
|
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.8'
|
48
|
-
type: :
|
48
|
+
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
@@ -59,7 +59,7 @@ dependencies:
|
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: 0.12.3
|
62
|
-
type: :
|
62
|
+
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
@@ -73,7 +73,7 @@ dependencies:
|
|
73
73
|
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: 0.0.1
|
76
|
-
type: :
|
76
|
+
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.4.
|
132
|
+
rubygems_version: 2.4.8
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: Automatically awards for tasks in HabitRPG based on github events.
|