scalerui 0.1.1 → 0.1.2

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/scalerui.rb +4 -3
  3. data/scalerui.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.1
1
+ 0.1.2
data/lib/scalerui.rb CHANGED
@@ -64,8 +64,11 @@ Options:
64
64
 
65
65
  # Sets some instance variables
66
66
  @install = @options[:install]
67
- @install_dir = @options[:install_dir]
67
+ @install_dir = @options[:install_dir]
68
+
69
+ raise NoTargetDirectoryError if @install_dir.nil?
68
70
  @assets_dir = @options[:assets] || File.join(@install_dir, "public")
71
+
69
72
  @scalerui_dir = File.join(@assets_dir, "scalerui")
70
73
  @images_dir = File.join(@scalerui_dir, "images")
71
74
  @js_dir = File.join(@scalerui_dir, "javascript")
@@ -80,8 +83,6 @@ Options:
80
83
  protected
81
84
 
82
85
  def process
83
- raise NoTargetDirectoryError if @install_dir.nil?
84
-
85
86
  if @install
86
87
  # -- Begin of Installation
87
88
 
data/scalerui.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{scalerui}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Simon Chiu"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scalerui
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Chiu