itcsscli 0.1.6 → 0.1.7
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.
- checksums.yaml +4 -4
- data/lib/itcss_doc_parser.rb +1 -1
- data/lib/itcsscli/version.rb +1 -1
- data/lib/itcsscli.rb +4 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17a417aed384e8e84ce30d1a3e5a05a0d40de86f
|
4
|
+
data.tar.gz: e1b41585f6e46c969e63014a8b83505e1c1be8bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d331f329e4deabe37f845215c5ce36217b11c879ed62abee70bfe7bfc076d9f3cfcc22213e5420fa2e8a54e8421920069497a588867f024dee2819c877fe415
|
7
|
+
data.tar.gz: 52954c8a30a90cfbd7050f8007eb595229326fe785316d8c587ef0fdb011e9c27a0389a1591c88dc99b9510e7fe9611864bf1d3cbc50b4d79aca7c7dcd41ad6d
|
data/lib/itcss_doc_parser.rb
CHANGED
@@ -135,7 +135,7 @@ def write_itcss_map_file content, nav
|
|
135
135
|
puts "The documentation has been successfully generated.".green
|
136
136
|
puts "create #{@ITCSS_DOC_FILE}".green
|
137
137
|
puts "opening #{@ITCSS_DOC_FILE}...".yellow
|
138
|
-
|
138
|
+
`open #{@ITCSS_DOC_FILE}`
|
139
139
|
end
|
140
140
|
end
|
141
141
|
|
data/lib/itcsscli/version.rb
CHANGED
data/lib/itcsscli.rb
CHANGED
@@ -28,7 +28,7 @@ module Itcsscli
|
|
28
28
|
"trumps" => "Overrides and helper classes."
|
29
29
|
}
|
30
30
|
|
31
|
-
@ITCSS_COMMANDS = ['init', 'install', 'new', 'n', 'inuit', 'update', 'u', 'doc', 'help', 'h', '-h', 'version', 'v', '-v']
|
31
|
+
@ITCSS_COMMANDS = ['init', 'install', 'new', 'n', 'inuit', 'update', 'u', 'doc', 'd', '-d', 'help', 'h', '-h', 'version', 'v', '-v']
|
32
32
|
|
33
33
|
@ITCSS_COMMANDS_DESCRIPTION = [
|
34
34
|
" COMMAND ALIAS FUNCTION ",
|
@@ -36,7 +36,8 @@ module Itcsscli
|
|
36
36
|
"itcss install [filenames] | | Creates an example of ITCSS structure in path specified in #{@ITCSS_CONFIG_FILE}.",
|
37
37
|
"itcss new [module] [filename] | n | Creates a new ITCSS module and automatically import it into imports file.",
|
38
38
|
"itcss inuit new [inuit module] |inuit n| Add specified inuit module as an itcss dependency.",
|
39
|
-
"itcss inuit help |inuit h|
|
39
|
+
"itcss inuit help |inuit h| Shows all available itcss inuit commands and it's functions.",
|
40
|
+
"itcss doc | d, -d | Generate and open itcssdoc.",
|
40
41
|
"itcss update | u | Updates the imports file using the files inside ITCSS structure.",
|
41
42
|
"itcss help | h, -h | Shows all available itcss commands and it's functions.",
|
42
43
|
"itcss version | v, -v | Shows itcsscli gem version installed."
|
@@ -106,7 +107,7 @@ module Itcsscli
|
|
106
107
|
itcss_version
|
107
108
|
|
108
109
|
# $ itcss doc
|
109
|
-
elsif 'doc'
|
110
|
+
elsif ['doc', '-d', 'd'].include? ARGV[0]
|
110
111
|
itcss_init_checker
|
111
112
|
initialize_doc
|
112
113
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: itcsscli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kande Bonfim
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|