radius 0.7.4 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG +8 -0
  3. data/CONTRIBUTORS +2 -0
  4. data/Gemfile +16 -2
  5. data/README.rdoc +2 -6
  6. data/Rakefile +10 -1
  7. data/coverage/assets/{0.7.1 → 0.10.2}/application.css +52 -363
  8. data/coverage/assets/{0.7.1 → 0.10.2}/application.js +1153 -72
  9. data/coverage/assets/0.10.2/colorbox/border.png +0 -0
  10. data/coverage/assets/0.10.2/colorbox/controls.png +0 -0
  11. data/coverage/assets/0.10.2/colorbox/loading.gif +0 -0
  12. data/coverage/assets/0.10.2/colorbox/loading_background.png +0 -0
  13. data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_asc.png +0 -0
  14. data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_asc_disabled.png +0 -0
  15. data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_both.png +0 -0
  16. data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_desc.png +0 -0
  17. data/coverage/assets/0.13.1/DataTables-1.10.20/images/sort_desc_disabled.png +0 -0
  18. data/coverage/assets/0.13.1/application.css +1 -0
  19. data/coverage/assets/0.13.1/application.js +7 -0
  20. data/coverage/assets/0.13.1/colorbox/border.png +0 -0
  21. data/coverage/assets/0.13.1/colorbox/controls.png +0 -0
  22. data/coverage/assets/0.13.1/colorbox/loading.gif +0 -0
  23. data/coverage/assets/0.13.1/colorbox/loading_background.png +0 -0
  24. data/coverage/assets/0.13.1/favicon_green.png +0 -0
  25. data/coverage/assets/0.13.1/favicon_red.png +0 -0
  26. data/coverage/assets/0.13.1/favicon_yellow.png +0 -0
  27. data/coverage/assets/0.13.1/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  28. data/coverage/assets/0.13.1/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  29. data/coverage/assets/0.13.1/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  30. data/coverage/assets/0.13.1/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  31. data/coverage/assets/0.13.1/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  32. data/coverage/assets/0.13.1/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  33. data/coverage/assets/0.13.1/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  34. data/coverage/assets/0.13.1/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  35. data/coverage/assets/0.13.1/images/ui-icons_222222_256x240.png +0 -0
  36. data/coverage/assets/0.13.1/images/ui-icons_2e83ff_256x240.png +0 -0
  37. data/coverage/assets/0.13.1/images/ui-icons_454545_256x240.png +0 -0
  38. data/coverage/assets/0.13.1/images/ui-icons_888888_256x240.png +0 -0
  39. data/coverage/assets/0.13.1/images/ui-icons_cd0a0a_256x240.png +0 -0
  40. data/coverage/assets/0.13.1/loading.gif +0 -0
  41. data/coverage/assets/0.13.1/magnify.png +0 -0
  42. data/lib/radius/context.rb +2 -1
  43. data/lib/radius/delegating_open_struct.rb +15 -19
  44. data/lib/radius/ord_string.rb +6 -8
  45. data/lib/radius/parser/JavaScanner.class +0 -0
  46. data/lib/radius/parser/JavaScanner.java +211 -161
  47. data/lib/radius/parser/JavaScanner.rl +36 -7
  48. data/lib/radius/parser/scanner.rb +2 -2
  49. data/lib/radius/parser.rb +69 -40
  50. data/lib/radius/utility.rb +5 -14
  51. data/lib/radius/version.rb +1 -1
  52. data/lib/radius.rb +11 -11
  53. data/pkg/radius-0.8.0.gem +0 -0
  54. data/radius.gemspec +12 -4
  55. data/test/context_test.rb +13 -5
  56. data/test/multithreaded_test.rb +60 -43
  57. data/test/ord_string_test.rb +3 -3
  58. data/test/parser_test.rb +11 -3
  59. data/test/quickstart_test.rb +2 -2
  60. data/test/squiggle_test.rb +3 -3
  61. data/test/test_helper.rb +21 -26
  62. data/test/utility_test.rb +3 -3
  63. metadata +86 -70
  64. data/coverage/assets/0.7.1/fancybox/blank.gif +0 -0
  65. data/coverage/assets/0.7.1/fancybox/fancy_close.png +0 -0
  66. data/coverage/assets/0.7.1/fancybox/fancy_loading.png +0 -0
  67. data/coverage/assets/0.7.1/fancybox/fancy_nav_left.png +0 -0
  68. data/coverage/assets/0.7.1/fancybox/fancy_nav_right.png +0 -0
  69. data/coverage/assets/0.7.1/fancybox/fancy_shadow_e.png +0 -0
  70. data/coverage/assets/0.7.1/fancybox/fancy_shadow_n.png +0 -0
  71. data/coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png +0 -0
  72. data/coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png +0 -0
  73. data/coverage/assets/0.7.1/fancybox/fancy_shadow_s.png +0 -0
  74. data/coverage/assets/0.7.1/fancybox/fancy_shadow_se.png +0 -0
  75. data/coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png +0 -0
  76. data/coverage/assets/0.7.1/fancybox/fancy_shadow_w.png +0 -0
  77. data/coverage/assets/0.7.1/fancybox/fancy_title_left.png +0 -0
  78. data/coverage/assets/0.7.1/fancybox/fancy_title_main.png +0 -0
  79. data/coverage/assets/0.7.1/fancybox/fancy_title_over.png +0 -0
  80. data/coverage/assets/0.7.1/fancybox/fancy_title_right.png +0 -0
  81. data/coverage/assets/0.7.1/fancybox/fancybox-x.png +0 -0
  82. data/coverage/assets/0.7.1/fancybox/fancybox-y.png +0 -0
  83. data/coverage/assets/0.7.1/fancybox/fancybox.png +0 -0
  84. data/pkg/radius-0.7.0.prerelease.gem +0 -0
  85. /data/coverage/assets/{0.7.1 → 0.10.2}/favicon_green.png +0 -0
  86. /data/coverage/assets/{0.7.1 → 0.10.2}/favicon_red.png +0 -0
  87. /data/coverage/assets/{0.7.1 → 0.10.2}/favicon_yellow.png +0 -0
  88. /data/coverage/assets/{0.7.1 → 0.10.2}/loading.gif +0 -0
  89. /data/coverage/assets/{0.7.1 → 0.10.2}/magnify.png +0 -0
  90. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  91. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  92. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  93. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  94. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  95. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  96. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  97. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  98. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_222222_256x240.png +0 -0
  99. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  100. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_454545_256x240.png +0 -0
  101. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_888888_256x240.png +0 -0
  102. /data/coverage/assets/{0.7.1 → 0.10.2}/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
data/test/utility_test.rb CHANGED
@@ -1,7 +1,7 @@
1
- require 'test/unit'
1
+ require 'test_helper'
2
2
  require 'radius'
3
3
 
4
- class RadiusUtilityTest < Test::Unit::TestCase
4
+ class RadiusUtilityTest < Minitest::Test
5
5
 
6
6
  def test_symbolize_keys
7
7
  h = Radius::Utility.symbolize_keys({ 'a' => 1, :b => 2 })
@@ -27,4 +27,4 @@ class RadiusUtilityTest < Test::Unit::TestCase
27
27
  def test_array_to_s
28
28
  assert_equal Radius::Utility.array_to_s(['a', 1, [:c], 'brain'.freeze]), 'a1cbrain'
29
29
  end
30
- end
30
+ end
metadata CHANGED
@@ -1,22 +1,24 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radius
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
5
- prerelease:
4
+ version: 0.8.0
6
5
  platform: ruby
7
6
  authors:
8
- - John W. Long (me@johnwlong.com)
9
- - David Chelimsky (dchelimsky@gmail.com)
10
- - Bryce Kerley (bkerley@brycekerley.net)
11
- autorequire:
7
+ - John W. Long
8
+ - David Chelimsky
9
+ - Bryce Kerley
10
+ autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2013-09-19 00:00:00.000000000 Z
13
+ date: 2024-12-24 00:00:00.000000000 Z
15
14
  dependencies: []
16
15
  description: Radius is a powerful tag-based template language for Ruby inspired by
17
16
  the template languages used in MovableType and TextPattern. It uses tags similar
18
17
  to XML, but can be used to generate any form of plain text (HTML, e-mail, etc...).
19
- email: me@johnwlong.com
18
+ email:
19
+ - me@johnwlong.com
20
+ - dchelimsky@gmail.com
21
+ - bkerley@brycekerley.net
20
22
  executables: []
21
23
  extensions: []
22
24
  extra_rdoc_files:
@@ -26,74 +28,88 @@ extra_rdoc_files:
26
28
  - QUICKSTART.rdoc
27
29
  - README.rdoc
28
30
  files:
31
+ - ".gitignore"
29
32
  - CHANGELOG
30
33
  - CONTRIBUTORS
31
- - coverage/assets/0.7.1/application.css
32
- - coverage/assets/0.7.1/application.js
33
- - coverage/assets/0.7.1/fancybox/blank.gif
34
- - coverage/assets/0.7.1/fancybox/fancy_close.png
35
- - coverage/assets/0.7.1/fancybox/fancy_loading.png
36
- - coverage/assets/0.7.1/fancybox/fancy_nav_left.png
37
- - coverage/assets/0.7.1/fancybox/fancy_nav_right.png
38
- - coverage/assets/0.7.1/fancybox/fancy_shadow_e.png
39
- - coverage/assets/0.7.1/fancybox/fancy_shadow_n.png
40
- - coverage/assets/0.7.1/fancybox/fancy_shadow_ne.png
41
- - coverage/assets/0.7.1/fancybox/fancy_shadow_nw.png
42
- - coverage/assets/0.7.1/fancybox/fancy_shadow_s.png
43
- - coverage/assets/0.7.1/fancybox/fancy_shadow_se.png
44
- - coverage/assets/0.7.1/fancybox/fancy_shadow_sw.png
45
- - coverage/assets/0.7.1/fancybox/fancy_shadow_w.png
46
- - coverage/assets/0.7.1/fancybox/fancy_title_left.png
47
- - coverage/assets/0.7.1/fancybox/fancy_title_main.png
48
- - coverage/assets/0.7.1/fancybox/fancy_title_over.png
49
- - coverage/assets/0.7.1/fancybox/fancy_title_right.png
50
- - coverage/assets/0.7.1/fancybox/fancybox-x.png
51
- - coverage/assets/0.7.1/fancybox/fancybox-y.png
52
- - coverage/assets/0.7.1/fancybox/fancybox.png
53
- - coverage/assets/0.7.1/favicon_green.png
54
- - coverage/assets/0.7.1/favicon_red.png
55
- - coverage/assets/0.7.1/favicon_yellow.png
56
- - coverage/assets/0.7.1/loading.gif
57
- - coverage/assets/0.7.1/magnify.png
58
- - coverage/assets/0.7.1/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
59
- - coverage/assets/0.7.1/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
60
- - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
61
- - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
62
- - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_dadada_1x400.png
63
- - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
64
- - coverage/assets/0.7.1/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
65
- - coverage/assets/0.7.1/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
66
- - coverage/assets/0.7.1/smoothness/images/ui-icons_222222_256x240.png
67
- - coverage/assets/0.7.1/smoothness/images/ui-icons_2e83ff_256x240.png
68
- - coverage/assets/0.7.1/smoothness/images/ui-icons_454545_256x240.png
69
- - coverage/assets/0.7.1/smoothness/images/ui-icons_888888_256x240.png
70
- - coverage/assets/0.7.1/smoothness/images/ui-icons_cd0a0a_256x240.png
71
34
  - Gemfile
35
+ - LICENSE
36
+ - QUICKSTART.rdoc
37
+ - README.rdoc
38
+ - Rakefile
39
+ - coverage/assets/0.10.2/application.css
40
+ - coverage/assets/0.10.2/application.js
41
+ - coverage/assets/0.10.2/colorbox/border.png
42
+ - coverage/assets/0.10.2/colorbox/controls.png
43
+ - coverage/assets/0.10.2/colorbox/loading.gif
44
+ - coverage/assets/0.10.2/colorbox/loading_background.png
45
+ - coverage/assets/0.10.2/favicon_green.png
46
+ - coverage/assets/0.10.2/favicon_red.png
47
+ - coverage/assets/0.10.2/favicon_yellow.png
48
+ - coverage/assets/0.10.2/loading.gif
49
+ - coverage/assets/0.10.2/magnify.png
50
+ - coverage/assets/0.10.2/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
51
+ - coverage/assets/0.10.2/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
52
+ - coverage/assets/0.10.2/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
53
+ - coverage/assets/0.10.2/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
54
+ - coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_dadada_1x400.png
55
+ - coverage/assets/0.10.2/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
56
+ - coverage/assets/0.10.2/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
57
+ - coverage/assets/0.10.2/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
58
+ - coverage/assets/0.10.2/smoothness/images/ui-icons_222222_256x240.png
59
+ - coverage/assets/0.10.2/smoothness/images/ui-icons_2e83ff_256x240.png
60
+ - coverage/assets/0.10.2/smoothness/images/ui-icons_454545_256x240.png
61
+ - coverage/assets/0.10.2/smoothness/images/ui-icons_888888_256x240.png
62
+ - coverage/assets/0.10.2/smoothness/images/ui-icons_cd0a0a_256x240.png
63
+ - coverage/assets/0.13.1/DataTables-1.10.20/images/sort_asc.png
64
+ - coverage/assets/0.13.1/DataTables-1.10.20/images/sort_asc_disabled.png
65
+ - coverage/assets/0.13.1/DataTables-1.10.20/images/sort_both.png
66
+ - coverage/assets/0.13.1/DataTables-1.10.20/images/sort_desc.png
67
+ - coverage/assets/0.13.1/DataTables-1.10.20/images/sort_desc_disabled.png
68
+ - coverage/assets/0.13.1/application.css
69
+ - coverage/assets/0.13.1/application.js
70
+ - coverage/assets/0.13.1/colorbox/border.png
71
+ - coverage/assets/0.13.1/colorbox/controls.png
72
+ - coverage/assets/0.13.1/colorbox/loading.gif
73
+ - coverage/assets/0.13.1/colorbox/loading_background.png
74
+ - coverage/assets/0.13.1/favicon_green.png
75
+ - coverage/assets/0.13.1/favicon_red.png
76
+ - coverage/assets/0.13.1/favicon_yellow.png
77
+ - coverage/assets/0.13.1/images/ui-bg_flat_0_aaaaaa_40x100.png
78
+ - coverage/assets/0.13.1/images/ui-bg_flat_75_ffffff_40x100.png
79
+ - coverage/assets/0.13.1/images/ui-bg_glass_55_fbf9ee_1x400.png
80
+ - coverage/assets/0.13.1/images/ui-bg_glass_65_ffffff_1x400.png
81
+ - coverage/assets/0.13.1/images/ui-bg_glass_75_dadada_1x400.png
82
+ - coverage/assets/0.13.1/images/ui-bg_glass_75_e6e6e6_1x400.png
83
+ - coverage/assets/0.13.1/images/ui-bg_glass_95_fef1ec_1x400.png
84
+ - coverage/assets/0.13.1/images/ui-bg_highlight-soft_75_cccccc_1x100.png
85
+ - coverage/assets/0.13.1/images/ui-icons_222222_256x240.png
86
+ - coverage/assets/0.13.1/images/ui-icons_2e83ff_256x240.png
87
+ - coverage/assets/0.13.1/images/ui-icons_454545_256x240.png
88
+ - coverage/assets/0.13.1/images/ui-icons_888888_256x240.png
89
+ - coverage/assets/0.13.1/images/ui-icons_cd0a0a_256x240.png
90
+ - coverage/assets/0.13.1/loading.gif
91
+ - coverage/assets/0.13.1/magnify.png
92
+ - lib/radius.rb
72
93
  - lib/radius/context.rb
73
94
  - lib/radius/delegating_open_struct.rb
74
95
  - lib/radius/error.rb
75
96
  - lib/radius/ord_string.rb
76
97
  - lib/radius/parse_tag.rb
77
- - lib/radius/parser/java_scanner.jar
98
+ - lib/radius/parser.rb
78
99
  - lib/radius/parser/JavaScanner$Flavor.class
79
100
  - lib/radius/parser/JavaScanner$Tag.class
80
101
  - lib/radius/parser/JavaScanner.class
81
102
  - lib/radius/parser/JavaScanner.java
82
103
  - lib/radius/parser/JavaScanner.rl
104
+ - lib/radius/parser/java_scanner.jar
83
105
  - lib/radius/parser/scanner.rb
84
106
  - lib/radius/parser/squiggle_scanner.rb
85
- - lib/radius/parser.rb
86
107
  - lib/radius/tag_binding.rb
87
108
  - lib/radius/tag_definitions.rb
88
109
  - lib/radius/utility.rb
89
110
  - lib/radius/version.rb
90
- - lib/radius.rb
91
- - LICENSE
92
- - pkg/radius-0.7.0.prerelease.gem
93
- - QUICKSTART.rdoc
111
+ - pkg/radius-0.8.0.gem
94
112
  - radius.gemspec
95
- - Rakefile
96
- - README.rdoc
97
113
  - tasks/rdoc.rake
98
114
  - tasks/rubinius.rake
99
115
  - tasks/test.rake
@@ -106,30 +122,30 @@ files:
106
122
  - test/squiggle_test.rb
107
123
  - test/test_helper.rb
108
124
  - test/utility_test.rb
109
- - .gitignore
110
125
  homepage: http://github.com/jlong/radius
111
- licenses: []
112
- post_install_message:
126
+ licenses:
127
+ - MIT
128
+ metadata:
129
+ homepage_uri: https://github.com/jlong/radius
130
+ changelog_uri: https://github.com/jlong/radius/blob/master/CHANGELOG
131
+ bug_tracker_uri: https://github.com/jlong/radius/issues
132
+ post_install_message:
113
133
  rdoc_options: []
114
134
  require_paths:
115
135
  - lib
116
136
  required_ruby_version: !ruby/object:Gem::Requirement
117
- none: false
118
137
  requirements:
119
- - - '>='
138
+ - - ">="
120
139
  - !ruby/object:Gem::Version
121
- version: '0'
140
+ version: 2.6.0
122
141
  required_rubygems_version: !ruby/object:Gem::Requirement
123
- none: false
124
142
  requirements:
125
- - - '>'
143
+ - - ">="
126
144
  - !ruby/object:Gem::Version
127
- version: 1.3.1
145
+ version: '0'
128
146
  requirements: []
129
- rubyforge_project:
130
- rubygems_version: 1.8.26
131
- signing_key:
132
- specification_version: 3
147
+ rubygems_version: 3.5.22
148
+ signing_key:
149
+ specification_version: 4
133
150
  summary: A tag-based templating language for Ruby.
134
151
  test_files: []
135
- has_rdoc:
Binary file
File without changes
File without changes
File without changes