epm 0.3.1 → 0.3.3

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: 71968fbf0b3c65f40ed5f98a9340c3de0b6c9f57
4
- data.tar.gz: d8be28a9138e03c27ade4091e79aa6c4558ef3a3
3
+ metadata.gz: a3925dbe17b9ca29d35f0dd0295bb9173d39b06c
4
+ data.tar.gz: de351ed015171c80d3387f55315766c1d3144c6d
5
5
  SHA512:
6
- metadata.gz: b63fc02ea393ff5a9d09590231193b41daa16756e792c627936a27375996e4692df19b807e50dc3e783adf17386c0ee72cb30ea0b0161772c08861f6b1113438
7
- data.tar.gz: c7cff450ec22cc08ea6a98e509127ffdf8b4313f8c129a292a3f0422f5b858fdbb52c18769054ce8a22a233f77d45fc22cce12bf02464bfa4d4f5ed519dcc40d
6
+ metadata.gz: 99249309a530bf0a4a3b11522e406879caeae5ff5a011c52271934b252f3a3dd28d7b8cbd5fd8eb19905357327b61252966bdf54e8288e6339b161318493520c
7
+ data.tar.gz: acfe3ddc64ac4f3444a74c09c68510b0acaa418c11901a915e63fb22b42cfb305929a6eb5557cc4ce7a29f9c3e4e750d6477518c92414231f142f3a462b43c59
data/Rakefile CHANGED
@@ -1,2 +1,16 @@
1
1
  require 'bundler'
2
2
  Bundler::GemHelper.install_tasks
3
+
4
+ desc "Update Sublime Package"
5
+ task :sublime do
6
+ Dir.chdir(File.dirname(__FILE__))
7
+ pkg = ENV['HOME'] + "/sites/sublime/EPM/"
8
+ FileUtils.cp_r( File.dirname(__FILE__), pkg )
9
+ Dir.chdir(pkg)
10
+ message = "Package updated at reflect changes in new Gem version at #{Time.now}."
11
+ system "git add -A"
12
+ system "git commit -m #{message.shellescape}"
13
+ system "git push github master"
14
+ system "git push wsl master"
15
+ Dir.chdir(File.dirname(__FILE__))
16
+ end
data/bin/epm CHANGED
@@ -1,11 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
- #
3
- # == USAGE
4
- # epm subcommand [file]
5
- require '../lib/epm.rb'
6
- # args = ARGV
7
- # EPM::parse args
8
2
 
3
+ require File.join(File.dirname(__FILE__), '..', 'lib', 'epm.rb')
9
4
  require 'commander/import'
10
5
 
11
6
  program :version, EPM.version
data/lib/epm/version.rb CHANGED
@@ -1 +1 @@
1
- VERSION = "0.3.1"
1
+ VERSION = "0.3.3"
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env ruby
2
+ require ('./epm.rb')
3
+
4
+ args = ARGV
5
+ command = ARGV.shift
6
+
7
+ case command
8
+ when 'start'
9
+ EPM.start
10
+ when 'stop'
11
+ EPM.stop
12
+ when 'restart'
13
+ EPM.restart
14
+ when 'compile'
15
+ EPM.compile args
16
+ when 'create'
17
+ EPM.create args
18
+ when 'deploy'
19
+ EPM.deploy args
20
+ when 'transact'
21
+ EPM.transact args
22
+ when 'query'
23
+ EPM.query args
24
+ 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.1
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Casey Kuhlman
@@ -40,6 +40,7 @@ files:
40
40
  - Rakefile
41
41
  - bin/epm
42
42
  - epm.gemspec
43
+ - lib/epm-sublime.rb
43
44
  - lib/epm.rb
44
45
  - lib/epm/compile.rb
45
46
  - lib/epm/create.rb