copyrb 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/copyrb.gemspec +1 -1
- data/lib/copyrb.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
data/copyrb.gemspec
CHANGED
data/lib/copyrb.rb
CHANGED
@@ -2,7 +2,7 @@ require 'yaml'
|
|
2
2
|
require 'base64'
|
3
3
|
|
4
4
|
def copy(obj)
|
5
|
-
text = Base64.encode64(YAML.dump(obj)).gsub("\n", '') # getting rid of
|
5
|
+
text = Base64.encode64(YAML.dump(obj)).gsub("\n", '') # getting rid of meaningless new lines
|
6
6
|
IO.popen('pbcopy', 'r+') { |clipboard| clipboard.puts text }
|
7
7
|
end
|
8
8
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: copyrb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 25
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 3
|
10
|
+
version: 0.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Milan Dobrota
|