boop 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0f4c87524f47ea081a222046b022122e28731a5b
4
- data.tar.gz: 2c4e8d48b08b4cbcd670db1cb7f5393e7fabc4b0
3
+ metadata.gz: 434c913d0f202900127d116a9e4b3da2ae233b4d
4
+ data.tar.gz: a1c3ee92650f0538470fb8d3b7f48b38179f7845
5
5
  SHA512:
6
- metadata.gz: 2f33da0c41e66380effd4dc3ee48f90643fa3566bfc4c66431bef6755300ca8caac64158349f5370f44e5256933427b202c3bfbf860580e762cbc1f3865a65a8
7
- data.tar.gz: 46e35467b48b48276061904cf77e88b70e7360118f2f6f161c646a609bdffc2f3ea069bf6d169d288599b26e23e6b2b7eec6c3abf896b4182ec5e3dc6769e5af
6
+ metadata.gz: 070ab65fa8f4d12fd018c7cc29dd360d7f8e10870df8e88c443a7e1533190ad75ce3b024574128db55bb36d8df9cc523104add49c489f782c1c30f7afbc50396
7
+ data.tar.gz: f3c1e8841526d02b8c3b0fc7f9402a4c90976bf7b11ecba837bbf156ac4dcef77c619b24b9f5426d318ea9d0009f0d0b61611f87cd679b79601d383b49c64bd8
data/README.md CHANGED
@@ -18,6 +18,12 @@ Or install it yourself as:
18
18
 
19
19
  $ gem install boop
20
20
 
21
+ ## Configuration
22
+
23
+ * The directory `~/.boop` should be a git repository.
24
+ * The environment variable `BOOP_URL` should be a URL that points to the
25
+ contents of the repository.
26
+
21
27
  ## Usage
22
28
 
23
29
  ```
data/exe/boop CHANGED
@@ -11,7 +11,6 @@ def print_usage!
11
11
  exit 1
12
12
  end
13
13
 
14
-
15
14
  if ARGV.include?('--help') || ARGV.include?('-h') || ARGV.length > 2
16
15
  print_usage!
17
16
  end
@@ -29,7 +28,7 @@ command ||= :paste
29
28
 
30
29
  boop = Boop.new(ENV['BOOP_URL'], "~/.boop")
31
30
 
32
- case command
31
+ case command.to_sym
33
32
  when :html, :paste
34
33
  boop.send(command, name, $stdin.read)
35
34
  else
data/lib/boop.rb CHANGED
@@ -30,7 +30,6 @@ class Boop
30
30
  print_url(filename)
31
31
  end
32
32
 
33
- # TODO: Have commit message contain /p/blah or /h/blah, instead of just "blah".
34
33
  def commit_and_push!(filename)
35
34
  Dir.chdir(@repo_dir) do
36
35
  `git add #{filename} >/dev/null`
data/lib/boop/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Boop
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ellen Marie Dash