bubs 0.0.4 → 0.0.5

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bubs.gemspec +2 -2
  3. data/lib/bubs.rb +4 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4cdd0b8012b33507d64c37a33822c8dd820b03cb
4
- data.tar.gz: 71ceac7351430c03716930c05926673f59fd5e23
3
+ metadata.gz: f4896fb411f285f1398302bb9f8d080fa4c9c558
4
+ data.tar.gz: 7095fd1707bb4814ba7714de34c7feb678da9c8f
5
5
  SHA512:
6
- metadata.gz: 112732cd2aff015f6192d27c397652e5a44b488de4c99f5a37038db0f5c55d24af4de42b7d029631e0c30e4ca16dc698be158479c392db49d77b16e7a85a8fad
7
- data.tar.gz: 56064de498b0ef8a7df515e609390f0e206a97e000cbd33cdaf1a3344cf0903a909ed23929394fe6f74fbe22c9c6be8045ebdfb30b15154da677ea481cd9d296
6
+ metadata.gz: 75cc5c787634f5c16fa2264fba7c0f761e67f7712963bf748612a24c06f122320e4a619bd6bae97678d61e7732f69665cff24efb9d8d5432650420c1687360c9
7
+ data.tar.gz: 9b1605d1dd1a67bc62131837caf128ff925b034461a88b1554cc1c02a6fe83cd2c7475e886c25e6ccd0fe253a56667978cb79245e48047c1b53f6e25c2540549
@@ -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.4'
17
- s.date = '2015-06-03'
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
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  class Bubs
3
- VERSION = '0.0.4'
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
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-03 00:00:00.000000000 Z
11
+ date: 2015-06-05 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: "Ⓐ ⓁⓄⓉ ⓄⒻ ⒷⓊⒷⒷⓁⒺⓈ"
14
14
  email: zach@zachholman.com