fukung 0.4.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/Rakefile +1 -0
  2. data/bin/fukung +15 -0
  3. data/fukung.gemspec +4 -3
  4. data/lib/fukung.rb +1 -1
  5. metadata +22 -8
data/Rakefile CHANGED
@@ -126,6 +126,7 @@ task :gemspec do
126
126
  spec.test_files = #{ test_files.inspect }
127
127
 
128
128
  # spec.add_dependency 'lib', '>= version'
129
+ spec.add_dependency 'launchy'
129
130
 
130
131
  spec.extensions.push(*#{ extensions.inspect })
131
132
 
@@ -0,0 +1,15 @@
1
+ #! /usr/bin/env ruby
2
+
3
+ require 'shellwords'
4
+
5
+ begin
6
+ require 'rubygems'
7
+ rescue LoadError
8
+ end
9
+
10
+ require 'fukung'
11
+ require 'launchy'
12
+
13
+ url = Shellwords.escape(Fukung.random)
14
+
15
+ Launchy.open(url)
@@ -3,13 +3,13 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "fukung"
6
- spec.version = "0.4.2"
6
+ spec.version = "1.0.0"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "fukung"
9
9
  spec.description = "description: fukung kicks the ass"
10
10
 
11
- spec.files = ["fukung.gemspec", "lib", "lib/fukung.rb", "Rakefile", "README"]
12
- spec.executables = []
11
+ spec.files = ["bin", "bin/fukung", "fukung.gemspec", "lib", "lib/fukung.rb", "Rakefile", "README"]
12
+ spec.executables = ["fukung"]
13
13
 
14
14
  spec.require_path = "lib"
15
15
 
@@ -17,6 +17,7 @@ Gem::Specification::new do |spec|
17
17
  spec.test_files = nil
18
18
 
19
19
  # spec.add_dependency 'lib', '>= version'
20
+ spec.add_dependency 'launchy'
20
21
 
21
22
  spec.extensions.push(*[])
22
23
 
@@ -4,7 +4,7 @@ require 'uri'
4
4
 
5
5
  module Fukung
6
6
  def Fukung.version
7
- '0.4.2'
7
+ '1.0.0'
8
8
  end
9
9
 
10
10
  Host = 'fukung.net'
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fukung
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
+ - 1
7
8
  - 0
8
- - 4
9
- - 2
10
- version: 0.4.2
9
+ - 0
10
+ version: 1.0.0
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ara T. Howard
@@ -17,17 +17,31 @@ cert_chain: []
17
17
 
18
18
  date: 2011-02-11 00:00:00 -07:00
19
19
  default_executable:
20
- dependencies: []
21
-
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: launchy
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :runtime
34
+ version_requirements: *id001
22
35
  description: "description: fukung kicks the ass"
23
36
  email: ara.t.howard@gmail.com
24
- executables: []
25
-
37
+ executables:
38
+ - fukung
26
39
  extensions: []
27
40
 
28
41
  extra_rdoc_files: []
29
42
 
30
43
  files:
44
+ - bin/fukung
31
45
  - fukung.gemspec
32
46
  - lib/fukung.rb
33
47
  - Rakefile