epm 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +1 -1
- data/lib/epm/utils.rb +3 -0
- data/lib/epm/version.rb +1 -1
- data/lib/epm-sublime.rb +8 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eec5e1421d2eea8c41cedb8fcb026468f01c17e7
|
4
|
+
data.tar.gz: ebc9fa368a928025562770f682091ca740958089
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6b8f8b4587c4084292611cc43d53ad0e17290f07c507cd193103ec7c2381d4512b3fc38f5e9e261ccd1bf217a749eddbee391b8307e6a4ff02f161a624cbf8c
|
7
|
+
data.tar.gz: 2cfcfe5ff718b4a13b9de8df93824875232c2fb00fc3856bdd46624fdc0d68e1fd194929f9b00c6d5cf0edccfead29329c9b576b7778f091765ef462e3232645
|
data/Rakefile
CHANGED
@@ -5,7 +5,7 @@ desc "Update Sublime Package"
|
|
5
5
|
task :sublime do
|
6
6
|
Dir.chdir(File.dirname(__FILE__))
|
7
7
|
pkg = ENV['HOME'] + "/sites/sublime/EPM/"
|
8
|
-
FileUtils.cp_r( File.dirname(__FILE__), pkg )
|
8
|
+
FileUtils.cp_r( File.dirname(__FILE__) + "/lib", pkg )
|
9
9
|
Dir.chdir(pkg)
|
10
10
|
message = "Package updated at reflect changes in new Gem version at #{Time.now}."
|
11
11
|
system "git add -A"
|
data/lib/epm/utils.rb
CHANGED
data/lib/epm/version.rb
CHANGED
@@ -1 +1 @@
|
|
1
|
-
VERSION = "0.3.
|
1
|
+
VERSION = "0.3.4"
|
data/lib/epm-sublime.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
require
|
2
|
+
require 'epm.rb'
|
3
3
|
|
4
4
|
args = ARGV
|
5
5
|
command = ARGV.shift
|
@@ -12,13 +12,16 @@ when 'stop'
|
|
12
12
|
when 'restart'
|
13
13
|
EPM.restart
|
14
14
|
when 'compile'
|
15
|
-
EPM.compile args
|
15
|
+
result = EPM.compile args
|
16
|
+
result.each{|l| print l + "\n"}
|
16
17
|
when 'create'
|
17
|
-
EPM.create args
|
18
|
+
result = EPM.create args
|
19
|
+
result.each{|l| print l + "\n"}
|
18
20
|
when 'deploy'
|
19
|
-
EPM.deploy args
|
21
|
+
result = EPM.deploy args
|
22
|
+
result.each{|l| print l + "\n"}
|
20
23
|
when 'transact'
|
21
24
|
EPM.transact args
|
22
25
|
when 'query'
|
23
|
-
EPM.query
|
26
|
+
print EPM.query(args) + "\n"
|
24
27
|
end
|