bubs 0.0.5 → 0.0.6

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 +1 -1
  3. data/lib/bubs.rb +3 -3
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f4896fb411f285f1398302bb9f8d080fa4c9c558
4
- data.tar.gz: 7095fd1707bb4814ba7714de34c7feb678da9c8f
3
+ metadata.gz: 36414b2ee2123d56868d47a6c4c7e4d267ca8f22
4
+ data.tar.gz: bc55afc02d7e5fda44c6c92ad78fa789ed4f8cf0
5
5
  SHA512:
6
- metadata.gz: 75cc5c787634f5c16fa2264fba7c0f761e67f7712963bf748612a24c06f122320e4a619bd6bae97678d61e7732f69665cff24efb9d8d5432650420c1687360c9
7
- data.tar.gz: 9b1605d1dd1a67bc62131837caf128ff925b034461a88b1554cc1c02a6fe83cd2c7475e886c25e6ccd0fe253a56667978cb79245e48047c1b53f6e25c2540549
6
+ metadata.gz: 9e301ecde32ce055191e050e1a16a44e20f06596697953acdfc262bdce96516a609fc4a64f17d71d7b33b934f4874840a91c626e850d548a35a6550b0bb0130d
7
+ data.tar.gz: 20c4a38deb30cc389c9b4ed032194c42d86d6b3c90bfc83efbec129a7bd52e95fbaa543cc5659512f104df873a9af319d41e35c688d78bb452b72c17eefdb708
@@ -13,7 +13,7 @@ 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.5'
16
+ s.version = '0.0.6'
17
17
  s.date = '2015-06-05'
18
18
  s.rubyforge_project = 'bubs'
19
19
 
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  class Bubs
3
- VERSION = '0.0.5'
3
+ VERSION = '0.0.6'
4
4
 
5
5
  # Convert words to ⓌⓄⓇⒹⓈ.
6
6
  #
@@ -18,10 +18,10 @@ class Bubs
18
18
  'pbcopy'
19
19
  when /linux/
20
20
  'xclip'
21
- when /windows/
22
- 'clip'
23
21
  end
24
22
 
23
+ system("powershell -Command '\"#{text}\"' | clip") if RUBY_PLATFORM =~ /mswin/
24
+
25
25
  copycmd && system("printf \"#{text}\" | #{copycmd}")
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bubs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zach Holman