Skip to content

Commit ad7eef3

Browse files
committed
cleanup comments, bump a pre-version
1 parent 84f1751 commit ad7eef3

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

ext/hashes.c

-2
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ static VALUE param_hash_nested_aset(VALUE output, VALUE keys, VALUE value) {
240240
}
241241

242242
// s, len is the raw kv string
243-
// returns trailing length
244243
static void _cookie_kv(VALUE output, const char* s, long len) {
245244
// strip
246245
for (; len > 0; len--, s++) {
@@ -291,7 +290,6 @@ static VALUE param_hash_parse_cookie(VALUE _, VALUE output, VALUE str) {
291290
}
292291

293292
// s, len is the raw kv string
294-
// returns trailing length
295293
static void _param_kv(VALUE output, const char* s, long len) {
296294
// strip
297295
for (; len > 0; len--, s++) {

lib/nyara/templates/Linnerfile

+17
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,45 @@
1+
# -*- mode: yaml -*-
2+
# vim: set syntax=yaml:
13
paths:
4+
# source
25
app: "app/assets"
6+
# destination
37
public: "public"
8+
49
groups:
10+
# js src
511
scripts:
12+
# load paths for require("some-module")
613
paths:
714
- app/assets/scripts
15+
# assemble k with v
816
concat:
917
"/assets/app.js": "app/assets/**/*.{js,coffee}"
18+
# manage js module dependencies by specifying the concat order
1019
order:
20+
# "..." means any other files
1121
- "..."
1222
- app/assets/scripts/app.coffee
23+
24+
# css src
1325
styles:
26+
# load paths for @import "some-module"
1427
paths:
1528
- app/assets/styles
1629
concat:
1730
"/assets/app.css": "app/assets/**/[a-z]*.{css,scss,sass}"
31+
32+
# files to copy directly into `public`
1833
files:
1934
paths:
2035
- app/assets/files
2136
copy:
2237
"/": "app/assets/**/*.{ico,txt}"
38+
2339
modules:
2440
wrapper: "cmd"
2541
ignored: "{vendor/**/*,app/assets/scripts/app.{js,coffee}}"
2642
definition: "/assets/app.js"
43+
2744
revision: true
2845
notification: true

nyara.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = "nyara"
3-
s.version = "0.1.pre.1"
3+
s.version = "0.1.pre.2"
44
s.author = "Zete Lui"
55
s.email = "[email protected]"
66
s.homepage = "https://github.com/luikore/nyara"

0 commit comments

Comments
 (0)