naturecommits 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -0
- data/bin/naturecommits +3 -3
- data/lib/naturecommits/version.rb +1 -1
- metadata +4 -4
data/README.md
CHANGED
@@ -27,6 +27,10 @@ Likewise, you can disable it via `naturecommits --disable`. For a full list of
|
|
27
27
|
|
28
28
|
I have only tested this on Mac, for Windows and Linux instructions please see the original [lolcommits](https://github.com/mroth/lolcommits)
|
29
29
|
|
30
|
+
## Please Note
|
31
|
+
|
32
|
+
I have updated it to work with European bucket locations, this will no longer work with US Buckets. If you want to use US buckets then fork this and remove the line `AWS::S3::DEFAULT_HOST.replace "s3-eu-west-1.amazonaws.com"` from `/lib/naturecommits.rb` and install locally.
|
33
|
+
|
30
34
|
## Configuration
|
31
35
|
For Amazon S3 to work you will need a yaml config file in your root called `naturecommits.yaml`, this sets up your connection to Amazon S3 account. This should be in the format shown below with your amazon access keys, a username (no spaces), and the name of the bucket where the images are to be stored.
|
32
36
|
|
data/bin/naturecommits
CHANGED
@@ -68,7 +68,7 @@ def do_enable
|
|
68
68
|
doc = "#!/bin/sh\nnaturecommits --capture\n"
|
69
69
|
File.open(HOOK_PATH, 'w') {|f| f.write(doc) }
|
70
70
|
FileUtils.chmod 0755, HOOK_PATH
|
71
|
-
puts "installed
|
71
|
+
puts "installed naturecommmit hook as:"
|
72
72
|
puts " -> #{File.expand_path(HOOK_PATH)}"
|
73
73
|
puts "(to remove later, you can use: naturecommits --disable)"
|
74
74
|
# we dont symlink, but rather install a small stub that calls the one from path
|
@@ -124,13 +124,13 @@ Choice.options do
|
|
124
124
|
option :capture do
|
125
125
|
long "--capture"
|
126
126
|
short '-c'
|
127
|
-
desc "capture
|
127
|
+
desc "capture naturecommit based on last git commit"
|
128
128
|
end
|
129
129
|
|
130
130
|
option :last do
|
131
131
|
long "--last"
|
132
132
|
short "-l"
|
133
|
-
desc "view the most recent
|
133
|
+
desc "view the most recent naturecommit"
|
134
134
|
action do
|
135
135
|
Launchy.open NATURECOMMITS.most_recent
|
136
136
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: naturecommits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alex Kilgour
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2012-
|
18
|
+
date: 2012-06-19 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: rake
|