bourbon 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,17 @@
|
|
1
1
|
@disable-bundler
|
2
|
-
Feature:
|
2
|
+
Feature: Install bourbon files
|
3
3
|
|
4
4
|
Scenario: Bourbon generates a new bourbon installation
|
5
|
-
When I
|
5
|
+
When I install bourbon files
|
6
6
|
Then the sass directories should have been generated
|
7
7
|
And the following directories should exist:
|
8
8
|
| bourbon |
|
9
9
|
| bourbon/lib |
|
10
10
|
And the master bourbon partial should have been generated
|
11
11
|
And the lib files should have been generated
|
12
|
-
And the output should contain "Bourbon files
|
12
|
+
And the output should contain "Bourbon files installed to bourbon/"
|
13
13
|
|
14
14
|
Scenario: Generating does not overwrite an existing bourbon directory
|
15
|
-
Given bourbon is already
|
16
|
-
When I
|
17
|
-
Then the output should contain "Bourbon files already
|
15
|
+
Given bourbon is already installed
|
16
|
+
When I install bourbon files
|
17
|
+
Then the output should contain "Bourbon files already installed, doing nothing."
|
@@ -1,11 +1,11 @@
|
|
1
|
-
Given /^bourbon is already
|
1
|
+
Given /^bourbon is already installed$/ do
|
2
2
|
set_up_bourbon_directory
|
3
|
-
|
3
|
+
install_bourbon
|
4
4
|
end
|
5
5
|
|
6
|
-
When /^I
|
6
|
+
When /^I install bourbon files$/ do
|
7
7
|
set_up_bourbon_directory
|
8
|
-
|
8
|
+
install_bourbon
|
9
9
|
end
|
10
10
|
|
11
11
|
When /^I update bourbon files$/ do
|
data/features/update.feature
CHANGED
data/lib/bourbon/generator.rb
CHANGED
@@ -7,8 +7,8 @@ module Bourbon
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def run
|
10
|
-
if @subcommand == "
|
11
|
-
|
10
|
+
if @subcommand == "install"
|
11
|
+
install
|
12
12
|
elsif @subcommand == "update"
|
13
13
|
update
|
14
14
|
end
|
@@ -17,19 +17,19 @@ module Bourbon
|
|
17
17
|
def update
|
18
18
|
if bourbon_files_already_exist?
|
19
19
|
remove_bourbon_directory
|
20
|
-
|
20
|
+
install_files
|
21
21
|
puts "Bourbon files updated."
|
22
22
|
else
|
23
23
|
puts "No existing bourbon installation. Doing nothing."
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
-
def
|
27
|
+
def install
|
28
28
|
if bourbon_files_already_exist?
|
29
|
-
puts "Bourbon files already
|
29
|
+
puts "Bourbon files already installed, doing nothing."
|
30
30
|
else
|
31
|
-
|
32
|
-
puts "Bourbon files
|
31
|
+
install_files
|
32
|
+
puts "Bourbon files installed to bourbon/"
|
33
33
|
end
|
34
34
|
end
|
35
35
|
|
@@ -39,7 +39,7 @@ module Bourbon
|
|
39
39
|
Dir.exist?("bourbon")
|
40
40
|
end
|
41
41
|
|
42
|
-
def
|
42
|
+
def install_files
|
43
43
|
make_lib_directory
|
44
44
|
copy_in_sass_extensions
|
45
45
|
copy_in_scss_files
|
data/lib/bourbon/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bourbon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -23,7 +23,7 @@ date: 2012-01-22 00:00:00.000000000 Z
|
|
23
23
|
dependencies:
|
24
24
|
- !ruby/object:Gem::Dependency
|
25
25
|
name: sass
|
26
|
-
requirement: &
|
26
|
+
requirement: &70264008406980 !ruby/object:Gem::Requirement
|
27
27
|
none: false
|
28
28
|
requirements:
|
29
29
|
- - ! '>='
|
@@ -31,10 +31,10 @@ dependencies:
|
|
31
31
|
version: '3.1'
|
32
32
|
type: :runtime
|
33
33
|
prerelease: false
|
34
|
-
version_requirements: *
|
34
|
+
version_requirements: *70264008406980
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: aruba
|
37
|
-
requirement: &
|
37
|
+
requirement: &70264008406480 !ruby/object:Gem::Requirement
|
38
38
|
none: false
|
39
39
|
requirements:
|
40
40
|
- - ~>
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
version: '0.4'
|
43
43
|
type: :development
|
44
44
|
prerelease: false
|
45
|
-
version_requirements: *
|
45
|
+
version_requirements: *70264008406480
|
46
46
|
description: ! 'The purpose of Bourbon Vanilla Sass Mixins is to provide a comprehensive
|
47
47
|
framework of
|
48
48
|
|
@@ -98,7 +98,7 @@ files:
|
|
98
98
|
- app/assets/stylesheets/functions/_tint-shade.scss
|
99
99
|
- bin/bourbon
|
100
100
|
- bourbon.gemspec
|
101
|
-
- features/
|
101
|
+
- features/install.feature
|
102
102
|
- features/step_definitions/bourbon_steps.rb
|
103
103
|
- features/support/bourbon_support.rb
|
104
104
|
- features/support/env.rb
|
@@ -137,7 +137,7 @@ signing_key:
|
|
137
137
|
specification_version: 3
|
138
138
|
summary: Bourbon Sass Mixins using SCSS syntax.
|
139
139
|
test_files:
|
140
|
-
- features/
|
140
|
+
- features/install.feature
|
141
141
|
- features/step_definitions/bourbon_steps.rb
|
142
142
|
- features/support/bourbon_support.rb
|
143
143
|
- features/support/env.rb
|