commitphotos 0.0.1 → 0.0.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9ad99db4cc45350c59a76c3fb510f4c6001540ec
4
- data.tar.gz: 4209ed3518f1d94787a40a9da9f4aef825b8cc40
3
+ metadata.gz: 3775bf65a7926c60a406482fc40bf84d8853bd47
4
+ data.tar.gz: fe03d4feae92f3137aa0d2aad57157f8e02a3160
5
5
  SHA512:
6
- metadata.gz: a8b5f526593f162378fd7a923493101f2ee725934584074f127db75f73dc55da285568b54d2a5aac76554c06bbe3ffcf198f386b45543d26bba3476bf36f4089
7
- data.tar.gz: 949b23389b1930e06dd33389b9a3373024bcf6e90848e6d4bbc0a11d811bb0cc063a2b3c7a731fcd264695e46cba34a84be95246e74c41d519836a61d1c6fa48
6
+ metadata.gz: 60fff833d3d84d716019ce24c05171c8124e6d5603eceb08ee897c931c940c0a201eeaed04cbdbd90b6d10896463602047cc6ce9c1442d1616f395feebf99508
7
+ data.tar.gz: 8afc71e88057d6cbabad258e4c831c9c67367d3a4dc4750773e5dd2429bd00a738e1308d7091937339021402d67298599436acf7f6f03d120d72a1bc4802a5e8
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Commitphotos
2
2
 
3
- TODO: Write a gem description
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
 
@@ -1,3 +1,3 @@
1
1
  class CommitPhoto
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: commitphotos
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Colby Aley