commitphotos 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -2
- data/lib/commitphotos/version.rb +1 -1
- data/lib/commitphotos.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3775bf65a7926c60a406482fc40bf84d8853bd47
|
4
|
+
data.tar.gz: fe03d4feae92f3137aa0d2aad57157f8e02a3160
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60fff833d3d84d716019ce24c05171c8124e6d5603eceb08ee897c931c940c0a201eeaed04cbdbd90b6d10896463602047cc6ce9c1442d1616f395feebf99508
|
7
|
+
data.tar.gz: 8afc71e88057d6cbabad258e4c831c9c67367d3a4dc4750773e5dd2429bd00a738e1308d7091937339021402d67298599436acf7f6f03d120d72a1bc4802a5e8
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Commitphotos
|
2
2
|
|
3
|
-
|
3
|
+
Take a photo or gif of yourself on each commit, and see it on commitphotos.com.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -8,7 +8,11 @@ TODO: Write a gem description
|
|
8
8
|
|
9
9
|
## Usage
|
10
10
|
|
11
|
-
$ commitphotos install (--global)
|
11
|
+
$ commitphotos install (--global) (--video)
|
12
|
+
|
13
|
+
The `--global` option will install commitphotos on all future git repo initializations, clones, etc.
|
14
|
+
|
15
|
+
The `--video` option will upload two-second gifs instead of still images.
|
12
16
|
|
13
17
|
## Contributing
|
14
18
|
|
data/lib/commitphotos/version.rb
CHANGED
data/lib/commitphotos.rb
CHANGED
@@ -31,10 +31,12 @@ class CommitPhoto
|
|
31
31
|
end
|
32
32
|
|
33
33
|
def self.image
|
34
|
+
puts "Say cheese!"
|
34
35
|
Image.new
|
35
36
|
end
|
36
37
|
|
37
38
|
def self.video
|
39
|
+
puts "Say cheese!"
|
38
40
|
Video.new
|
39
41
|
end
|
40
42
|
|
@@ -52,5 +54,7 @@ class CommitPhoto
|
|
52
54
|
message: `git log -1 HEAD --pretty=format:%s`,
|
53
55
|
photo: File.new(file, 'rb')
|
54
56
|
)
|
57
|
+
|
58
|
+
exit
|
55
59
|
end
|
56
60
|
end
|