bubs 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +3 -0
  3. data/bin/bubs +5 -1
  4. data/bubs.gemspec +2 -2
  5. data/lib/bubs.rb +2 -2
  6. metadata +9 -11
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 4cdd0b8012b33507d64c37a33822c8dd820b03cb
4
+ data.tar.gz: 71ceac7351430c03716930c05926673f59fd5e23
5
+ SHA512:
6
+ metadata.gz: 112732cd2aff015f6192d27c397652e5a44b488de4c99f5a37038db0f5c55d24af4de42b7d029631e0c30e4ca16dc698be158479c392db49d77b16e7a85a8fad
7
+ data.tar.gz: 56064de498b0ef8a7df515e609390f0e206a97e000cbd33cdaf1a3344cf0903a909ed23929394fe6f74fbe22c9c6be8045ebdfb30b15154da677ea481cd9d296
data/README.md CHANGED
@@ -8,6 +8,9 @@ your commit messages- your coworkers will love you.
8
8
  $ bubs BUBS IS THE BEST
9
9
  ⒷⓊⒷⓈ ⒾⓈ ⓉⒽⒺ ⒷⒺⓈⓉ
10
10
 
11
+ $ bubs --loud bubs gets shouty
12
+ ⒷⓊⒷⓈ ⒼⒺⓉⓈ ⓈⒽⓄⓊⓉⓎ
13
+
11
14
  It also copies it to your clipboard for easy pasting. That's it.
12
15
 
13
16
  ## ⒾⓃⓈⓉⒶⓁⓁ
data/bin/bubs CHANGED
@@ -5,7 +5,11 @@ require 'bubs'
5
5
  if $stdin.stat.size > 0
6
6
  args = $stdin.read
7
7
  else
8
- args = ARGV.join(' ')
8
+ if ARGV.delete("--loud") || ARGV.delete("-l")
9
+ args = ARGV.join(' ').upcase
10
+ else
11
+ args = ARGV.join(' ')
12
+ end
9
13
  end
10
14
 
11
15
  abort(Bubs.convert(Bubs::VERSION)) if args == "--version" || args == "-v"
@@ -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.3'
17
- s.date = '2013-06-20'
16
+ s.version = '0.0.4'
17
+ s.date = '2015-06-03'
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.3'
3
+ VERSION = '0.0.4'
4
4
 
5
5
  # Convert words to ⓌⓄⓇⒹⓈ.
6
6
  #
@@ -20,6 +20,6 @@ class Bubs
20
20
  'xclip'
21
21
  end
22
22
 
23
- copycmd && `printf "#{text}" | #{copycmd}`
23
+ copycmd && system("printf \"#{text}\" | #{copycmd}")
24
24
  end
25
25
  end
metadata CHANGED
@@ -1,17 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bubs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
5
- prerelease:
4
+ version: 0.0.4
6
5
  platform: ruby
7
6
  authors:
8
7
  - Zach Holman
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-06-20 00:00:00.000000000 Z
11
+ date: 2015-06-03 00:00:00.000000000 Z
13
12
  dependencies: []
14
- description: Ⓐ ⓁⓄⓉ ⓄⒻ ⒷⓊⒷⒷⓁⒺⓈ
13
+ description: "Ⓐ ⓁⓄⓉ ⓄⒻ ⒷⓊⒷⒷⓁⒺⓈ"
15
14
  email: zach@zachholman.com
16
15
  executables:
17
16
  - bubs
@@ -28,27 +27,26 @@ files:
28
27
  - lib/bubs.rb
29
28
  homepage: https://github.com/holman/bubs
30
29
  licenses: []
30
+ metadata: {}
31
31
  post_install_message:
32
32
  rdoc_options:
33
- - --charset=UTF-8
33
+ - "--charset=UTF-8"
34
34
  require_paths:
35
35
  - lib
36
36
  required_ruby_version: !ruby/object:Gem::Requirement
37
- none: false
38
37
  requirements:
39
- - - ! '>='
38
+ - - ">="
40
39
  - !ruby/object:Gem::Version
41
40
  version: '0'
42
41
  required_rubygems_version: !ruby/object:Gem::Requirement
43
- none: false
44
42
  requirements:
45
- - - ! '>='
43
+ - - ">="
46
44
  - !ruby/object:Gem::Version
47
45
  version: '0'
48
46
  requirements: []
49
47
  rubyforge_project: bubs
50
- rubygems_version: 1.8.23
48
+ rubygems_version: 2.4.5
51
49
  signing_key:
52
50
  specification_version: 2
53
- summary: ⒷⓊⒷⒷⓁⒺⓈ
51
+ summary: "ⒷⓊⒷⒷⓁⒺⓈ"
54
52
  test_files: []