kazan 0.1.2 → 0.2.0

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: 96026a8e5463c975fead3b5ef6240087e9d74f57
4
- data.tar.gz: 5102d68f764f75ce9b845da5ffaf192d799bf309
3
+ metadata.gz: 3846c4ace058a3d8ee06b61ada6d23ed8da5a210
4
+ data.tar.gz: 62e0a1013667821d5fa8e6e9c7b50a31257a07f1
5
5
  SHA512:
6
- metadata.gz: 9a55d31982a58d64996d7638c24d96671fd982b77a2a539f93c32fc0ff7b9b5d917323a34a56d71194bf32f67a978f5bb760f0e9b2ac3a6631699684c35b11fb
7
- data.tar.gz: ab78615b75dff0d95eb1e8bcaf6f1ab755b11cc03c4766fdf477d5f75aa1738a58da24b33c6aceb6a5058a85d7cb2ab0f0262f0240a30ba092dbb6923e646fc8
6
+ metadata.gz: 10b785355dbd2893b755526f6e9dacaff9740e0d0d7da6181ba5d37c4d2153b21c3674e8a020d2ddaaaaac16d2171dfe0488b7253180e12379ceb21f80e798b8
7
+ data.tar.gz: 004ddd6b81af90cc0f5e67da3ae624cbaf46884ce04a1ee21e04da8df896599473a1e4598bc1e90d4eed467d925eb7109cf1e468b1198946e5dee169e9114194
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 2.3.1
data/bin/kazan CHANGED
@@ -14,6 +14,9 @@ if ARGV.empty?
14
14
  elsif ['-v', '--version'].include? ARGV[0]
15
15
  puts Kazan::VERSION
16
16
  exit 0
17
+ elsif ['ruby'].include?(ARGV[0]) && ['-v', '--version'].include?(ARGV[1])
18
+ puts Kazan::RUBY_PROJECT_VERSION
19
+ exit 0
17
20
  elsif ['rails'].include?(ARGV[0]) && ['-v', '--version'].include?(ARGV[1])
18
21
  puts Kazan::RAILS_VERSION
19
22
  exit 0
@@ -0,0 +1,7 @@
1
+ require 'rails/generators'
2
+
3
+ module Kazan
4
+ class ClockworkGenerator < Rails::Generators::Base
5
+
6
+ end
7
+ end
@@ -0,0 +1,7 @@
1
+ require 'rails/generators'
2
+
3
+ module Kazan
4
+ class SidekiqGenerator < Rails::Generators::Base
5
+
6
+ end
7
+ end
data/lib/kazan/version.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  module Kazan
2
- VERSION = '0.1.2'.freeze
2
+ VERSION = '0.2.0'.freeze
3
3
  RAILS_VERSION = '~> 5.0.0'.freeze
4
+ RUBY_PROJECT_VERSION = IO.read("#{File.dirname(__FILE__)}/../../.ruby-version").strip.freeze
4
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kazan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marat Khusnetdinov
@@ -78,6 +78,7 @@ extra_rdoc_files:
78
78
  files:
79
79
  - ".gitignore"
80
80
  - ".rspec"
81
+ - ".ruby-version"
81
82
  - ".travis.yml"
82
83
  - Gemfile
83
84
  - LICENSE
@@ -91,6 +92,8 @@ files:
91
92
  - lib/kazan/actions.rb
92
93
  - lib/kazan/app_builder.rb
93
94
  - lib/kazan/generators/app_generator.rb
95
+ - lib/kazan/generators/clockwork_generator.rb
96
+ - lib/kazan/generators/sidekiq_generator.rb
94
97
  - lib/kazan/version.rb
95
98
  - spec/kazan_spec.rb
96
99
  - spec/project_spec.rb