ruby_storm 0.0.13 → 0.0.14

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: 69a513ab30a7897dba6482a64012ab9ccff552c8
4
- data.tar.gz: e5fa9152836bf1a9691e990f599487d8ae5a8fa9
3
+ metadata.gz: ca1096dd9aad25ec2eba3a72b44cfc4c7bbb6613
4
+ data.tar.gz: fb71dda0b941b6647e150c85714aeea08e7c4edb
5
5
  SHA512:
6
- metadata.gz: 1a62e948fbe98bdbb044f94f965f7e2135736d8490217635741411d7fa7dc98119d0d31e80e0890094dc1a1449ab3fcac61103e67cf263b2a00544d0de35586a
7
- data.tar.gz: 4e16e2d5a3166b6fca05adb64ab86d8fd0b60d895d3dca8c3630413e89e4545f7c8da4c661b9cf1e354f1a1556d66466d860d41380d61603ac2e89c525f5be86
6
+ metadata.gz: 86dfdbdd490d2ccf1af0b3855ada9232382c548554a0148041d134543e75f4ab175ffbfb4a485f4cfc9ecc360292cfea3ed960892d9366be9e1de6f0216585b6
7
+ data.tar.gz: c0bf420a55b9af51f6adf1f3528b31937cb5cf863793ab39a7ad189d6cfb52a843bb028c6b0829393ef618ae179645225252b6508c801831a8d798edab8b4f11
data/bin/storm CHANGED
@@ -33,6 +33,7 @@ module Storm
33
33
  require 'bundler'
34
34
  require 'awesome_print'
35
35
  ::Bundler.require(:default, :development)
36
+ Dir["./*.rb"].each{|file| next if /db\// =~ file; require file }
36
37
  Dir["./**/*.rb"].each{|file| next if /db\// =~ file; require file }
37
38
  end
38
39
 
data/generators/app.rb CHANGED
@@ -5,7 +5,7 @@ module Storm
5
5
  def self.start(args)
6
6
  Storm::connect
7
7
  project_name = File.basename(Dir.pwd)
8
- class_name = Inflector::classify(project_name)
8
+ class_name = Inflector::classify(project_name.gsub("-","_"))
9
9
  Inflector::constantize(class_name).send(ARGV[1], ARGV[2..-1])
10
10
  end
11
11
  end
@@ -1,7 +1,7 @@
1
1
  module Storm
2
2
  class Version
3
3
  def self.to_s(*args)
4
- "0.0.13"
4
+ "0.0.14"
5
5
  end
6
6
 
7
7
  def self.start(*args)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_storm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wouter Coppieters