php_process 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +0 -1
- data/VERSION +1 -1
- data/lib/php_process.rb +5 -0
- data/php_process.gemspec +2 -5
- metadata +3 -14
data/Gemfile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.10
|
data/lib/php_process.rb
CHANGED
@@ -10,6 +10,11 @@ require "open3"
|
|
10
10
|
# print "PID of PHP-process: #{php.func("getmypid")}\n"
|
11
11
|
# print "Explode test: #{php.func("explode", ";", "1;2;3;4;5")}\n"
|
12
12
|
class Php_process
|
13
|
+
#Returns the path to the gem.
|
14
|
+
def self.path
|
15
|
+
return File.realpath(File.dirname(__FILE__))
|
16
|
+
end
|
17
|
+
|
13
18
|
#A hash that contains links between Ruby object IDs and the PHP object IDs. It can be read because the proxy-objects adds their data to it.
|
14
19
|
attr_reader :object_ids
|
15
20
|
|
data/php_process.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{php_process}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.10"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kasper Johansen"]
|
12
|
-
s.date = %q{2012-
|
12
|
+
s.date = %q{2012-08-10}
|
13
13
|
s.description = %q{Spawns a PHP process and proxies calls to it, making it possible to proxy objects and more.}
|
14
14
|
s.email = %q{k@spernj.org}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -48,7 +48,6 @@ Gem::Specification.new do |s|
|
|
48
48
|
s.add_development_dependency(%q<rdoc>, ["~> 3.12"])
|
49
49
|
s.add_development_dependency(%q<bundler>, [">= 1.0.0"])
|
50
50
|
s.add_development_dependency(%q<jeweler>, ["~> 1.8.3"])
|
51
|
-
s.add_development_dependency(%q<rcov>, [">= 0"])
|
52
51
|
else
|
53
52
|
s.add_dependency(%q<php-serialize4ruby>, [">= 0"])
|
54
53
|
s.add_dependency(%q<wref>, [">= 0"])
|
@@ -57,7 +56,6 @@ Gem::Specification.new do |s|
|
|
57
56
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
58
57
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
59
58
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
60
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
61
59
|
end
|
62
60
|
else
|
63
61
|
s.add_dependency(%q<php-serialize4ruby>, [">= 0"])
|
@@ -67,7 +65,6 @@ Gem::Specification.new do |s|
|
|
67
65
|
s.add_dependency(%q<rdoc>, ["~> 3.12"])
|
68
66
|
s.add_dependency(%q<bundler>, [">= 1.0.0"])
|
69
67
|
s.add_dependency(%q<jeweler>, ["~> 1.8.3"])
|
70
|
-
s.add_dependency(%q<rcov>, [">= 0"])
|
71
68
|
end
|
72
69
|
end
|
73
70
|
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: php_process
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.0.
|
5
|
+
version: 0.0.10
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Kasper Johansen
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2012-
|
13
|
+
date: 2012-08-10 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
@@ -90,17 +90,6 @@ dependencies:
|
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: *id007
|
93
|
-
- !ruby/object:Gem::Dependency
|
94
|
-
name: rcov
|
95
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
96
|
-
none: false
|
97
|
-
requirements:
|
98
|
-
- - ">="
|
99
|
-
- !ruby/object:Gem::Version
|
100
|
-
version: "0"
|
101
|
-
type: :development
|
102
|
-
prerelease: false
|
103
|
-
version_requirements: *id008
|
104
93
|
description: Spawns a PHP process and proxies calls to it, making it possible to proxy objects and more.
|
105
94
|
email: k@spernj.org
|
106
95
|
executables: []
|
@@ -138,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
138
127
|
requirements:
|
139
128
|
- - ">="
|
140
129
|
- !ruby/object:Gem::Version
|
141
|
-
hash: -
|
130
|
+
hash: -2945607344719233429
|
142
131
|
segments:
|
143
132
|
- 0
|
144
133
|
version: "0"
|