jhpy 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/README.md +1 -29
  2. data/bin/jhpy +14 -4
  3. data/lib/jhpy/version.rb +1 -1
  4. metadata +2 -2
data/README.md CHANGED
@@ -1,29 +1 @@
1
- # JHPY
2
-
3
- TODO: Write a gem description
4
-
5
- ## Installation
6
-
7
- Add this line to your application's Gemfile:
8
-
9
- gem 'jhpy'
10
-
11
- And then execute:
12
-
13
- $ bundle
14
-
15
- Or install it yourself as:
16
-
17
- $ gem install jhpy
18
-
19
- ## Usage
20
-
21
- TODO: Write usage instructions here
22
-
23
- ## Contributing
24
-
25
- 1. Fork it
26
- 2. Create your feature branch (`git checkout -b my-new-feature`)
27
- 3. Commit your changes (`git commit -am 'Add some feature'`)
28
- 4. Push to the branch (`git push origin my-new-feature`)
29
- 5. Create new Pull Request
1
+ ###`$ gem install jhpy`
data/bin/jhpy CHANGED
@@ -9,15 +9,19 @@ opt_parser = OptionParser.new do |opt|
9
9
  opt.banner = "Usage: jhpy [options]"
10
10
  opt.separator ""
11
11
  opt.separator "Options"
12
-
12
+
13
+ opt.on("-d", "--deploy") do
14
+ puts "Deploying application..."
15
+ puts `appcfg.py update .`
16
+ end
17
+
13
18
  opt.on("-h", "--help") do
14
19
  puts opt_parser
15
20
  end
16
21
 
17
22
  opt.on("-n", "--new") do
18
- puts ""
19
- puts ""
20
- puts ""
23
+ puts "Creating structure setup..."
24
+ puts "INFO: The structure template is still in development."
21
25
  end
22
26
 
23
27
  opt.on("-q", "--quick") do
@@ -30,6 +34,12 @@ opt_parser = OptionParser.new do |opt|
30
34
  puts `echo "Finished!"`
31
35
  end
32
36
 
37
+ opt.on("-t", "--test") do
38
+ print "Testing application..."
39
+ print `clear`
40
+ print `dev_appserver.py --port=8888 .`
41
+ end
42
+
33
43
  opt.on("-v", "--version") do
34
44
  puts "Version: 1.0"
35
45
  end
@@ -1,3 +1,3 @@
1
1
  module JHPY
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jhpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-20 00:00:00.000000000 Z
12
+ date: 2013-04-21 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: