oplop 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/oplop/cli.rb +2 -2
  2. data/lib/oplop/version.rb +1 -1
  3. metadata +9 -9
@@ -35,9 +35,9 @@ HELP
35
35
 
36
36
  def self.copy_to_clipboard(string)
37
37
  if (copy_program = `which pbcopy`) && !copy_program.empty?
38
- system("echo #{string} | #{copy_program}")
38
+ system("echo -n #{string} | #{copy_program}")
39
39
  elsif (copy_program = `which xclip`) && !copy_program.empty?
40
- system("echo #{string} | #{copy_program}")
40
+ system("echo -n #{string} | #{copy_program}")
41
41
  end
42
42
  end
43
43
 
@@ -1,3 +1,3 @@
1
1
  module Oplop
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oplop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease: !!null
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable: !!null
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: highline
17
- requirement: &73375820 !ruby/object:Gem::Requirement
17
+ requirement: &70021810 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 1.6.1
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *73375820
25
+ version_requirements: *70021810
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: ruby-debug19
28
- requirement: &73419340 !ruby/object:Gem::Requirement
28
+ requirement: &70021600 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *73419340
36
+ version_requirements: *70021600
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &73419060 !ruby/object:Gem::Requirement
39
+ requirement: &70021320 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 2.6.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *73419060
47
+ version_requirements: *70021320
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: yajl-ruby
50
- requirement: &73418800 !ruby/object:Gem::Requirement
50
+ requirement: &70021060 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: 0.8.2
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *73418800
58
+ version_requirements: *70021060
59
59
  description: Provides a ruby library and command line tool for Oplop
60
60
  email:
61
61
  - brian@vermonster.com