massimo 0.5.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.5.1
data/bin/massimo CHANGED
@@ -1,8 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- $:.unshift File.expand_path('../../lib', __FILE__)
4
-
5
3
  require 'massimo'
6
- require 'massimo/cli'
7
4
 
8
5
  Massimo::CLI.start
data/lib/massimo/cli.rb CHANGED
@@ -53,7 +53,7 @@ module Massimo
53
53
  require 'active_support/inflector'
54
54
 
55
55
  if file
56
- create_file File.join(site.config.path_for(resource.pluralize), file)
56
+ create_file File.join(site.config.path_for(site_or_resource.pluralize), file)
57
57
  else
58
58
  empty_directory site_or_resource
59
59
  inside site_or_resource do
data/lib/massimo.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  module Massimo
2
+ autoload :CLI, 'massimo/cli'
2
3
  autoload :Config, 'massimo/config'
3
4
  autoload :Helpers, 'massimo/helpers'
4
5
  autoload :Javascript, 'massimo/javascript'
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 5
8
- - 0
9
- version: 0.5.0
8
+ - 1
9
+ version: 0.5.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - Pete Browne