zassets 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,49 +1,76 @@
1
1
  z'assets
2
2
  ========
3
3
 
4
- z'assets is a tool to manage assets for your web application. It uses
5
- sprockets to handle the assets and sprockets-helpers to provide
6
- required helpers.
4
+ z'assets is a tool based on [Sprockets][] for serving and compiling
5
+ web assets. When serving over HTTP (intended for a development
6
+ environment), compilation through various preprocessors will happen on
7
+ the fly. For production environment all specified assets are built as
8
+ files in a directory tree similar to their sources, except filenames
9
+ will include a hash to help caching.
7
10
 
8
- Currently the following asset kinds are handled:
11
+ [Sprockets]: https://github.com/sstephenson/sprockets
12
+
13
+ Integration should be doable in any web application written in any
14
+ language, provided that you can parse JSON.
15
+
16
+ Currently the following asset kinds are handled:
9
17
 
10
18
  * JavaScript
11
19
  * CoffeeScript
12
20
  * CSS
13
- * LESS
21
+ * LESS (with a modified version of tilt original less engine)
22
+ * Static files
14
23
 
15
24
 
16
25
  Usage
17
26
  -----
18
27
 
19
- Create a `config/zassets.yaml` file in your app:
28
+ Create a `config/zassets.yaml` file in your application root
29
+ directory:
20
30
 
21
- verbose: false
22
- host: ::1
23
- port: 9292
24
31
  base_url: '/assets'
25
32
  paths:
26
33
  - 'assets/styles'
34
+ - 'assets/scripts'
27
35
  public_path: 'public'
28
36
  compile_path: 'public/assets'
29
37
  compile:
30
38
  - 'main.css'
31
39
 
32
- Then you can launch development HTTP server with the following command:
40
+ Then you can launch development HTTP server with the following
41
+ command:
33
42
 
34
43
  zassets serve
35
44
 
36
- And compile your assets:
45
+ And build your assets:
37
46
 
38
- zassets
47
+ zassets compile
39
48
 
40
- You can override some config options using command line arguments, the
41
- complete list is printed on the standard output on `zassets --help`.
49
+ You can override some config options using command line arguments,
50
+ the complete list is printed on the standard output on
51
+ `zassets --help`.
42
52
 
43
53
 
44
54
  Installation
45
55
  ------------
46
56
 
47
- Assuming you have a working rubygems installation:
57
+ Assuming you have a working rubygems installation:
48
58
 
49
59
  gem install zassets
60
+
61
+
62
+ Similar projects
63
+ ----------------
64
+
65
+ FIXME
66
+
67
+
68
+ TODO
69
+ ----
70
+
71
+ * *Test* all that code!
72
+
73
+ * Replace compile argument (config?) with build?
74
+
75
+ * Verify how sprockets-helpers is useful and either add usages
76
+ in documentation or remove it.
@@ -1,3 +1,3 @@
1
1
  module ZAssets
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
data/zassets.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
21
21
 
22
22
  s.add_dependency 'puma', '~> 1.6'
23
23
 
24
- s.add_dependency 'therubyracer', '~> 0.10'
24
+ s.add_dependency 'therubyracer', '~> 0.11.0beta8'
25
25
  s.add_dependency 'coffee-script', '~> 2.2'
26
26
  s.add_dependency 'less', '~> 2.2'
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zassets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-08-21 00:00:00.000000000 Z
12
+ date: 2012-08-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sprockets
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ~>
68
68
  - !ruby/object:Gem::Version
69
- version: '0.10'
69
+ version: 0.11.0beta8
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
@@ -74,7 +74,7 @@ dependencies:
74
74
  requirements:
75
75
  - - ~>
76
76
  - !ruby/object:Gem::Version
77
- version: '0.10'
77
+ version: 0.11.0beta8
78
78
  - !ruby/object:Gem::Dependency
79
79
  name: coffee-script
80
80
  requirement: !ruby/object:Gem::Requirement
@@ -153,5 +153,6 @@ rubyforge_project:
153
153
  rubygems_version: 1.8.23
154
154
  signing_key:
155
155
  specification_version: 3
156
- summary: zassets-0.1.1
156
+ summary: zassets-0.1.2
157
157
  test_files: []
158
+ has_rdoc: