git-sleep 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +11 -2
  2. data/hooks/pre-commit +1 -1
  3. data/lib/git-sleep.rb +2 -5
  4. metadata +2 -2
data/README.md CHANGED
@@ -1,13 +1,22 @@
1
+ ### TODOS
2
+
3
+ * use their name they gave jawbone, not their env[username]
4
+ * maybe use their ssh public key to identify them, not their jawbone xid? at any rate needs some layer of security. that could be it. actually, wait, that doesn't make sense.
5
+ * finish deploying
6
+ * set up symlinks for application.yml and production.sqlite3
7
+ * remove references to localhost
8
+ * email links to interested parties
9
+
1
10
  # git sleep
2
11
 
3
12
  `gem install git-sleep`
4
13
 
5
14
  to be used in conjunction with [website goes here](#)
6
15
 
7
- ## usage (planned):
16
+ ## usage:
8
17
 
9
18
  `git sleep authorize` will walk you through authorizing with Jawbone
10
19
 
11
20
  `git sleep init` (from within a git repo) will install a git pre-commit hook for you
12
21
 
13
- now when you try to commit to this repo, it will check if you really *should* be committing to this repo
22
+ now when you try to commit to this repo, it will check if you really *should* be committing to this repo
@@ -11,7 +11,7 @@ xid = netrc["gitsleep.com"].first
11
11
  raise "Need to `git sleep authorize`" if xid.nil?
12
12
 
13
13
  response = HTTParty.get(
14
- "http://localhost:3000/api/need_sleep",
14
+ "http://www.gitsleep.com/api/need_sleep",
15
15
  :body => {
16
16
  :xid => xid
17
17
  }
@@ -1,9 +1,6 @@
1
- require 'rubygems'
2
- require 'httparty'
3
-
4
1
  module GitSleep
5
- VERSION = "0.0.16"
6
- LAST_UPDATED = "2013-08-11"
2
+ VERSION = "0.0.17"
3
+ LAST_UPDATED = "2013-08-13"
7
4
  NETRC_PATH = File.expand_path('~/.netrc')
8
5
  OUR_SITE = "http://www.gitsleep.com"
9
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-sleep
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-08-11 00:00:00.000000000 Z
14
+ date: 2013-08-13 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: httparty