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 +4 -4
- data/README.md +6 -0
- data/exe/boop +1 -2
- data/lib/boop.rb +0 -1
- data/lib/boop/version.rb +1 -1
- 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: 434c913d0f202900127d116a9e4b3da2ae233b4d
|
4
|
+
data.tar.gz: a1c3ee92650f0538470fb8d3b7f48b38179f7845
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/lib/boop/version.rb
CHANGED