haml-sass-converters 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README CHANGED
@@ -6,15 +6,19 @@
6
6
 
7
7
  > rvm install jruby-1.5.6
8
8
  > rvm use jruby
9
- > rvm gemset haml-sass-converters create
10
- > rvm use jruby@haml-sass-converters
11
9
 
12
- We are not going to use this version of JRuby - RubyMine already has bundled version of it. We need to install it in
13
- order to collect all required for this plugin gems.
10
+ We are not going to use this version of JRuby - RubyMine already has bundled version of it.
11
+ We need to install it in order to collect all required for this plugin gems.
14
12
 
15
- 2. Install it as a gem and run install script in your project's root in order to copy script:
13
+ 2. Create and use 'haml-sass-converters' gemset:
14
+ > rvm use jruby@haml-sass-converters --create
15
+
16
+ 3. Install gem:
16
17
 
17
18
  > gem i haml-sass-converters
19
+
20
+ 4. Run install script in your project's root (or some other location) in order to copy script:
21
+
18
22
  > cd <your-project-root>
19
23
  > haml-sass-converters-install
20
24
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{haml-sass-converters}
8
- s.version = "0.2.1"
8
+ s.version = "0.2.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Alexander Shvets"]
@@ -1,15 +1,5 @@
1
1
  include Java
2
2
 
3
- require "haml"
4
- require "haml/html"
5
- require "sass/css"
6
-
7
- require 'default_scripts_groups'
8
- require 'editor_action_helper'
9
- require 'action_group_helper'
10
-
11
- load_required_gems
12
-
13
3
  def load_required_gems
14
4
  jruby_home = "#{ENV['HOME']}/.rvm/gems/jruby-1.5.6@haml-sass-converters"
15
5
 
@@ -23,6 +13,16 @@ def load_required_gems
23
13
  $: << "#{jruby_home}/gems/ruby_parser-2.0.5/lib"
24
14
  end
25
15
 
16
+ load_required_gems
17
+
18
+ require "haml"
19
+ require "haml/html"
20
+ require "sass/css"
21
+
22
+ require 'default_scripts_groups'
23
+ require 'editor_action_helper'
24
+ require 'action_group_helper'
25
+
26
26
  class Converter
27
27
  def self.convert_selection editor
28
28
  if editor.has_selection?
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 1
9
- version: 0.2.1
8
+ - 2
9
+ version: 0.2.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alexander Shvets