elasticss-rails 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -44,7 +44,7 @@ you are not going to use more than 4 columns, CSS will do it for you:
44
44
 
45
45
  Usage:
46
46
 
47
- rails g elasticss:install --skip-javascript
47
+ rails g elasticss:install --nojs
48
48
 
49
49
  And you can add it later if you need it with the installation generator
50
50
 
@@ -84,7 +84,7 @@ But wait there is more:
84
84
 
85
85
  ## Changelog
86
86
  <ul>
87
- <li>Current gem v.0.1.1</li>
87
+ <li>Current gem v.0.1.3</li>
88
88
  <li>Skip inclusion of JS with an argument</li>
89
89
  <li>Release gem v.0.1.0</li>
90
90
  <li>Support for HAML templates</li>
@@ -1,5 +1,5 @@
1
1
  module Elasticss
2
2
  module Rails
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
@@ -7,10 +7,10 @@ module Elasticss
7
7
 
8
8
  desc 'This generator installs ElastiCSS to Asset Pipeline'
9
9
 
10
- argument :skip_javascript, :type => :string, :default => "--with-javascript"
10
+ class_option :nojs, :type => :boolean, :desc => 'Skips the inclusion of JS'
11
11
 
12
12
  def add_elasticss
13
- directory 'javascripts/elasticss', 'app/assets/javascripts/elasticss' if skip_javascript != "--skip-javascript"
13
+ directory 'javascripts/elasticss', 'app/assets/javascripts/elasticss' unless options[:nojs]
14
14
  directory 'stylesheets/elasticss', 'app/assets/stylesheets/elasticss'
15
15
  end
16
16
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elasticss-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-16 00:00:00.000000000Z
12
+ date: 2012-09-09 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70192539937700 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,12 @@ dependencies:
21
21
  version: '3.1'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70192539937700
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: '3.1'
25
30
  description: Integrate ElastiCSS framework with the rails assets pipeline
26
31
  email:
27
32
  - kurenn@icalialabs.com
@@ -74,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
79
  version: '0'
75
80
  requirements: []
76
81
  rubyforge_project: elasticss-rails
77
- rubygems_version: 1.8.12
82
+ rubygems_version: 1.8.24
78
83
  signing_key:
79
84
  specification_version: 3
80
85
  summary: ElastiCSS integration with rails 3.1 Asset pipeline