capucine 0.2.0 → 0.2.1
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.
- data/README.md +4 -2
- data/VERSION +1 -1
- data/capucine.gemspec +2 -3
- data/lib/capucine.rb +45 -1
- data/templates/sinatra.yaml +1 -1
- metadata +3 -4
- data/lor +0 -32
data/README.md
CHANGED
|
@@ -58,7 +58,7 @@ You don't need to change anything in your application. Just provide the right pa
|
|
|
58
58
|
|
|
59
59
|
**Quick install** :
|
|
60
60
|
|
|
61
|
-
gem uninstall capucine
|
|
61
|
+
gem uninstall -a -x capucine
|
|
62
62
|
gem update --system
|
|
63
63
|
gem install capucine
|
|
64
64
|
|
|
@@ -93,7 +93,7 @@ If you want to start with another `capucine.yaml` , there are some templates hos
|
|
|
93
93
|
|
|
94
94
|
Of course, you can contribute to the official repository ! [Read this section](http://)
|
|
95
95
|
|
|
96
|
-
* [All officials configurations (`capucine.yaml`) are here](
|
|
96
|
+
* [All officials configurations (`capucine.yaml`) are here](https://github.com/damln/Capucine/tree/master/templates)
|
|
97
97
|
|
|
98
98
|
|
|
99
99
|
# Usage
|
|
@@ -339,6 +339,8 @@ Ex : `- compass-capucine` or `- compass_twitter_bootstrap`.
|
|
|
339
339
|
# TODO
|
|
340
340
|
- Add NPM support for Incloudr
|
|
341
341
|
- Add the `clean` option
|
|
342
|
+
- Make rake tasks
|
|
343
|
+
- Switch from FSSM to guard-listen
|
|
342
344
|
|
|
343
345
|
# Author
|
|
344
346
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.2.
|
|
1
|
+
0.2.1
|
data/capucine.gemspec
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "capucine"
|
|
8
|
-
s.version = "0.2.
|
|
8
|
+
s.version = "0.2.1"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Damian Le Nouaille"]
|
|
@@ -51,7 +51,6 @@ Gem::Specification.new do |s|
|
|
|
51
51
|
"lib/npm.rb",
|
|
52
52
|
"lib/settings.rb",
|
|
53
53
|
"lib/tools.rb",
|
|
54
|
-
"lor",
|
|
55
54
|
"spec/capucine/capucine_spec.rb",
|
|
56
55
|
"spec/capucine/coffee_spec.rb",
|
|
57
56
|
"spec/capucine/incloudr_spec.rb",
|
|
@@ -67,7 +66,7 @@ Gem::Specification.new do |s|
|
|
|
67
66
|
s.homepage = "http://capucine.dln.name"
|
|
68
67
|
s.licenses = ["MIT"]
|
|
69
68
|
s.require_paths = ["lib"]
|
|
70
|
-
s.rubygems_version = "1.8.
|
|
69
|
+
s.rubygems_version = "1.8.24"
|
|
71
70
|
s.summary = "Tools for frontend developers. Use CoffeeScript and Compass everywhere."
|
|
72
71
|
|
|
73
72
|
if s.respond_to? :specification_version then
|
data/lib/capucine.rb
CHANGED
|
@@ -65,7 +65,51 @@ module Capucine
|
|
|
65
65
|
end
|
|
66
66
|
|
|
67
67
|
def help
|
|
68
|
-
puts
|
|
68
|
+
puts "
|
|
69
|
+
|
|
70
|
+
Capucine on Github : http://github.com/damln/Capucine
|
|
71
|
+
|
|
72
|
+
- Create
|
|
73
|
+
|
|
74
|
+
cd my_current_project/
|
|
75
|
+
|
|
76
|
+
# Or
|
|
77
|
+
|
|
78
|
+
capucine new my_app_name
|
|
79
|
+
cd my_app_name/
|
|
80
|
+
|
|
81
|
+
- Initialize
|
|
82
|
+
|
|
83
|
+
# Edit the capucine.yaml file.
|
|
84
|
+
# Or :
|
|
85
|
+
|
|
86
|
+
capucine init
|
|
87
|
+
capucine init:django
|
|
88
|
+
|
|
89
|
+
- Compile Once
|
|
90
|
+
|
|
91
|
+
capucine compile
|
|
92
|
+
capucine compile:sass
|
|
93
|
+
capucine compile:coffee
|
|
94
|
+
capucine compile:incloudr
|
|
95
|
+
|
|
96
|
+
- Or Watch (Stop with Ctrl + C)
|
|
97
|
+
|
|
98
|
+
capucine watch
|
|
99
|
+
capucine watch:sass
|
|
100
|
+
capucine watch:coffee
|
|
101
|
+
|
|
102
|
+
- Search libs :
|
|
103
|
+
|
|
104
|
+
capucine js:list
|
|
105
|
+
capucine js:list:npm # (comming)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
capucine js:search jquery
|
|
109
|
+
capucine js:search:npm jquery # (comming)
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
"
|
|
69
113
|
end
|
|
70
114
|
|
|
71
115
|
end
|
data/templates/sinatra.yaml
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capucine
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -213,7 +213,6 @@ files:
|
|
|
213
213
|
- lib/npm.rb
|
|
214
214
|
- lib/settings.rb
|
|
215
215
|
- lib/tools.rb
|
|
216
|
-
- lor
|
|
217
216
|
- spec/capucine/capucine_spec.rb
|
|
218
217
|
- spec/capucine/coffee_spec.rb
|
|
219
218
|
- spec/capucine/incloudr_spec.rb
|
|
@@ -240,7 +239,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
240
239
|
version: '0'
|
|
241
240
|
segments:
|
|
242
241
|
- 0
|
|
243
|
-
hash:
|
|
242
|
+
hash: -1099581332188590397
|
|
244
243
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
244
|
none: false
|
|
246
245
|
requirements:
|
|
@@ -249,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
249
248
|
version: '0'
|
|
250
249
|
requirements: []
|
|
251
250
|
rubyforge_project:
|
|
252
|
-
rubygems_version: 1.8.
|
|
251
|
+
rubygems_version: 1.8.24
|
|
253
252
|
signing_key:
|
|
254
253
|
specification_version: 3
|
|
255
254
|
summary: Tools for frontend developers. Use CoffeeScript and Compass everywhere.
|
data/lor
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
General
|
|
3
|
-
[32m #init the Capucine[0m
|
|
4
|
-
[32m #init the Capucine with settings[0m
|
|
5
|
-
[32m #init from command line[0m
|
|
6
|
-
[32m #init from command line with sinatra[0m
|
|
7
|
-
[32m #init from command line with wrong template[0m
|
|
8
|
-
[31m #init from command line with distant template (FAILED - 1)[0m
|
|
9
|
-
[32m #new from command line[0m
|
|
10
|
-
[32m #new from command line with custom name[0m
|
|
11
|
-
[32m #new, set coffee, compile[0m
|
|
12
|
-
[32m #new, set coffee, compile with c:sass ONLY[0m
|
|
13
|
-
[32m #new, set coffee, compile with c:coffee ONLY[0m
|
|
14
|
-
|
|
15
|
-
Failures:
|
|
16
|
-
|
|
17
|
-
1) General#init from command line with distant template
|
|
18
|
-
[31mFailure/Error:[0m [31m@cap.run_command(['i', 'http://capucine.dln.name/capucine.yaml'])[0m
|
|
19
|
-
[31mErrno::ENOENT:[0m
|
|
20
|
-
[31mNo such file or directory - /Users/damln/Work/capucine/capucine-gem2/spec/blank/capucine.yaml[0m
|
|
21
|
-
[36m # ./lib/tools.rb:57:in `initialize'[0m
|
|
22
|
-
[36m # ./lib/tools.rb:57:in `open'[0m
|
|
23
|
-
[36m # ./lib/tools.rb:57:in `init'[0m
|
|
24
|
-
[36m # ./lib/capucine.rb:34:in `run_command'[0m
|
|
25
|
-
[36m # ./spec/capucine/capucine_spec.rb:68:in `block (2 levels) in <top (required)>'[0m
|
|
26
|
-
|
|
27
|
-
Finished in 20.63 seconds
|
|
28
|
-
[31m11 examples, 1 failure[0m
|
|
29
|
-
|
|
30
|
-
Failed examples:
|
|
31
|
-
|
|
32
|
-
[31mrspec ./spec/capucine/capucine_spec.rb:67[0m [36m# General#init from command line with distant template[0m
|