pyonnuka 0.1.2 → 0.1.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: 64fb05aa66d43a371c56bfbf3311716488d912aa
4
- data.tar.gz: 2feb9e82ef94484f47402680649fe79208682d88
3
+ metadata.gz: da58c868167a9424713b29a2d2e10eb328d14638
4
+ data.tar.gz: e14e7432186bdd7d1ad240f9727db80c1cad0301
5
5
  SHA512:
6
- metadata.gz: 2cf8c75af7a61055fc4a9fc24c388c01e30ad4466434ff45dda5bf7f9820f00ff298216ed2a6980d23e61e94e856ed5282f7ff191c9b815d4805183d8671f295
7
- data.tar.gz: afc59ddfb3f2a16fd2ed5d1f3a2413fc663079aeec2458dd4aab4d0e889d08f59ed7f88e3c8a9de958a2b2508c64aa488b76153ecc7a62c89adc1064fc8cbac5
6
+ metadata.gz: a8fcac64e8a9aaef6efabf041f980995b8e61731b853624362e1ccbc61c7eed7c25367248c3ddeefcf7b7519c4c7ef910d3aba09894b5519d9abef930cf44b67
7
+ data.tar.gz: 584a2f04c94324fc5d1a414084cbfc6ef777b18925a36201e6f23b9f375497fb0d3bf76feeab93612a0b5da2345159e3e22f5a7f994cd042eea2bfaaa3760628
data/.gitignore CHANGED
@@ -1,5 +1,5 @@
1
1
  *.gem
2
-
2
+ /.idea/
3
3
  /.bundle/
4
4
  /.yardoc
5
5
  /Gemfile.lock
data/README.md CHANGED
@@ -2,8 +2,6 @@
2
2
 
3
3
  Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/pyonnuka`. To experiment with that code, run `bin/console` for an interactive prompt.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
6
-
7
5
  ## Installation
8
6
 
9
7
  Add this line to your application's Gemfile:
@@ -22,7 +20,7 @@ Or install it yourself as:
22
20
 
23
21
  ## Usage
24
22
 
25
- TODO: Write usage instructions here
23
+ $ pyonnuka new YourProject
26
24
 
27
25
  ## Development
28
26
 
@@ -32,7 +30,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
32
30
 
33
31
  ## Contributing
34
32
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/pyonnuka. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
33
+ Bug reports and pull requests are welcome on GitHub at https://github.com/pyonnuka/pyonnuka. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.
36
34
 
37
35
 
38
36
  ## License
data/bin/pyonnuka CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require 'pyonnuka'
4
+ require 'pyonnuka/helpers/commands'
4
5
 
5
6
  case ARGV[0]
6
7
  when 'new'
@@ -9,14 +10,10 @@ when 'new'
9
10
  generator = Pyonnuka::Generators::AppGenerator.new(app_name)
10
11
  generator.start
11
12
  when '-h'
12
- puts <<"EOS"
13
- Example:
14
- pyonnuka new ~/Code/Ruby/taskapp
15
-
16
- This generates a skeletal Pyonnuka installation in ~/Code/Ruby/taskapp.
17
- See the README in the newly created application to get going.
18
- EOS
19
-
13
+ Pyonnuka::Helpers::Commands.out_help
20
14
  when '-v'
21
15
  puts "Pyonnuka #{Pyonnuka::VERSION}"
22
- end
16
+
17
+ else
18
+ Pyonnuka::Helpers::Commands.out_help
19
+ end
@@ -0,0 +1,20 @@
1
+ module Pyonnuka
2
+ module Helpers
3
+ module Commands
4
+ class << self
5
+ def out_help
6
+ puts <<"EOS"
7
+ Example:
8
+ pyonnuka new ~/Code/Ruby/taskapp
9
+
10
+ This generates a skeletal Pyonnuka installation in ~/Code/Ruby/taskapp.
11
+ See the README in the newly created application to get going.
12
+ Pyonnuka options:
13
+ -h # Show this help message
14
+ -v # Show this pyonnuka version
15
+ EOS
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -1,3 +1,3 @@
1
1
  module Pyonnuka
2
- VERSION = "0.1.2"
3
- end
2
+ VERSION = "0.1.3"
3
+ end
data/pyonnuka.gemspec CHANGED
@@ -23,5 +23,6 @@ Gem::Specification.new do |spec|
23
23
  spec.add_development_dependency "rake", "~> 10.0"
24
24
  spec.add_development_dependency "rspec"
25
25
  spec.add_development_dependency "activesupport"
26
+ spec.add_development_dependency "activerecord"
26
27
  spec.add_development_dependency "slim"
27
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pyonnuka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - masaki_nukaga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-21 00:00:00.000000000 Z
11
+ date: 2016-04-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: activerecord
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: slim
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -103,6 +117,7 @@ files:
103
117
  - bin/setup
104
118
  - lib/pyonnuka.rb
105
119
  - lib/pyonnuka/app/app_generator.rb
120
+ - lib/pyonnuka/helpers/commands.rb
106
121
  - lib/pyonnuka/templates/Gemfile
107
122
  - lib/pyonnuka/templates/app/views/welcome/index.html.slim
108
123
  - lib/pyonnuka/templates/config.ru