blip 1.0.0 → 1.1.0
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.
- data/README +3 -5
- data/bin/blip +5 -9
- data/blip.gemspec +4 -4
- metadata +5 -15
data/README
CHANGED
data/bin/blip
CHANGED
@@ -1,16 +1,12 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
rescue LoadError
|
6
|
-
require 'rubygems'
|
7
|
-
require 'clipboard'
|
8
|
-
end
|
3
|
+
require 'rubygems' unless defined? Gem
|
4
|
+
require 'clipboard'
|
9
5
|
|
10
|
-
if
|
11
|
-
Clipboard.copy $stdin.read
|
12
|
-
else
|
6
|
+
if $stdin.tty? && $*.empty?
|
13
7
|
puts Clipboard.paste # the trailing new-line is intended ;)
|
8
|
+
else
|
9
|
+
Clipboard.copy ARGF.read
|
14
10
|
end
|
15
11
|
|
16
12
|
# J-_-L
|
data/blip.gemspec
CHANGED
@@ -3,17 +3,17 @@ require 'rubygems' unless defined? Gem
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'blip'
|
6
|
-
s.version = '1.
|
6
|
+
s.version = '1.1.0'
|
7
7
|
|
8
8
|
s.author = 'Jan Lelis'
|
9
|
-
s.date = '2011-
|
9
|
+
s.date = '2011-02-11'
|
10
10
|
s.summary = 'A little command line utility for accessing the clipboard.'
|
11
|
-
s.description = 'A little command line utility for accessing the clipboard: Pipe into blip for copying, simpy call it for pasting.'
|
11
|
+
s.description = 'A little command line utility for accessing the clipboard: Pipe into blip (or pass args) for copying, simpy call it for pasting.'
|
12
12
|
s.email = 'mail@janlelis.de'
|
13
13
|
s.homepage = 'https://gist.github.com/781835'
|
14
|
-
s.rubygems_version = '1.3.7'
|
15
14
|
s.add_dependency 'clipboard'
|
16
15
|
s.files = %w{bin/blip blip.gemspec README}
|
17
16
|
s.executables = %w(blip)
|
18
17
|
s.default_executable = 'blip'
|
18
|
+
s.has_rdoc = false
|
19
19
|
end
|
metadata
CHANGED
@@ -1,12 +1,8 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blip
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
|
6
|
-
- 1
|
7
|
-
- 0
|
8
|
-
- 0
|
9
|
-
version: 1.0.0
|
4
|
+
prerelease:
|
5
|
+
version: 1.1.0
|
10
6
|
platform: ruby
|
11
7
|
authors:
|
12
8
|
- Jan Lelis
|
@@ -14,7 +10,7 @@ autorequire:
|
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
12
|
|
17
|
-
date: 2011-
|
13
|
+
date: 2011-02-11 00:00:00 +01:00
|
18
14
|
default_executable: blip
|
19
15
|
dependencies:
|
20
16
|
- !ruby/object:Gem::Dependency
|
@@ -25,12 +21,10 @@ dependencies:
|
|
25
21
|
requirements:
|
26
22
|
- - ">="
|
27
23
|
- !ruby/object:Gem::Version
|
28
|
-
segments:
|
29
|
-
- 0
|
30
24
|
version: "0"
|
31
25
|
type: :runtime
|
32
26
|
version_requirements: *id001
|
33
|
-
description: "A little command line utility for accessing the clipboard: Pipe into blip for copying, simpy call it for pasting."
|
27
|
+
description: "A little command line utility for accessing the clipboard: Pipe into blip (or pass args) for copying, simpy call it for pasting."
|
34
28
|
email: mail@janlelis.de
|
35
29
|
executables:
|
36
30
|
- blip
|
@@ -56,21 +50,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
56
50
|
requirements:
|
57
51
|
- - ">="
|
58
52
|
- !ruby/object:Gem::Version
|
59
|
-
segments:
|
60
|
-
- 0
|
61
53
|
version: "0"
|
62
54
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
55
|
none: false
|
64
56
|
requirements:
|
65
57
|
- - ">="
|
66
58
|
- !ruby/object:Gem::Version
|
67
|
-
segments:
|
68
|
-
- 0
|
69
59
|
version: "0"
|
70
60
|
requirements: []
|
71
61
|
|
72
62
|
rubyforge_project:
|
73
|
-
rubygems_version: 1.
|
63
|
+
rubygems_version: 1.5.0
|
74
64
|
signing_key:
|
75
65
|
specification_version: 3
|
76
66
|
summary: A little command line utility for accessing the clipboard.
|