DisOrder 0.0.10 → 0.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/bin/disorder CHANGED
@@ -9,6 +9,7 @@ class DisOrderCLI < Thor
9
9
  map "-i" => :init
10
10
  map "-b" => :build
11
11
  map "-s" => :server
12
+ map "-v" => :version
12
13
 
13
14
  desc "build", "Build current Project"
14
15
  method_option :server, :default => false, :aliases => "-s", :desc => "Start the server after build"
@@ -42,6 +43,11 @@ class DisOrderCLI < Thor
42
43
  DisOrder::Init.initStaticPage(name)
43
44
  end
44
45
  end
46
+
47
+ desc "version", "Shows the current Version of the gem"
48
+ def version
49
+ puts DisOrder::VERSION
50
+ end
45
51
  end
46
52
 
47
53
  def checkFolder
@@ -50,6 +50,7 @@ module DisOrder
50
50
  end
51
51
  @title = f[1]["name"]
52
52
 
53
+ @jsBlock = nil
53
54
  if File.exist?(jsSource)
54
55
  jsfiles = Dir.entries(jsSource)
55
56
  jsfiles.delete "."
@@ -1,3 +1,3 @@
1
1
  module DisOrder
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: DisOrder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: