jist 1.3.0 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/jist.rb +8 -2
  2. metadata +3 -2
@@ -7,7 +7,7 @@ require 'uri'
7
7
  module Jist
8
8
  extend self
9
9
 
10
- VERSION = '1.3.0'
10
+ VERSION = '1.3.1'
11
11
 
12
12
  # A list of clipboard commands with copy and paste support.
13
13
  CLIPBOARD_COMMANDS = {
@@ -287,7 +287,13 @@ Could not find copy command, tried:
287
287
  elsif RUBY_PLATFORM =~ /darwin/
288
288
  'open'
289
289
  elsif RUBY_PLATFORM =~ /linux/
290
- 'sensible-browser'
290
+ %w(
291
+ sensible-browser
292
+ firefox
293
+ firefox-bin
294
+ ).detect do |cmd|
295
+ which cmd
296
+ end
291
297
  elsif ENV['OS'] == 'Windows_NT' || RUBY_PLATFORM =~ /djgpp|(cyg|ms|bcc)win|mingw|wince/i
292
298
  'start ""'
293
299
  else
metadata CHANGED
@@ -2,14 +2,14 @@
2
2
  name: jist
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.0
5
+ version: 1.3.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Conrad Irwin
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-10 00:00:00.000000000 Z
12
+ date: 2012-12-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  type: :runtime
@@ -121,3 +121,4 @@ signing_key:
121
121
  specification_version: 3
122
122
  summary: Just allows you to upload gists
123
123
  test_files: []
124
+ has_rdoc: