capucine 0.1.7 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +7 -7
- data/README.md +318 -23
- data/Rakefile +5 -9
- data/VERSION +1 -1
- data/bin/capucine +6 -2
- data/capucine-logo-mini.png +0 -0
- data/capucine.gemspec +32 -16
- data/content/{templates/capucine.yaml → default.yaml} +5 -5
- data/content/options.yaml +11 -0
- data/content/shared/capucine.yaml +2 -2
- data/content/shared/index.html +2 -2
- data/content/shared/public/js/app.js +1 -1
- data/content/shared/sass/_main.scss +1 -1
- data/content/shared/sass/screen.scss +4 -2
- data/content/templates/cmd_help.erb +8 -17
- data/lib/capucine.rb +68 -9
- data/lib/cdnjs.rb +71 -0
- data/lib/coffeescript.rb +36 -30
- data/lib/compass-sass.rb +51 -53
- data/lib/incloudr.rb +44 -43
- data/lib/npm.rb +21 -0
- data/lib/settings.rb +42 -55
- data/lib/tools.rb +167 -31
- data/lor +32 -0
- data/spec/capucine/capucine_spec.rb +179 -0
- data/spec/capucine/coffee_spec.rb +9 -0
- data/spec/capucine/incloudr_spec.rb +80 -0
- data/spec/capucine_coffee.yaml +30 -0
- data/spec/capucine_incloudr.yaml +6 -0
- data/spec/capucine_incloudr2.yaml +8 -0
- data/spec/capucine_incloudr3.yaml +6 -0
- data/spec/spec.rake +13 -0
- data/spec/spec_helper.rb +1 -0
- data/templates/README.md +10 -0
- data/templates/sinatra.yaml +30 -0
- metadata +54 -25
- data/Gemfile.lock +0 -49
- data/lib/commands.rb +0 -43
- data/lib/watch.rb +0 -39
data/Gemfile
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
gem 'fssm'
|
4
|
-
gem '
|
3
|
+
gem 'fssm', :require => false
|
4
|
+
# gem 'listen'
|
5
5
|
gem 'coffee-script'
|
6
6
|
gem 'uglifier'
|
7
7
|
gem 'packr'
|
8
8
|
gem 'json'
|
9
|
+
|
10
|
+
gem 'compass'
|
9
11
|
gem 'compass-capucine'
|
10
12
|
|
11
13
|
group :development do
|
12
|
-
|
13
|
-
|
14
|
-
gem "
|
15
|
-
gem "jeweler", "~> 1.8.3"
|
16
|
-
# gem "rcov", ">= 0"
|
14
|
+
gem "bundler"
|
15
|
+
gem "jeweler"
|
16
|
+
gem "rspec"
|
17
17
|
end
|
data/README.md
CHANGED
@@ -1,51 +1,346 @@
|
|
1
|
-
Capucine
|
2
|
-
===
|
1
|
+
# Capucine
|
3
2
|
|
4
|
-
Capucine is a
|
5
|
-
|
3
|
+
Capucine is a command line tool for using **Sass** (+ Compass), **CoffeeScript** and **Incloudr** in any project.
|
4
|
+
It is completely agnostic and there are few configuration (just a simple and understandable **YAML** file).
|
6
5
|
|
7
|
-
|
8
|
-
|
6
|
+
**The first goal of
|
7
|
+
Capucine is to give to everyone a very easy access to modern
|
8
|
+
frontend tools. **
|
9
9
|
|
10
|
-
|
11
|
-
===
|
12
|
-
Require Ruby 1.9+
|
10
|
+
[Capucine official site](http://capucine.dln.name/)
|
13
11
|
|
14
|
-
|
12
|
+
This meta-languages really solve big problems in frontend development. Some people are using them every day for a cleaner code and better collaboration.
|
15
13
|
|
16
|
-
|
17
|
-
===
|
14
|
+
* **Sass**
|
18
15
|
|
19
|
-
|
16
|
+
Maybe you already know Sass (and Compass).
|
17
|
+
If it's not the case, this blog post can be really helpful.
|
18
|
+
|
19
|
+
[Understanding Sass](http://sass-lang.com/)
|
20
|
+
|
21
|
+
* **CoffeeScript**
|
22
|
+
|
23
|
+
CoffeeScript is a pure JavaScript generator. Reading this post can help you to understand his goals.
|
24
|
+
|
25
|
+
[Understanding CoffeeScript](http://coffeescript.org/)
|
26
|
+
|
27
|
+
* **Incloudr**
|
28
|
+
|
29
|
+
Incloudr is a multiple provider JavaScript client library. It allows you to quickly download JavaScript libs from cdnjs.com, git repos, NodeJS Packages (NPM), and raw url files without the mess.
|
30
|
+
|
31
|
+
<a target="_blank" href="https://twitter.com/share" class="twitter-share-button" data-via="damln">Tweet This</a>
|
32
|
+
|
33
|
+
|
34
|
+
# Do I need Capucine ?
|
35
|
+
|
36
|
+
### Rails projects
|
37
|
+
|
38
|
+
If you are a Ruby On Rails developer, you probably do not need Capucine. Sprocket does the job. Maybe you are looking for an alternative to Sprocket ? Capucine is faster, test it. Then, you might be interested in the **Incloudr** part of Capucine.
|
39
|
+
|
40
|
+
More on this feature here : [**Incloudr**, an easy way to embed JavaScript.]()
|
41
|
+
|
42
|
+
### Others projects
|
43
|
+
|
44
|
+
If you are coding in PHP, .NET, Java, Perl, Ruby (Sinatra, Padrino, ...) or an other language, Capucine is the simplest way to use Sass and CoffeeScript !
|
45
|
+
You don't need to change anything in your application. Just provide the right paths in the capucine.yaml file, compile, and that's work.
|
46
|
+
|
47
|
+
# Intallation (22 seconds)
|
48
|
+
|
49
|
+
#### Require :
|
50
|
+
* Ruby 1.9.*
|
51
|
+
* RubyGems
|
52
|
+
|
53
|
+
#### Tested on :
|
54
|
+
* OSX 10.6
|
55
|
+
* OSX 10.7
|
56
|
+
* Ubuntu
|
57
|
+
* Windows 7
|
58
|
+
|
59
|
+
**Quick install** :
|
60
|
+
|
61
|
+
gem uninstall capucine
|
62
|
+
gem update --system
|
63
|
+
gem install capucine
|
64
|
+
|
65
|
+
Troubles ? Read this doc : [Installing Capucine](http://capucine.dln.name)
|
66
|
+
|
67
|
+
# Start
|
68
|
+
|
69
|
+
This will generate a full ready-to-use project from scratch :
|
70
|
+
|
71
|
+
capucine new my_app_name
|
72
|
+
|
73
|
+
If you are already working in a project, initialize a Capucine project where you want, this will just add a `capucine.yaml` file in the current directory:
|
20
74
|
|
21
75
|
capucine init
|
22
76
|
|
23
|
-
|
77
|
+
The `capucine.yaml` file is the **only required file** for using Capucine.
|
24
78
|
|
25
|
-
|
79
|
+
* [**The full documentation about the capucine.yaml file is here.**](https://github.com/damln/Capucine#config--capucineyaml)
|
26
80
|
|
27
|
-
|
81
|
+
If you want to start with another `capucine.yaml` , there are some templates hosted on the Capucine official Github repository. You can create yours, and use them as well.
|
82
|
+
|
83
|
+
##### Use your own configuration (hosted somewhere)
|
84
|
+
|
85
|
+
capucine init http://myhost.com/capucine.yaml
|
86
|
+
|
87
|
+
##### Use existing configurations (hosted on Github)
|
88
|
+
|
89
|
+
capucine init:django
|
90
|
+
capucine init:sinatra
|
91
|
+
capucine init:wordpress
|
92
|
+
...
|
93
|
+
|
94
|
+
Of course, you can contribute to the official repository ! [Read this section](http://)
|
95
|
+
|
96
|
+
* [All officials configurations (`capucine.yaml`) are here](http://github.com/damln/Capucine/)
|
97
|
+
|
98
|
+
|
99
|
+
# Usage
|
100
|
+
|
101
|
+
Once you have configured the `capucine.yaml` and write some Sass and/or CoffeeScript, you can compile the project once :
|
28
102
|
|
29
103
|
capucine compile
|
30
104
|
|
31
|
-
|
105
|
+
In developement, you might want to **launch the watcher**. This will compile everything once and compile files on changes (use and abuse it):
|
32
106
|
|
33
107
|
capucine watch
|
34
108
|
|
35
|
-
|
109
|
+
Maybe you have configured Sass + CoffeeScript in your `capucine.yaml` file but you just want to compile/watch the Sass or the CoffeeScript. You can specify them in this way :
|
110
|
+
|
111
|
+
capucine compile:coffee
|
112
|
+
capucine compile:sass
|
113
|
+
capucine compile:incloudr
|
114
|
+
|
115
|
+
This works too :
|
116
|
+
|
117
|
+
capucine watch:sass
|
118
|
+
capucine watch:coffee
|
119
|
+
|
120
|
+
|
121
|
+
*Why there is no `capucine watch:incloudr` ?*
|
122
|
+
The Incloudr tool will be explained.
|
123
|
+
|
124
|
+
Default to :
|
125
|
+
|
126
|
+
capucine compile:all
|
127
|
+
capucine watch:all
|
128
|
+
|
129
|
+
|
130
|
+
## Let's recap
|
131
|
+
So, you can use **(simple recap)** :
|
132
|
+
|
133
|
+
- Create
|
134
|
+
|
135
|
+
cd my_current_project/
|
136
|
+
|
137
|
+
# Or
|
138
|
+
|
139
|
+
capucine new my_app_name
|
140
|
+
cd my_app_name/
|
141
|
+
|
142
|
+
- Initialize
|
143
|
+
|
144
|
+
# Edit the capucine.yaml file.
|
145
|
+
|
146
|
+
# Or :
|
147
|
+
|
148
|
+
capucine init
|
149
|
+
capucine init:django
|
150
|
+
|
151
|
+
|
152
|
+
- Compile Once
|
153
|
+
|
154
|
+
capucine compile
|
155
|
+
capucine compile:sass
|
156
|
+
capucine compile:coffee
|
157
|
+
capucine compile:incloudr
|
158
|
+
|
159
|
+
- Or Watch (Stop with Ctrl + C)
|
160
|
+
|
161
|
+
capucine watch
|
162
|
+
capucine watch:sass
|
163
|
+
capucine watch:coffee
|
164
|
+
|
165
|
+
|
166
|
+
# Incloudr
|
167
|
+
|
168
|
+
You can directly configure JS libraries you need in the `capucine.yaml` .
|
169
|
+
Enter the output directory where you want your libs :
|
170
|
+
|
171
|
+
incloudr_output_dir: public/js_generated/modules
|
172
|
+
|
173
|
+
Your JS libraries will be download form the web and they will be move to the `incloudr_output_dir` directory.
|
174
|
+
So, list you libs :
|
175
|
+
|
176
|
+
incloudr_libs:
|
177
|
+
|
178
|
+
- name: jquery
|
179
|
+
|
180
|
+
The default CDN is [CDNJS](http://cdnjs.com), and it will download the latest version. So, if you want a specific version :
|
181
|
+
|
182
|
+
incloudr_libs:
|
183
|
+
|
184
|
+
- name: jquery
|
185
|
+
version: 1.7.2
|
186
|
+
|
187
|
+
Need a [NPMJS](http://npmjs.org) package ? Configure the package like this :
|
188
|
+
|
189
|
+
incloudr_libs:
|
190
|
+
|
191
|
+
# From CDNJS :
|
192
|
+
|
193
|
+
- name: jquery
|
194
|
+
|
195
|
+
# From NPMJS (coming) :
|
196
|
+
|
197
|
+
- name: underscore
|
198
|
+
type: npm
|
199
|
+
|
200
|
+
|
201
|
+
With a specific version from NPM ? (coming) :
|
202
|
+
|
203
|
+
incloudr_libs:
|
204
|
+
|
205
|
+
- name: underscore
|
206
|
+
type: npm
|
207
|
+
version: 1.3.3
|
208
|
+
|
209
|
+
Maybe you just want to include a distant JS file :
|
210
|
+
|
211
|
+
incloudr_libs:
|
212
|
+
|
213
|
+
- name: my_lib
|
214
|
+
source: http://site/to/my/lib.js
|
215
|
+
|
216
|
+
List all JS libraries existing on [CDNJS.com](http://cdnjs.com) :
|
217
|
+
|
218
|
+
capucine js:list
|
219
|
+
|
220
|
+
|
221
|
+
List all JS libraries existing on [NPMJS.org](http://npmjs.org/) :
|
222
|
+
|
223
|
+
capucine js:list:npm
|
224
|
+
|
225
|
+
Search a library on CDNJS (*example: jquery*) :
|
226
|
+
|
227
|
+
capucine js:search jquery
|
228
|
+
|
229
|
+
Search a library on NPMJS (*example: underscore*) (coming):
|
230
|
+
|
231
|
+
capucine js:search:npm underscore
|
232
|
+
|
233
|
+
###### When my lib are download ?
|
234
|
+
|
235
|
+
When you type `capucine compile`, your Sass and CoffeeScript are compiled, and Incloudr will look at the `capucine.yaml`, download them, and move the files to the `incloudr_output_dir` directory.
|
236
|
+
|
237
|
+
When you type `capucine watch`, Capucine will first do a `capucine compile`, and next it will start the watcher.
|
238
|
+
|
239
|
+
# How does it work
|
240
|
+
|
241
|
+
Capucine works on top of Compass and CoffeeScript. It use a watcher for compiling CoffeeScript on the fly and uses the official Compass watch for Sass's files.
|
242
|
+
So, it generate a configuration file for Compass (`config.rb`). This file is in the TEMP OS directory. (/tmp or Temp).
|
243
|
+
|
244
|
+
|
245
|
+
If you activate the `sass_cache` options, Capucine will generate a `.sass-cache/` folder in the working directory.
|
246
|
+
|
247
|
+
|
248
|
+
# Tools
|
249
|
+
|
250
|
+
Since Capucine generate some needed extra files(`config.rb` and `.sass-cache/`), you can remove them with :
|
251
|
+
|
252
|
+
capucine clean
|
253
|
+
|
254
|
+
Update the Capucine gem (will update Compass, SASS and CoffeeScript to the edge):
|
36
255
|
|
37
256
|
capucine update
|
38
257
|
|
39
|
-
|
258
|
+
If you know what you're doing, you can update them with rubygems :
|
259
|
+
|
260
|
+
gem install sass
|
261
|
+
gem install compass
|
262
|
+
gem install coffeescript
|
263
|
+
|
264
|
+
Quick Help :
|
40
265
|
|
41
266
|
capucine help
|
42
267
|
|
43
|
-
or
|
44
268
|
|
45
|
-
|
269
|
+
### There are shortcuts :
|
270
|
+
|
271
|
+
capucine i == capucine init
|
272
|
+
capucine n == capucine new
|
273
|
+
|
274
|
+
capucine c == capucine compile
|
275
|
+
capucine w == capucine watch
|
276
|
+
capucine j == capucine js
|
277
|
+
|
278
|
+
capucine h == capucine help
|
279
|
+
capucine u == capucine update
|
280
|
+
capucine cl == capucine clean
|
281
|
+
|
282
|
+
# CONFIG : capucine.yaml
|
283
|
+
|
284
|
+
All directories are relative to the root project (the parent directory of the `capucine.yaml` file)
|
285
|
+
|
286
|
+
### Sass :
|
287
|
+
|
288
|
+
- `use_libsass` : For the future.
|
289
|
+
- `sass_images_dir` : For Compass.
|
290
|
+
- `sass_output_dir` : Where your Sass will be compiled.
|
291
|
+
- `sass_line_comments` : Remove line comments for the output.
|
292
|
+
- `sass_css_generated_style` : expanded (dev), compact, or compressed (prod).
|
293
|
+
- `sass_options` : Raw Sass options. Will be passed to Compass configuration.
|
294
|
+
- `compass_config` : Passed to Compass config.
|
295
|
+
|
296
|
+
- `compass_plugins` : A list of plugins. `gem_name` or `plugin_name|gem_name`
|
297
|
+
Ex : `- compass-capucine` or `- compass_twitter_bootstrap`.
|
298
|
+
|
299
|
+
|
300
|
+
- `sass_import_css` : True or False. For using the import system.
|
301
|
+
- `sass_import_formats` : Can be `css to scss`, `css to sass`, `scss to sass`, or `sass to scss`.
|
302
|
+
|
303
|
+
- `sass_import_css_dir` : The input directory for import.
|
304
|
+
- `sass_import_output_dir` : Where your CSS will be compile.
|
305
|
+
|
306
|
+
|
307
|
+
### CoffeeScript :
|
308
|
+
|
309
|
+
- `coffeescript_bare` : Use the `--bare` option for CoffeeScript.
|
310
|
+
- `coffeescript_files_dir`: Directory where you place your `.coffee` files.
|
311
|
+
- `coffeescript_output_dir` : Where your `.js` will be generated.
|
312
|
+
|
313
|
+
### Incloudr :
|
314
|
+
|
315
|
+
- `incloudr_output_dir` : Where your modules will be placed.
|
316
|
+
- `incloudr_libs` : A list of library to use. See the documentation above.
|
317
|
+
|
318
|
+
# Contribute to the official repo
|
319
|
+
##### If you want to share you capucine.yaml files :
|
320
|
+
|
321
|
+
- Fork the project.
|
322
|
+
- Create a branch with the Template name (*example: wordpress*).
|
323
|
+
- Add you `capucine.yaml` in the `templates/` directory.
|
324
|
+
- Edit the `templates/README.md` file.
|
325
|
+
- Commit.
|
326
|
+
- Pull Request.
|
327
|
+
- Drink a coffee.
|
328
|
+
|
329
|
+
|
330
|
+
##### If you want to contribute to the core system :
|
331
|
+
|
332
|
+
- Fork the project.
|
333
|
+
- Create a branch with a feature name (*example: github-cdn*).
|
334
|
+
- Edit.
|
335
|
+
- Commit.
|
336
|
+
- Pull Request.
|
337
|
+
- Drink another coffee.
|
338
|
+
|
339
|
+
# TODO
|
340
|
+
- Add NPM support for Incloudr
|
341
|
+
- Add the `clean` option
|
46
342
|
|
47
|
-
Author
|
48
|
-
===
|
343
|
+
# Author
|
49
344
|
|
50
345
|
- [Damian Le Nouaille](http://dln.name/)
|
51
346
|
- [Twitter (@damln)](http://twitter.com/damln)
|
data/Rakefile
CHANGED
@@ -10,27 +10,23 @@ rescue Bundler::BundlerError => e
|
|
10
10
|
exit e.status_code
|
11
11
|
end
|
12
12
|
require 'rake'
|
13
|
-
|
14
13
|
require 'jeweler'
|
14
|
+
|
15
|
+
load 'spec/spec.rake'
|
16
|
+
|
15
17
|
Jeweler::Tasks.new do |gem|
|
16
18
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
19
|
gem.name = "capucine"
|
18
20
|
gem.homepage = "http://capucine.dln.name"
|
19
21
|
gem.license = "MIT"
|
20
22
|
gem.summary = %Q{Tools for frontend developers. Use CoffeeScript and Compass everywhere.}
|
21
|
-
gem.description = %Q{
|
23
|
+
gem.description = %Q{Improve your worlkflow}
|
22
24
|
gem.email = "dam@dln.name"
|
23
25
|
gem.authors = ["Damian Le Nouaille"]
|
24
26
|
# dependencies defined in Gemfile
|
25
27
|
end
|
26
28
|
Jeweler::RubygemsDotOrgTasks.new
|
27
29
|
|
28
|
-
# require 'rake/testtask'
|
29
|
-
# Rake::TestTask.new(:test) do |test|
|
30
|
-
# test.libs << 'lib' << 'test'
|
31
|
-
# test.pattern = 'test/**/test_*.rb'
|
32
|
-
# test.verbose = true
|
33
|
-
# end
|
34
30
|
|
35
31
|
# require 'rcov/rcovtask'
|
36
32
|
# Rcov::RcovTask.new do |test|
|
@@ -40,7 +36,7 @@ Jeweler::RubygemsDotOrgTasks.new
|
|
40
36
|
# test.rcov_opts << '--exclude "gems/*"'
|
41
37
|
# end
|
42
38
|
|
43
|
-
task :default => :
|
39
|
+
task :default => :spec
|
44
40
|
|
45
41
|
# require 'rdoc/task'
|
46
42
|
# Rake::RDocTask.new do |rdoc|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.2.0
|
data/bin/capucine
CHANGED
@@ -1,4 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
+
require 'rubygems' unless defined?(Gem)
|
3
|
+
require 'bundler/setup' if %w(Gemfile .components).all? { |f| File.exist?(f) }
|
4
|
+
|
2
5
|
def fallback_load_path(path)
|
3
6
|
retried = false
|
4
7
|
begin
|
@@ -15,6 +18,7 @@ end
|
|
15
18
|
|
16
19
|
fallback_load_path(File.join(File.dirname(__FILE__), '..', 'lib')) do
|
17
20
|
require 'capucine.rb'
|
18
|
-
require 'commands.rb'
|
19
21
|
end
|
20
|
-
|
22
|
+
|
23
|
+
@cap = Capucine::Main.new
|
24
|
+
@cap.run_command(ARGV)
|
Binary file
|
data/capucine.gemspec
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "capucine"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.2.0"
|
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"]
|
12
|
-
s.date = "2012-
|
13
|
-
s.description = "
|
12
|
+
s.date = "2012-05-28"
|
13
|
+
s.description = "Improve your worlkflow"
|
14
14
|
s.email = "dam@dln.name"
|
15
15
|
s.executables = ["capucine"]
|
16
16
|
s.extra_rdoc_files = [
|
@@ -19,13 +19,15 @@ Gem::Specification.new do |s|
|
|
19
19
|
]
|
20
20
|
s.files = [
|
21
21
|
"Gemfile",
|
22
|
-
"Gemfile.lock",
|
23
22
|
"LICENSE.txt",
|
24
23
|
"README.md",
|
25
24
|
"Rakefile",
|
26
25
|
"VERSION",
|
27
26
|
"bin/capucine",
|
27
|
+
"capucine-logo-mini.png",
|
28
28
|
"capucine.gemspec",
|
29
|
+
"content/default.yaml",
|
30
|
+
"content/options.yaml",
|
29
31
|
"content/shared/capucine.yaml",
|
30
32
|
"content/shared/coffeescript/app.coffee",
|
31
33
|
"content/shared/index.html",
|
@@ -39,17 +41,28 @@ Gem::Specification.new do |s|
|
|
39
41
|
"content/shared/sass/_main.scss",
|
40
42
|
"content/shared/sass/_responsive.scss",
|
41
43
|
"content/shared/sass/screen.scss",
|
42
|
-
"content/templates/capucine.yaml",
|
43
44
|
"content/templates/cmd_help.erb",
|
44
45
|
"content/templates/compass_config.erb",
|
45
46
|
"lib/capucine.rb",
|
47
|
+
"lib/cdnjs.rb",
|
46
48
|
"lib/coffeescript.rb",
|
47
|
-
"lib/commands.rb",
|
48
49
|
"lib/compass-sass.rb",
|
49
50
|
"lib/incloudr.rb",
|
51
|
+
"lib/npm.rb",
|
50
52
|
"lib/settings.rb",
|
51
53
|
"lib/tools.rb",
|
52
|
-
"
|
54
|
+
"lor",
|
55
|
+
"spec/capucine/capucine_spec.rb",
|
56
|
+
"spec/capucine/coffee_spec.rb",
|
57
|
+
"spec/capucine/incloudr_spec.rb",
|
58
|
+
"spec/capucine_coffee.yaml",
|
59
|
+
"spec/capucine_incloudr.yaml",
|
60
|
+
"spec/capucine_incloudr2.yaml",
|
61
|
+
"spec/capucine_incloudr3.yaml",
|
62
|
+
"spec/spec.rake",
|
63
|
+
"spec/spec_helper.rb",
|
64
|
+
"templates/README.md",
|
65
|
+
"templates/sinatra.yaml"
|
53
66
|
]
|
54
67
|
s.homepage = "http://capucine.dln.name"
|
55
68
|
s.licenses = ["MIT"]
|
@@ -62,35 +75,38 @@ Gem::Specification.new do |s|
|
|
62
75
|
|
63
76
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
64
77
|
s.add_runtime_dependency(%q<fssm>, [">= 0"])
|
65
|
-
s.add_runtime_dependency(%q<compass>, ["= 0.12.rc.0"])
|
66
78
|
s.add_runtime_dependency(%q<coffee-script>, [">= 0"])
|
67
79
|
s.add_runtime_dependency(%q<uglifier>, [">= 0"])
|
68
80
|
s.add_runtime_dependency(%q<packr>, [">= 0"])
|
69
81
|
s.add_runtime_dependency(%q<json>, [">= 0"])
|
82
|
+
s.add_runtime_dependency(%q<compass>, [">= 0"])
|
70
83
|
s.add_runtime_dependency(%q<compass-capucine>, [">= 0"])
|
71
|
-
s.add_development_dependency(%q<bundler>, ["
|
72
|
-
s.add_development_dependency(%q<jeweler>, ["
|
84
|
+
s.add_development_dependency(%q<bundler>, [">= 0"])
|
85
|
+
s.add_development_dependency(%q<jeweler>, [">= 0"])
|
86
|
+
s.add_development_dependency(%q<rspec>, [">= 0"])
|
73
87
|
else
|
74
88
|
s.add_dependency(%q<fssm>, [">= 0"])
|
75
|
-
s.add_dependency(%q<compass>, ["= 0.12.rc.0"])
|
76
89
|
s.add_dependency(%q<coffee-script>, [">= 0"])
|
77
90
|
s.add_dependency(%q<uglifier>, [">= 0"])
|
78
91
|
s.add_dependency(%q<packr>, [">= 0"])
|
79
92
|
s.add_dependency(%q<json>, [">= 0"])
|
93
|
+
s.add_dependency(%q<compass>, [">= 0"])
|
80
94
|
s.add_dependency(%q<compass-capucine>, [">= 0"])
|
81
|
-
s.add_dependency(%q<bundler>, ["
|
82
|
-
s.add_dependency(%q<jeweler>, ["
|
95
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
96
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
97
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
83
98
|
end
|
84
99
|
else
|
85
100
|
s.add_dependency(%q<fssm>, [">= 0"])
|
86
|
-
s.add_dependency(%q<compass>, ["= 0.12.rc.0"])
|
87
101
|
s.add_dependency(%q<coffee-script>, [">= 0"])
|
88
102
|
s.add_dependency(%q<uglifier>, [">= 0"])
|
89
103
|
s.add_dependency(%q<packr>, [">= 0"])
|
90
104
|
s.add_dependency(%q<json>, [">= 0"])
|
105
|
+
s.add_dependency(%q<compass>, [">= 0"])
|
91
106
|
s.add_dependency(%q<compass-capucine>, [">= 0"])
|
92
|
-
s.add_dependency(%q<bundler>, ["
|
93
|
-
s.add_dependency(%q<jeweler>, ["
|
107
|
+
s.add_dependency(%q<bundler>, [">= 0"])
|
108
|
+
s.add_dependency(%q<jeweler>, [">= 0"])
|
109
|
+
s.add_dependency(%q<rspec>, [">= 0"])
|
94
110
|
end
|
95
111
|
end
|
96
112
|
|
@@ -1,14 +1,15 @@
|
|
1
1
|
sass: false
|
2
|
-
|
2
|
+
coffee: false
|
3
3
|
incloudr: false
|
4
|
-
templates: false
|
5
4
|
|
6
5
|
# ----------------------------------------
|
6
|
+
use_libsass: false
|
7
|
+
|
7
8
|
sass_images_dir: public/images
|
8
9
|
sass_files_dir: sass
|
9
10
|
sass_output_dir: public/css_generated
|
10
11
|
sass_line_comments: false
|
11
|
-
sass_css_generated_style: expanded
|
12
|
+
sass_css_generated_style: expanded
|
12
13
|
sass_options: '{:cache => false}'
|
13
14
|
|
14
15
|
compass_config: {}
|
@@ -27,5 +28,4 @@ coffeescript_output_dir: public/js_generated
|
|
27
28
|
incloudr_output_dir: public/js_generated/modules
|
28
29
|
incloudr_libs: []
|
29
30
|
|
30
|
-
# DOCUMENTATION :
|
31
|
-
# http:// capucine.dln.name
|
31
|
+
# DOCUMENTATION : http://capucine.dln.name
|
@@ -1,5 +1,5 @@
|
|
1
1
|
sass: true
|
2
|
-
#
|
2
|
+
# coffee: true
|
3
3
|
# incloudr: true
|
4
4
|
|
5
5
|
# # ----------------------------------------
|
@@ -25,6 +25,6 @@ sass: true
|
|
25
25
|
|
26
26
|
# incloudr_output_dir: public/js_generated/modules
|
27
27
|
# incloudr_libs:
|
28
|
-
# - jquery
|
28
|
+
# - name: jquery
|
29
29
|
|
30
30
|
# DOCUMENTATION : http:// capucine.dln.name
|
data/content/shared/index.html
CHANGED
@@ -32,10 +32,10 @@
|
|
32
32
|
</div>
|
33
33
|
|
34
34
|
</div>
|
35
|
-
<script src="public/js_generated/app.js"></script>
|
35
|
+
<!-- <script src="public/js_generated/app.js"></script> -->
|
36
36
|
<!-- <script src="public/js_generated/app.min.js"></script> -->
|
37
37
|
|
38
|
-
<!--[if
|
38
|
+
<!--[if lte IE 7 ]>
|
39
39
|
<script defer src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
|
40
40
|
<script defer>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
|
41
41
|
<![endif]-->
|
@@ -1,5 +1,7 @@
|
|
1
|
-
@import "compass"; // COMPASS
|
2
|
-
@import "compass
|
1
|
+
// @import "compass"; // COMPASS ALL
|
2
|
+
@import "compass/css3"; // COMPASS CSS3
|
3
|
+
@import "compass/reset"; // COMPASS RESET
|
4
|
+
|
3
5
|
@import "compass-capucine"; // CAPUCINE HELPERS =>
|
4
6
|
|
5
7
|
@import "./main";
|