dugway 0.6.7 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +9 -9
  3. data/dugway.gemspec +2 -0
  4. data/lib/dugway.rb +3 -2
  5. data/lib/dugway/application.rb +4 -4
  6. data/lib/dugway/cli/templates/source/{styles.css → theme.css} +0 -0
  7. data/lib/dugway/cli/templates/source/{scripts.js → theme.js} +0 -0
  8. data/lib/dugway/controller.rb +4 -7
  9. data/lib/dugway/liquid/filters/url_filters.rb +2 -2
  10. data/lib/dugway/liquifier.rb +1 -1
  11. data/lib/dugway/theme.rb +3 -3
  12. data/lib/dugway/version.rb +1 -1
  13. data/spec/features/page_rendering_spec.rb +22 -6
  14. data/spec/fixtures/theme/javascripts/one.js +1 -3
  15. data/spec/fixtures/theme/javascripts/two.js.coffee +1 -2
  16. data/spec/fixtures/theme/{styles.css → theme.css} +0 -0
  17. data/spec/fixtures/theme/{scripts.js → theme.js} +0 -0
  18. data/spec/units/dugway/request_spec.rb +42 -42
  19. data/spec/units/dugway/template_spec.rb +31 -31
  20. data/spec/units/dugway/theme_spec.rb +11 -11
  21. metadata +41 -91
  22. data/lib/dugway/data/locales/cs.yml +0 -26
  23. data/lib/dugway/data/locales/da.yml +0 -26
  24. data/lib/dugway/data/locales/en-AU.yml +0 -26
  25. data/lib/dugway/data/locales/en-GB.yml +0 -26
  26. data/lib/dugway/data/locales/en-PH.yml +0 -27
  27. data/lib/dugway/data/locales/en-US.yml +0 -26
  28. data/lib/dugway/data/locales/es-MX.yml +0 -26
  29. data/lib/dugway/data/locales/eu.yml +0 -26
  30. data/lib/dugway/data/locales/gsw-CH.yml +0 -26
  31. data/lib/dugway/data/locales/hu.yml +0 -26
  32. data/lib/dugway/data/locales/il.yml +0 -26
  33. data/lib/dugway/data/locales/ja.yml +0 -30
  34. data/lib/dugway/data/locales/ms-MY.yml +0 -26
  35. data/lib/dugway/data/locales/nb.yml +0 -22
  36. data/lib/dugway/data/locales/pl.yml +0 -27
  37. data/lib/dugway/data/locales/pt-BR.yml +0 -26
  38. data/lib/dugway/data/locales/sv-SE.yml +0 -26
  39. data/lib/dugway/data/locales/th.yml +0 -26
  40. data/lib/dugway/data/locales/tr.yml +0 -29
  41. data/lib/dugway/data/locales/zh-TW.yml +0 -30
  42. data/lib/dugway/data/theme_fonts.yml +0 -151
  43. data/lib/dugway/theme_font.rb +0 -68
  44. data/spec/units/dugway/theme_font_spec.rb +0 -136
@@ -1,26 +0,0 @@
1
- cs:
2
- number:
3
- format:
4
- separator: ","
5
- delimiter: ""
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%n%u"
13
- unit: "Kč"
14
- separator: ","
15
- delimiter: ""
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ""
@@ -1,26 +0,0 @@
1
- da:
2
- number:
3
- format:
4
- separator: ","
5
- delimiter: "."
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "kr"
14
- separator: ","
15
- delimiter: "."
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: "."
@@ -1,26 +0,0 @@
1
- "en-AU":
2
- number:
3
- format:
4
- separator: "."
5
- delimiter: ","
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "$"
14
- separator: "."
15
- delimiter: ","
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ","
@@ -1,26 +0,0 @@
1
- "en-GB":
2
- number:
3
- format:
4
- separator: "."
5
- delimiter: ","
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "£"
14
- separator: "."
15
- delimiter: ","
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ","
@@ -1,27 +0,0 @@
1
- "en-PH":
2
- number:
3
- format:
4
- separator: "."
5
- delimiter: ","
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "₱"
14
- separator: "."
15
- delimiter: ","
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ","
27
-
@@ -1,26 +0,0 @@
1
- "en-US":
2
- number:
3
- format:
4
- separator: "."
5
- delimiter: ","
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "$"
14
- separator: "."
15
- delimiter: ","
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ","
@@ -1,26 +0,0 @@
1
- "es-MX":
2
- number:
3
- format:
4
- delimiter: ","
5
- precision: 2
6
- significant: false
7
- strip_insignificant_zeros: false
8
- separator: "."
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "$"
14
- separator: "."
15
- delimiter: ","
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ","
@@ -1,26 +0,0 @@
1
- eu:
2
- number:
3
- format:
4
- separator: "."
5
- delimiter: ","
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "€"
14
- separator: "."
15
- delimiter: ","
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ","
@@ -1,26 +0,0 @@
1
- "gsw-CH":
2
- number:
3
- format:
4
- precision: 2
5
- separator: '.'
6
- delimiter: ","
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- unit: 'SFr.'
13
- format: '%u%n'
14
- separator: '.'
15
- delimiter: ","
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: "'"
23
-
24
- precision:
25
- format:
26
- delimiter: ","
@@ -1,26 +0,0 @@
1
- hu:
2
- number:
3
- format:
4
- precision: 2
5
- separator: ","
6
- delimiter: ""
7
-
8
- currency:
9
- format:
10
- unit: 'Ft'
11
- precision: 0
12
- format: '%n%u'
13
- separator: ","
14
- delimiter: ""
15
-
16
- percentage:
17
- format:
18
- delimiter: ""
19
-
20
- precision:
21
- format:
22
- delimiter: ""
23
-
24
- paypal:
25
- format:
26
- precision: 0
@@ -1,26 +0,0 @@
1
- il:
2
- number:
3
- format:
4
- separator: "."
5
- delimiter: ","
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "₪"
14
- separator: "."
15
- delimiter: ","
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ","
@@ -1,30 +0,0 @@
1
- ja:
2
- number:
3
- format:
4
- separator: "."
5
- delimiter: ","
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "¥"
14
- separator: "."
15
- delimiter: ","
16
- precision: 0
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ","
27
-
28
- paypal:
29
- format:
30
- precision: 0
@@ -1,26 +0,0 @@
1
- "ms-MY":
2
- number:
3
- format:
4
- separator: "."
5
- delimiter: ","
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "RM"
14
- separator: "."
15
- delimiter: ","
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ","
@@ -1,22 +0,0 @@
1
- nb:
2
- number:
3
- format: &number_format
4
- precision: 2
5
- separator: ","
6
- delimiter: ""
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- unit: "kr"
13
- format: "%n%u"
14
- <<: *number_format
15
-
16
- percentage:
17
- format:
18
- delimiter: ""
19
-
20
- precision:
21
- format:
22
- delimiter: ""
@@ -1,27 +0,0 @@
1
- pl:
2
- number:
3
- format:
4
- separator: ","
5
- delimiter: ""
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%n%u"
13
- unit: "zł"
14
- separator: ","
15
- delimiter: ""
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: true
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ""
27
-
@@ -1,26 +0,0 @@
1
- "pt-BR":
2
- number:
3
- format:
4
- separator: ","
5
- delimiter: "."
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%u%n"
13
- unit: "R$"
14
- separator: ","
15
- delimiter: "."
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: "."
@@ -1,26 +0,0 @@
1
- "sv-SE":
2
- number:
3
- format:
4
- separator: ","
5
- delimiter: ""
6
- precision: 2
7
- significant: false
8
- strip_insignificant_zeros: false
9
-
10
- currency:
11
- format:
12
- format: "%n%u"
13
- unit: "kr"
14
- separator: ","
15
- delimiter: ""
16
- precision: 2
17
- significant: false
18
- strip_insignificant_zeros: false
19
-
20
- percentage:
21
- format:
22
- delimiter: ""
23
-
24
- precision:
25
- format:
26
- delimiter: ""