rib_fix 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/run_in_background/version.rb +1 -1
- metadata +8 -10
- data/ext/run_in_background/mkrf_conf.rb +0 -34
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rib_fix
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-10-14 00:00:00.000000000Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: log
|
16
|
-
requirement: &
|
16
|
+
requirement: &11702980 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *11702980
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: params
|
27
|
-
requirement: &
|
27
|
+
requirement: &11702540 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *11702540
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: daemons
|
38
|
-
requirement: &
|
38
|
+
requirement: &11702120 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,21 +43,19 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *11702120
|
47
47
|
description: ! 'This library provides a basic cross-platform functionality to runarbitrary
|
48
48
|
ruby scripts in background and control them.Supported platforms: Windows, Linux,
|
49
49
|
Mac.'
|
50
50
|
email: nukegluk@gmail.com
|
51
51
|
executables: []
|
52
|
-
extensions:
|
53
|
-
- ext/run_in_background/mkrf_conf.rb
|
52
|
+
extensions: []
|
54
53
|
extra_rdoc_files: []
|
55
54
|
files:
|
56
55
|
- lib/run_in_background.rb
|
57
56
|
- lib/run_in_background/version.rb
|
58
57
|
- test/run_in_background/test_app
|
59
58
|
- test/run_in_background/run_in_background_test.rb
|
60
|
-
- ext/run_in_background/mkrf_conf.rb
|
61
59
|
homepage: http://github.com/kolmanv/bbfs
|
62
60
|
licenses: []
|
63
61
|
post_install_message:
|
@@ -1,34 +0,0 @@
|
|
1
|
-
# This extension used to install platform specific gem dependencies
|
2
|
-
# for more information:
|
3
|
-
# http://stackoverflow.com/questions/4596606/rubygems-how-do-i-add-platform-specific-dependency/10249133#10249133
|
4
|
-
# https://github.com/openshift/os-client-tools/blob/master/express/ext/mkrf_conf.rb
|
5
|
-
|
6
|
-
require 'rubygems'
|
7
|
-
require 'rubygems/command.rb'
|
8
|
-
require 'rubygems/dependency_installer.rb'
|
9
|
-
#begin
|
10
|
-
#Gem::Command.build_args = ARGV
|
11
|
-
#rescue NoMethodError
|
12
|
-
#end
|
13
|
-
inst = Gem::DependencyInstaller.new
|
14
|
-
begin
|
15
|
-
if Gem::win_platform?
|
16
|
-
if Gem::Specification.find_all_by_name('sys-uname').empty?
|
17
|
-
inst.install 'sys-uname'
|
18
|
-
end
|
19
|
-
if Gem::Specification.find_all_by_name('win32-service').empty?
|
20
|
-
inst.install 'win32-service'
|
21
|
-
end
|
22
|
-
else
|
23
|
-
if Gem::Specification.find_all_by_name('daemons').empty?
|
24
|
-
inst.install 'daemons'
|
25
|
-
end
|
26
|
-
end
|
27
|
-
rescue Exception => e
|
28
|
-
puts e.to_s
|
29
|
-
exit(1)
|
30
|
-
end
|
31
|
-
|
32
|
-
f = File.open(File.join(File.dirname(__FILE__), "Rakefile"), "w") # create dummy rakefile to indicate success
|
33
|
-
f.write("task :default\n")
|
34
|
-
f.close
|