marv 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/marv/server/actions.rb +9 -6
- data/marv.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d718b7102919a456969df50491e8e6942ee8604
|
4
|
+
data.tar.gz: a9d4947f385d7f48c55856ff41744782388eceb7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6f1529557890104d3ffd6ba8a5e92556067d4b12dac30c1697e910dba5b7d037e575e990a9d686a8858f6db4e7022ed81150e67f9337c8de5da0a708bbd9984b
|
7
|
+
data.tar.gz: 41537883293c8e765d3fe28420af0a1061aa9a157718ff8fbdfda85bdb60d1fc5d722e248b1dab1c7d99f404677cdb39125ccfb5932cb0817679b939096493a9
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.6.
|
1
|
+
0.6.3
|
data/lib/marv/server/actions.rb
CHANGED
@@ -34,7 +34,7 @@ module Marv
|
|
34
34
|
pid_file = ::File.join(@path, 'php.pid')
|
35
35
|
|
36
36
|
begin
|
37
|
-
if File.exists?(pid_file)
|
37
|
+
if ::File.exists?(pid_file)
|
38
38
|
pid = ::File.read(pid_file).to_i
|
39
39
|
|
40
40
|
::Process.kill('KILL', pid)
|
@@ -113,12 +113,15 @@ module Marv
|
|
113
113
|
|
114
114
|
# Check if port is available
|
115
115
|
def is_server_running?(server=@server)
|
116
|
-
pid_file = ::File.join(server.path, 'php.pid')
|
117
|
-
pid = ::File.read(pid_file).to_i
|
118
|
-
|
119
116
|
begin
|
120
|
-
::
|
121
|
-
|
117
|
+
pid_file = ::File.join(server.path, 'php.pid')
|
118
|
+
|
119
|
+
if ::File.exists?(pid_file)
|
120
|
+
pid = ::File.read(pid_file).to_i
|
121
|
+
|
122
|
+
::Process.kill(0, pid)
|
123
|
+
return true
|
124
|
+
end
|
122
125
|
rescue Errno::EPERM, Errno::ESRCH
|
123
126
|
return false
|
124
127
|
end
|
data/marv.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: marv 0.6.
|
5
|
+
# stub: marv 0.6.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "marv"
|
9
|
-
s.version = "0.6.
|
9
|
+
s.version = "0.6.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Jonian Guveli", "Olibia Tsati"]
|
14
|
-
s.date = "2015-04-
|
14
|
+
s.date = "2015-04-12"
|
15
15
|
s.description = "A toolkit for bootstrapping and developing WordPress themes and plugins using Sass, LESS, and CoffeeScript."
|
16
16
|
s.email = "info@hardpixel.eu"
|
17
17
|
s.executables = ["marv"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: marv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonian Guveli
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-04-
|
12
|
+
date: 2015-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|