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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3925dbe17b9ca29d35f0dd0295bb9173d39b06c
4
- data.tar.gz: de351ed015171c80d3387f55315766c1d3144c6d
3
+ metadata.gz: eec5e1421d2eea8c41cedb8fcb026468f01c17e7
4
+ data.tar.gz: ebc9fa368a928025562770f682091ca740958089
5
5
  SHA512:
6
- metadata.gz: 99249309a530bf0a4a3b11522e406879caeae5ff5a011c52271934b252f3a3dd28d7b8cbd5fd8eb19905357327b61252966bdf54e8288e6339b161318493520c
7
- data.tar.gz: acfe3ddc64ac4f3444a74c09c68510b0acaa418c11901a915e63fb22b42cfb305929a6eb5557cc4ce7a29f9c3e4e750d6477518c92414231f142f3a462b43c59
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
@@ -117,6 +117,9 @@ module EPM
117
117
  piece = bits[2..-1]
118
118
  piece = piece.rjust(64,'0')
119
119
  else
120
+ if piece = ("''" || '""')
121
+ piece = ''
122
+ end
120
123
  piece = bits.unpack('c*').map{|s| s.to_s(16)}.join('')
121
124
  piece = piece.ljust(64,'0')
122
125
  end
data/lib/epm/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION = "0.3.3"
1
+ VERSION = "0.3.4"
data/lib/epm-sublime.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
- require ('./epm.rb')
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 args
26
+ print EPM.query(args) + "\n"
24
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: epm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Casey Kuhlman