bubs 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bubs.gemspec +2 -2
- data/lib/bubs.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4896fb411f285f1398302bb9f8d080fa4c9c558
|
4
|
+
data.tar.gz: 7095fd1707bb4814ba7714de34c7feb678da9c8f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75cc5c787634f5c16fa2264fba7c0f761e67f7712963bf748612a24c06f122320e4a619bd6bae97678d61e7732f69665cff24efb9d8d5432650420c1687360c9
|
7
|
+
data.tar.gz: 9b1605d1dd1a67bc62131837caf128ff925b034461a88b1554cc1c02a6fe83cd2c7475e886c25e6ccd0fe253a56667978cb79245e48047c1b53f6e25c2540549
|
data/bubs.gemspec
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'bubs'
|
16
|
-
s.version = '0.0.
|
17
|
-
s.date = '2015-06-
|
16
|
+
s.version = '0.0.5'
|
17
|
+
s.date = '2015-06-05'
|
18
18
|
s.rubyforge_project = 'bubs'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
data/lib/bubs.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
class Bubs
|
3
|
-
VERSION = '0.0.
|
3
|
+
VERSION = '0.0.5'
|
4
4
|
|
5
5
|
# Convert words to ⓌⓄⓇⒹⓈ.
|
6
6
|
#
|
@@ -11,13 +11,15 @@ class Bubs
|
|
11
11
|
|
12
12
|
# Copies the text to clipboard
|
13
13
|
#
|
14
|
-
# ... not in windows, tho
|
14
|
+
# ... not in windows xp, tho
|
15
15
|
def self.copy(text)
|
16
16
|
copycmd = case RUBY_PLATFORM
|
17
17
|
when /darwin/
|
18
18
|
'pbcopy'
|
19
19
|
when /linux/
|
20
20
|
'xclip'
|
21
|
+
when /windows/
|
22
|
+
'clip'
|
21
23
|
end
|
22
24
|
|
23
25
|
copycmd && system("printf \"#{text}\" | #{copycmd}")
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bubs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zach Holman
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: "Ⓐ ⓁⓄⓉ ⓄⒻ ⒷⓊⒷⒷⓁⒺⓈ"
|
14
14
|
email: zach@zachholman.com
|