csd 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. data/COPYING +1 -2
  2. data/README.rdoc +7 -1
  3. data/Rakefile +7 -2
  4. data/VERSION +1 -1
  5. data/csd.gemspec +18 -216
  6. data/lib/csd.rb +6 -16
  7. data/lib/csd/application.rb +2 -2
  8. data/lib/csd/application/default.rb +15 -14
  9. data/lib/csd/application/default/base.rb +1 -1
  10. data/lib/csd/application/minisip.rb +43 -11
  11. data/lib/csd/application/minisip/about.yml +5 -5
  12. data/lib/csd/application/minisip/base.rb +82 -70
  13. data/lib/csd/application/minisip/error.rb +1 -1
  14. data/lib/csd/application/minisip/options/common.rb +1 -1
  15. data/lib/csd/application/minisip/options/compile.rb +1 -1
  16. data/lib/csd/application/minisip/options/package.rb +1 -1
  17. data/lib/csd/application/minisip/unix.rb +40 -27
  18. data/lib/csd/application/minisip/unix/darwin.rb +12 -0
  19. data/lib/csd/application/minisip/unix/linux.rb +1 -11
  20. data/lib/csd/application/minisip/unix/linux/debian.rb +14 -25
  21. data/lib/csd/application/minisip/unix/linux/debian/ubuntu10.rb +12 -13
  22. data/lib/csd/applications.rb +5 -5
  23. data/lib/csd/commands.rb +164 -89
  24. data/lib/csd/container.rb +61 -0
  25. data/lib/csd/error.rb +10 -1
  26. data/lib/csd/extensions.rb +3 -2
  27. data/lib/csd/extensions/core/array.rb +29 -1
  28. data/lib/csd/extensions/core/dir.rb +15 -24
  29. data/lib/csd/extensions/core/object.rb +10 -2
  30. data/lib/csd/extensions/core/option_parser.rb +22 -3
  31. data/lib/csd/extensions/core/pathname.rb +30 -2
  32. data/lib/csd/extensions/core/string.rb +51 -4
  33. data/lib/csd/extensions/gem/platform.rb +18 -3
  34. data/lib/csd/{options.rb → options_parser.rb} +16 -20
  35. data/lib/csd/path_container.rb +24 -0
  36. data/lib/csd/user_interface.rb +2 -0
  37. data/lib/csd/user_interface/base.rb +26 -0
  38. data/lib/csd/user_interface/cli.rb +37 -0
  39. data/lib/csd/vendor/active_support/MIT-LICENSE +20 -0
  40. data/lib/csd/vendor/active_support/inflector.rb +155 -0
  41. data/lib/csd/vendor/term/GPL2-LICENSE +339 -0
  42. data/lib/csd/vendor/term/ansicolor.rb +113 -0
  43. data/lib/csd/version.rb +13 -4
  44. data/test/application/test_minisip.rb +45 -0
  45. data/test/functional/test_applications.rb +10 -16
  46. data/test/functional/test_commands.rb +260 -23
  47. data/test/unit/test_string.rb +1 -1
  48. metadata +18 -216
  49. data/lib/active_support.rb +0 -75
  50. data/lib/active_support/all.rb +0 -3
  51. data/lib/active_support/backtrace_cleaner.rb +0 -94
  52. data/lib/active_support/base64.rb +0 -42
  53. data/lib/active_support/basic_object.rb +0 -21
  54. data/lib/active_support/benchmarkable.rb +0 -60
  55. data/lib/active_support/buffered_logger.rb +0 -132
  56. data/lib/active_support/builder.rb +0 -6
  57. data/lib/active_support/cache.rb +0 -626
  58. data/lib/active_support/cache/compressed_mem_cache_store.rb +0 -13
  59. data/lib/active_support/cache/file_store.rb +0 -188
  60. data/lib/active_support/cache/mem_cache_store.rb +0 -191
  61. data/lib/active_support/cache/memory_store.rb +0 -159
  62. data/lib/active_support/cache/strategy/local_cache.rb +0 -164
  63. data/lib/active_support/cache/synchronized_memory_store.rb +0 -11
  64. data/lib/active_support/callbacks.rb +0 -600
  65. data/lib/active_support/concern.rb +0 -29
  66. data/lib/active_support/configurable.rb +0 -36
  67. data/lib/active_support/core_ext.rb +0 -3
  68. data/lib/active_support/core_ext/array.rb +0 -7
  69. data/lib/active_support/core_ext/array/access.rb +0 -46
  70. data/lib/active_support/core_ext/array/conversions.rb +0 -164
  71. data/lib/active_support/core_ext/array/extract_options.rb +0 -29
  72. data/lib/active_support/core_ext/array/grouping.rb +0 -100
  73. data/lib/active_support/core_ext/array/random_access.rb +0 -20
  74. data/lib/active_support/core_ext/array/uniq_by.rb +0 -17
  75. data/lib/active_support/core_ext/array/wrap.rb +0 -22
  76. data/lib/active_support/core_ext/benchmark.rb +0 -7
  77. data/lib/active_support/core_ext/big_decimal.rb +0 -1
  78. data/lib/active_support/core_ext/big_decimal/conversions.rb +0 -27
  79. data/lib/active_support/core_ext/cgi.rb +0 -1
  80. data/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +0 -19
  81. data/lib/active_support/core_ext/class.rb +0 -4
  82. data/lib/active_support/core_ext/class/attribute.rb +0 -67
  83. data/lib/active_support/core_ext/class/attribute_accessors.rb +0 -63
  84. data/lib/active_support/core_ext/class/delegating_attributes.rb +0 -44
  85. data/lib/active_support/core_ext/class/inheritable_attributes.rb +0 -232
  86. data/lib/active_support/core_ext/class/subclasses.rb +0 -55
  87. data/lib/active_support/core_ext/date/acts_like.rb +0 -8
  88. data/lib/active_support/core_ext/date/calculations.rb +0 -240
  89. data/lib/active_support/core_ext/date/conversions.rb +0 -99
  90. data/lib/active_support/core_ext/date/freeze.rb +0 -31
  91. data/lib/active_support/core_ext/date_time/acts_like.rb +0 -13
  92. data/lib/active_support/core_ext/date_time/calculations.rb +0 -113
  93. data/lib/active_support/core_ext/date_time/conversions.rb +0 -102
  94. data/lib/active_support/core_ext/date_time/zones.rb +0 -17
  95. data/lib/active_support/core_ext/enumerable.rb +0 -119
  96. data/lib/active_support/core_ext/exception.rb +0 -3
  97. data/lib/active_support/core_ext/file.rb +0 -2
  98. data/lib/active_support/core_ext/file/atomic.rb +0 -41
  99. data/lib/active_support/core_ext/file/path.rb +0 -5
  100. data/lib/active_support/core_ext/float.rb +0 -1
  101. data/lib/active_support/core_ext/float/rounding.rb +0 -19
  102. data/lib/active_support/core_ext/hash.rb +0 -8
  103. data/lib/active_support/core_ext/hash/conversions.rb +0 -150
  104. data/lib/active_support/core_ext/hash/deep_merge.rb +0 -16
  105. data/lib/active_support/core_ext/hash/diff.rb +0 -13
  106. data/lib/active_support/core_ext/hash/except.rb +0 -24
  107. data/lib/active_support/core_ext/hash/indifferent_access.rb +0 -14
  108. data/lib/active_support/core_ext/hash/keys.rb +0 -45
  109. data/lib/active_support/core_ext/hash/reverse_merge.rb +0 -28
  110. data/lib/active_support/core_ext/hash/slice.rb +0 -38
  111. data/lib/active_support/core_ext/integer.rb +0 -3
  112. data/lib/active_support/core_ext/integer/inflections.rb +0 -14
  113. data/lib/active_support/core_ext/integer/multiple.rb +0 -6
  114. data/lib/active_support/core_ext/integer/time.rb +0 -39
  115. data/lib/active_support/core_ext/kernel.rb +0 -5
  116. data/lib/active_support/core_ext/kernel/agnostics.rb +0 -11
  117. data/lib/active_support/core_ext/kernel/debugger.rb +0 -16
  118. data/lib/active_support/core_ext/kernel/reporting.rb +0 -62
  119. data/lib/active_support/core_ext/kernel/requires.rb +0 -26
  120. data/lib/active_support/core_ext/kernel/singleton_class.rb +0 -13
  121. data/lib/active_support/core_ext/load_error.rb +0 -23
  122. data/lib/active_support/core_ext/logger.rb +0 -146
  123. data/lib/active_support/core_ext/module.rb +0 -12
  124. data/lib/active_support/core_ext/module/aliasing.rb +0 -70
  125. data/lib/active_support/core_ext/module/anonymous.rb +0 -24
  126. data/lib/active_support/core_ext/module/attr_accessor_with_default.rb +0 -31
  127. data/lib/active_support/core_ext/module/attr_internal.rb +0 -32
  128. data/lib/active_support/core_ext/module/attribute_accessors.rb +0 -66
  129. data/lib/active_support/core_ext/module/delegation.rb +0 -146
  130. data/lib/active_support/core_ext/module/deprecation.rb +0 -9
  131. data/lib/active_support/core_ext/module/introspection.rb +0 -88
  132. data/lib/active_support/core_ext/module/method_names.rb +0 -14
  133. data/lib/active_support/core_ext/module/reachable.rb +0 -10
  134. data/lib/active_support/core_ext/module/remove_method.rb +0 -6
  135. data/lib/active_support/core_ext/module/synchronization.rb +0 -42
  136. data/lib/active_support/core_ext/name_error.rb +0 -18
  137. data/lib/active_support/core_ext/numeric.rb +0 -2
  138. data/lib/active_support/core_ext/numeric/bytes.rb +0 -44
  139. data/lib/active_support/core_ext/numeric/time.rb +0 -77
  140. data/lib/active_support/core_ext/object.rb +0 -14
  141. data/lib/active_support/core_ext/object/acts_like.rb +0 -10
  142. data/lib/active_support/core_ext/object/blank.rb +0 -76
  143. data/lib/active_support/core_ext/object/conversions.rb +0 -4
  144. data/lib/active_support/core_ext/object/duplicable.rb +0 -65
  145. data/lib/active_support/core_ext/object/extending.rb +0 -11
  146. data/lib/active_support/core_ext/object/instance_variables.rb +0 -67
  147. data/lib/active_support/core_ext/object/misc.rb +0 -2
  148. data/lib/active_support/core_ext/object/returning.rb +0 -42
  149. data/lib/active_support/core_ext/object/to_param.rb +0 -49
  150. data/lib/active_support/core_ext/object/to_query.rb +0 -27
  151. data/lib/active_support/core_ext/object/try.rb +0 -36
  152. data/lib/active_support/core_ext/object/with_options.rb +0 -26
  153. data/lib/active_support/core_ext/proc.rb +0 -14
  154. data/lib/active_support/core_ext/process.rb +0 -1
  155. data/lib/active_support/core_ext/process/daemon.rb +0 -23
  156. data/lib/active_support/core_ext/range.rb +0 -4
  157. data/lib/active_support/core_ext/range/blockless_step.rb +0 -29
  158. data/lib/active_support/core_ext/range/conversions.rb +0 -21
  159. data/lib/active_support/core_ext/range/include_range.rb +0 -21
  160. data/lib/active_support/core_ext/range/overlaps.rb +0 -8
  161. data/lib/active_support/core_ext/regexp.rb +0 -5
  162. data/lib/active_support/core_ext/rexml.rb +0 -46
  163. data/lib/active_support/core_ext/string.rb +0 -12
  164. data/lib/active_support/core_ext/string/access.rb +0 -99
  165. data/lib/active_support/core_ext/string/behavior.rb +0 -7
  166. data/lib/active_support/core_ext/string/conversions.rb +0 -61
  167. data/lib/active_support/core_ext/string/encoding.rb +0 -11
  168. data/lib/active_support/core_ext/string/exclude.rb +0 -6
  169. data/lib/active_support/core_ext/string/filters.rb +0 -49
  170. data/lib/active_support/core_ext/string/inflections.rb +0 -149
  171. data/lib/active_support/core_ext/string/interpolation.rb +0 -2
  172. data/lib/active_support/core_ext/string/multibyte.rb +0 -72
  173. data/lib/active_support/core_ext/string/output_safety.rb +0 -109
  174. data/lib/active_support/core_ext/string/starts_ends_with.rb +0 -4
  175. data/lib/active_support/core_ext/string/xchar.rb +0 -18
  176. data/lib/active_support/core_ext/time/acts_like.rb +0 -8
  177. data/lib/active_support/core_ext/time/calculations.rb +0 -282
  178. data/lib/active_support/core_ext/time/conversions.rb +0 -85
  179. data/lib/active_support/core_ext/time/marshal.rb +0 -56
  180. data/lib/active_support/core_ext/time/publicize_conversion_methods.rb +0 -10
  181. data/lib/active_support/core_ext/time/zones.rb +0 -78
  182. data/lib/active_support/core_ext/uri.rb +0 -22
  183. data/lib/active_support/dependencies.rb +0 -628
  184. data/lib/active_support/dependencies/autoload.rb +0 -50
  185. data/lib/active_support/deprecation.rb +0 -18
  186. data/lib/active_support/deprecation/behaviors.rb +0 -38
  187. data/lib/active_support/deprecation/method_wrappers.rb +0 -29
  188. data/lib/active_support/deprecation/proxy_wrappers.rb +0 -74
  189. data/lib/active_support/deprecation/reporting.rb +0 -56
  190. data/lib/active_support/duration.rb +0 -105
  191. data/lib/active_support/gzip.rb +0 -25
  192. data/lib/active_support/hash_with_indifferent_access.rb +0 -145
  193. data/lib/active_support/i18n.rb +0 -8
  194. data/lib/active_support/inflections.rb +0 -56
  195. data/lib/active_support/inflector.rb +0 -7
  196. data/lib/active_support/inflector/inflections.rb +0 -211
  197. data/lib/active_support/inflector/methods.rb +0 -141
  198. data/lib/active_support/inflector/transliterate.rb +0 -97
  199. data/lib/active_support/json.rb +0 -2
  200. data/lib/active_support/json/backends/jsongem.rb +0 -43
  201. data/lib/active_support/json/backends/yajl.rb +0 -40
  202. data/lib/active_support/json/backends/yaml.rb +0 -90
  203. data/lib/active_support/json/decoding.rb +0 -51
  204. data/lib/active_support/json/encoding.rb +0 -254
  205. data/lib/active_support/json/variable.rb +0 -11
  206. data/lib/active_support/lazy_load_hooks.rb +0 -27
  207. data/lib/active_support/locale/en.yml +0 -36
  208. data/lib/active_support/memoizable.rb +0 -103
  209. data/lib/active_support/message_encryptor.rb +0 -71
  210. data/lib/active_support/message_verifier.rb +0 -62
  211. data/lib/active_support/multibyte.rb +0 -44
  212. data/lib/active_support/multibyte/chars.rb +0 -480
  213. data/lib/active_support/multibyte/exceptions.rb +0 -8
  214. data/lib/active_support/multibyte/unicode.rb +0 -393
  215. data/lib/active_support/multibyte/utils.rb +0 -60
  216. data/lib/active_support/notifications.rb +0 -81
  217. data/lib/active_support/notifications/fanout.rb +0 -93
  218. data/lib/active_support/notifications/instrumenter.rb +0 -56
  219. data/lib/active_support/option_merger.rb +0 -25
  220. data/lib/active_support/ordered_hash.rb +0 -158
  221. data/lib/active_support/ordered_options.rb +0 -27
  222. data/lib/active_support/railtie.rb +0 -100
  223. data/lib/active_support/rescuable.rb +0 -114
  224. data/lib/active_support/ruby/shim.rb +0 -22
  225. data/lib/active_support/secure_random.rb +0 -199
  226. data/lib/active_support/string_inquirer.rb +0 -21
  227. data/lib/active_support/test_case.rb +0 -42
  228. data/lib/active_support/testing/assertions.rb +0 -82
  229. data/lib/active_support/testing/declarative.rb +0 -40
  230. data/lib/active_support/testing/default.rb +0 -9
  231. data/lib/active_support/testing/deprecation.rb +0 -55
  232. data/lib/active_support/testing/isolation.rb +0 -154
  233. data/lib/active_support/testing/pending.rb +0 -48
  234. data/lib/active_support/testing/performance.rb +0 -455
  235. data/lib/active_support/testing/setup_and_teardown.rb +0 -111
  236. data/lib/active_support/time.rb +0 -34
  237. data/lib/active_support/time/autoload.rb +0 -5
  238. data/lib/active_support/time_with_zone.rb +0 -341
  239. data/lib/active_support/values/time_zone.rb +0 -377
  240. data/lib/active_support/values/unicode_tables.dat +0 -0
  241. data/lib/active_support/version.rb +0 -10
  242. data/lib/active_support/whiny_nil.rb +0 -60
  243. data/lib/active_support/xml_mini.rb +0 -158
  244. data/lib/active_support/xml_mini/jdom.rb +0 -168
  245. data/lib/active_support/xml_mini/libxml.rb +0 -80
  246. data/lib/active_support/xml_mini/libxmlsax.rb +0 -85
  247. data/lib/active_support/xml_mini/nokogiri.rb +0 -78
  248. data/lib/active_support/xml_mini/nokogirisax.rb +0 -83
  249. data/lib/active_support/xml_mini/rexml.rb +0 -129
  250. data/lib/csd/extensions/core/file.rb +0 -14
  251. data/lib/csd/global_open_struct.rb +0 -19
  252. data/lib/csd/path.rb +0 -32
  253. data/lib/csd/ui.rb +0 -2
  254. data/lib/csd/ui/cli.rb +0 -8
  255. data/lib/csd/ui/ui.rb +0 -45
  256. data/lib/term/ansicolor.rb +0 -102
  257. data/lib/term/ansicolor/.keep +0 -0
  258. data/lib/term/ansicolor/version.rb +0 -10
@@ -7,7 +7,7 @@ class TestString < Test::Unit::TestCase
7
7
  should "be enquotable" do
8
8
  assert_equal '"wow it works"', 'wow it works'.enquote
9
9
  end
10
-
10
+
11
11
  end
12
12
 
13
13
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: csd
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 5
10
- version: 0.1.5
9
+ - 6
10
+ version: 0.1.6
11
11
  platform: ruby
12
12
  authors:
13
13
  - Technology Transfer Alliance Team
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-07-14 00:00:00 +02:00
18
+ date: 2010-07-20 00:00:00 +02:00
19
19
  default_executable: ai
20
20
  dependencies: []
21
21
 
@@ -36,207 +36,6 @@ files:
36
36
  - VERSION
37
37
  - bin/ai
38
38
  - csd.gemspec
39
- - lib/active_support.rb
40
- - lib/active_support/all.rb
41
- - lib/active_support/backtrace_cleaner.rb
42
- - lib/active_support/base64.rb
43
- - lib/active_support/basic_object.rb
44
- - lib/active_support/benchmarkable.rb
45
- - lib/active_support/buffered_logger.rb
46
- - lib/active_support/builder.rb
47
- - lib/active_support/cache.rb
48
- - lib/active_support/cache/compressed_mem_cache_store.rb
49
- - lib/active_support/cache/file_store.rb
50
- - lib/active_support/cache/mem_cache_store.rb
51
- - lib/active_support/cache/memory_store.rb
52
- - lib/active_support/cache/strategy/local_cache.rb
53
- - lib/active_support/cache/synchronized_memory_store.rb
54
- - lib/active_support/callbacks.rb
55
- - lib/active_support/concern.rb
56
- - lib/active_support/configurable.rb
57
- - lib/active_support/core_ext.rb
58
- - lib/active_support/core_ext/array.rb
59
- - lib/active_support/core_ext/array/access.rb
60
- - lib/active_support/core_ext/array/conversions.rb
61
- - lib/active_support/core_ext/array/extract_options.rb
62
- - lib/active_support/core_ext/array/grouping.rb
63
- - lib/active_support/core_ext/array/random_access.rb
64
- - lib/active_support/core_ext/array/uniq_by.rb
65
- - lib/active_support/core_ext/array/wrap.rb
66
- - lib/active_support/core_ext/benchmark.rb
67
- - lib/active_support/core_ext/big_decimal.rb
68
- - lib/active_support/core_ext/big_decimal/conversions.rb
69
- - lib/active_support/core_ext/cgi.rb
70
- - lib/active_support/core_ext/cgi/escape_skipping_slashes.rb
71
- - lib/active_support/core_ext/class.rb
72
- - lib/active_support/core_ext/class/attribute.rb
73
- - lib/active_support/core_ext/class/attribute_accessors.rb
74
- - lib/active_support/core_ext/class/delegating_attributes.rb
75
- - lib/active_support/core_ext/class/inheritable_attributes.rb
76
- - lib/active_support/core_ext/class/subclasses.rb
77
- - lib/active_support/core_ext/date/acts_like.rb
78
- - lib/active_support/core_ext/date/calculations.rb
79
- - lib/active_support/core_ext/date/conversions.rb
80
- - lib/active_support/core_ext/date/freeze.rb
81
- - lib/active_support/core_ext/date_time/acts_like.rb
82
- - lib/active_support/core_ext/date_time/calculations.rb
83
- - lib/active_support/core_ext/date_time/conversions.rb
84
- - lib/active_support/core_ext/date_time/zones.rb
85
- - lib/active_support/core_ext/enumerable.rb
86
- - lib/active_support/core_ext/exception.rb
87
- - lib/active_support/core_ext/file.rb
88
- - lib/active_support/core_ext/file/atomic.rb
89
- - lib/active_support/core_ext/file/path.rb
90
- - lib/active_support/core_ext/float.rb
91
- - lib/active_support/core_ext/float/rounding.rb
92
- - lib/active_support/core_ext/hash.rb
93
- - lib/active_support/core_ext/hash/conversions.rb
94
- - lib/active_support/core_ext/hash/deep_merge.rb
95
- - lib/active_support/core_ext/hash/diff.rb
96
- - lib/active_support/core_ext/hash/except.rb
97
- - lib/active_support/core_ext/hash/indifferent_access.rb
98
- - lib/active_support/core_ext/hash/keys.rb
99
- - lib/active_support/core_ext/hash/reverse_merge.rb
100
- - lib/active_support/core_ext/hash/slice.rb
101
- - lib/active_support/core_ext/integer.rb
102
- - lib/active_support/core_ext/integer/inflections.rb
103
- - lib/active_support/core_ext/integer/multiple.rb
104
- - lib/active_support/core_ext/integer/time.rb
105
- - lib/active_support/core_ext/kernel.rb
106
- - lib/active_support/core_ext/kernel/agnostics.rb
107
- - lib/active_support/core_ext/kernel/debugger.rb
108
- - lib/active_support/core_ext/kernel/reporting.rb
109
- - lib/active_support/core_ext/kernel/requires.rb
110
- - lib/active_support/core_ext/kernel/singleton_class.rb
111
- - lib/active_support/core_ext/load_error.rb
112
- - lib/active_support/core_ext/logger.rb
113
- - lib/active_support/core_ext/module.rb
114
- - lib/active_support/core_ext/module/aliasing.rb
115
- - lib/active_support/core_ext/module/anonymous.rb
116
- - lib/active_support/core_ext/module/attr_accessor_with_default.rb
117
- - lib/active_support/core_ext/module/attr_internal.rb
118
- - lib/active_support/core_ext/module/attribute_accessors.rb
119
- - lib/active_support/core_ext/module/delegation.rb
120
- - lib/active_support/core_ext/module/deprecation.rb
121
- - lib/active_support/core_ext/module/introspection.rb
122
- - lib/active_support/core_ext/module/method_names.rb
123
- - lib/active_support/core_ext/module/reachable.rb
124
- - lib/active_support/core_ext/module/remove_method.rb
125
- - lib/active_support/core_ext/module/synchronization.rb
126
- - lib/active_support/core_ext/name_error.rb
127
- - lib/active_support/core_ext/numeric.rb
128
- - lib/active_support/core_ext/numeric/bytes.rb
129
- - lib/active_support/core_ext/numeric/time.rb
130
- - lib/active_support/core_ext/object.rb
131
- - lib/active_support/core_ext/object/acts_like.rb
132
- - lib/active_support/core_ext/object/blank.rb
133
- - lib/active_support/core_ext/object/conversions.rb
134
- - lib/active_support/core_ext/object/duplicable.rb
135
- - lib/active_support/core_ext/object/extending.rb
136
- - lib/active_support/core_ext/object/instance_variables.rb
137
- - lib/active_support/core_ext/object/misc.rb
138
- - lib/active_support/core_ext/object/returning.rb
139
- - lib/active_support/core_ext/object/to_param.rb
140
- - lib/active_support/core_ext/object/to_query.rb
141
- - lib/active_support/core_ext/object/try.rb
142
- - lib/active_support/core_ext/object/with_options.rb
143
- - lib/active_support/core_ext/proc.rb
144
- - lib/active_support/core_ext/process.rb
145
- - lib/active_support/core_ext/process/daemon.rb
146
- - lib/active_support/core_ext/range.rb
147
- - lib/active_support/core_ext/range/blockless_step.rb
148
- - lib/active_support/core_ext/range/conversions.rb
149
- - lib/active_support/core_ext/range/include_range.rb
150
- - lib/active_support/core_ext/range/overlaps.rb
151
- - lib/active_support/core_ext/regexp.rb
152
- - lib/active_support/core_ext/rexml.rb
153
- - lib/active_support/core_ext/string.rb
154
- - lib/active_support/core_ext/string/access.rb
155
- - lib/active_support/core_ext/string/behavior.rb
156
- - lib/active_support/core_ext/string/conversions.rb
157
- - lib/active_support/core_ext/string/encoding.rb
158
- - lib/active_support/core_ext/string/exclude.rb
159
- - lib/active_support/core_ext/string/filters.rb
160
- - lib/active_support/core_ext/string/inflections.rb
161
- - lib/active_support/core_ext/string/interpolation.rb
162
- - lib/active_support/core_ext/string/multibyte.rb
163
- - lib/active_support/core_ext/string/output_safety.rb
164
- - lib/active_support/core_ext/string/starts_ends_with.rb
165
- - lib/active_support/core_ext/string/xchar.rb
166
- - lib/active_support/core_ext/time/acts_like.rb
167
- - lib/active_support/core_ext/time/calculations.rb
168
- - lib/active_support/core_ext/time/conversions.rb
169
- - lib/active_support/core_ext/time/marshal.rb
170
- - lib/active_support/core_ext/time/publicize_conversion_methods.rb
171
- - lib/active_support/core_ext/time/zones.rb
172
- - lib/active_support/core_ext/uri.rb
173
- - lib/active_support/dependencies.rb
174
- - lib/active_support/dependencies/autoload.rb
175
- - lib/active_support/deprecation.rb
176
- - lib/active_support/deprecation/behaviors.rb
177
- - lib/active_support/deprecation/method_wrappers.rb
178
- - lib/active_support/deprecation/proxy_wrappers.rb
179
- - lib/active_support/deprecation/reporting.rb
180
- - lib/active_support/duration.rb
181
- - lib/active_support/gzip.rb
182
- - lib/active_support/hash_with_indifferent_access.rb
183
- - lib/active_support/i18n.rb
184
- - lib/active_support/inflections.rb
185
- - lib/active_support/inflector.rb
186
- - lib/active_support/inflector/inflections.rb
187
- - lib/active_support/inflector/methods.rb
188
- - lib/active_support/inflector/transliterate.rb
189
- - lib/active_support/json.rb
190
- - lib/active_support/json/backends/jsongem.rb
191
- - lib/active_support/json/backends/yajl.rb
192
- - lib/active_support/json/backends/yaml.rb
193
- - lib/active_support/json/decoding.rb
194
- - lib/active_support/json/encoding.rb
195
- - lib/active_support/json/variable.rb
196
- - lib/active_support/lazy_load_hooks.rb
197
- - lib/active_support/locale/en.yml
198
- - lib/active_support/memoizable.rb
199
- - lib/active_support/message_encryptor.rb
200
- - lib/active_support/message_verifier.rb
201
- - lib/active_support/multibyte.rb
202
- - lib/active_support/multibyte/chars.rb
203
- - lib/active_support/multibyte/exceptions.rb
204
- - lib/active_support/multibyte/unicode.rb
205
- - lib/active_support/multibyte/utils.rb
206
- - lib/active_support/notifications.rb
207
- - lib/active_support/notifications/fanout.rb
208
- - lib/active_support/notifications/instrumenter.rb
209
- - lib/active_support/option_merger.rb
210
- - lib/active_support/ordered_hash.rb
211
- - lib/active_support/ordered_options.rb
212
- - lib/active_support/railtie.rb
213
- - lib/active_support/rescuable.rb
214
- - lib/active_support/ruby/shim.rb
215
- - lib/active_support/secure_random.rb
216
- - lib/active_support/string_inquirer.rb
217
- - lib/active_support/test_case.rb
218
- - lib/active_support/testing/assertions.rb
219
- - lib/active_support/testing/declarative.rb
220
- - lib/active_support/testing/default.rb
221
- - lib/active_support/testing/deprecation.rb
222
- - lib/active_support/testing/isolation.rb
223
- - lib/active_support/testing/pending.rb
224
- - lib/active_support/testing/performance.rb
225
- - lib/active_support/testing/setup_and_teardown.rb
226
- - lib/active_support/time.rb
227
- - lib/active_support/time/autoload.rb
228
- - lib/active_support/time_with_zone.rb
229
- - lib/active_support/values/time_zone.rb
230
- - lib/active_support/values/unicode_tables.dat
231
- - lib/active_support/version.rb
232
- - lib/active_support/whiny_nil.rb
233
- - lib/active_support/xml_mini.rb
234
- - lib/active_support/xml_mini/jdom.rb
235
- - lib/active_support/xml_mini/libxml.rb
236
- - lib/active_support/xml_mini/libxmlsax.rb
237
- - lib/active_support/xml_mini/nokogiri.rb
238
- - lib/active_support/xml_mini/nokogirisax.rb
239
- - lib/active_support/xml_mini/rexml.rb
240
39
  - lib/csd.rb
241
40
  - lib/csd/application.rb
242
41
  - lib/csd/application/default.rb
@@ -249,32 +48,34 @@ files:
249
48
  - lib/csd/application/minisip/options/compile.rb
250
49
  - lib/csd/application/minisip/options/package.rb
251
50
  - lib/csd/application/minisip/unix.rb
51
+ - lib/csd/application/minisip/unix/darwin.rb
252
52
  - lib/csd/application/minisip/unix/linux.rb
253
53
  - lib/csd/application/minisip/unix/linux/debian.rb
254
54
  - lib/csd/application/minisip/unix/linux/debian/ubuntu10.rb
255
55
  - lib/csd/application/opensips/about.yml
256
56
  - lib/csd/applications.rb
257
57
  - lib/csd/commands.rb
58
+ - lib/csd/container.rb
258
59
  - lib/csd/error.rb
259
60
  - lib/csd/extensions.rb
260
61
  - lib/csd/extensions/core/array.rb
261
62
  - lib/csd/extensions/core/dir.rb
262
- - lib/csd/extensions/core/file.rb
263
63
  - lib/csd/extensions/core/object.rb
264
64
  - lib/csd/extensions/core/option_parser.rb
265
65
  - lib/csd/extensions/core/pathname.rb
266
66
  - lib/csd/extensions/core/string.rb
267
67
  - lib/csd/extensions/gem/platform.rb
268
- - lib/csd/global_open_struct.rb
269
- - lib/csd/options.rb
270
- - lib/csd/path.rb
271
- - lib/csd/ui.rb
272
- - lib/csd/ui/cli.rb
273
- - lib/csd/ui/ui.rb
68
+ - lib/csd/options_parser.rb
69
+ - lib/csd/path_container.rb
70
+ - lib/csd/user_interface.rb
71
+ - lib/csd/user_interface/base.rb
72
+ - lib/csd/user_interface/cli.rb
73
+ - lib/csd/vendor/active_support/MIT-LICENSE
74
+ - lib/csd/vendor/active_support/inflector.rb
75
+ - lib/csd/vendor/term/GPL2-LICENSE
76
+ - lib/csd/vendor/term/ansicolor.rb
274
77
  - lib/csd/version.rb
275
- - lib/term/ansicolor.rb
276
- - lib/term/ansicolor/.keep
277
- - lib/term/ansicolor/version.rb
78
+ - test/application/test_minisip.rb
278
79
  - test/functional/test_applications.rb
279
80
  - test/functional/test_commands.rb
280
81
  - test/functional/test_options.rb
@@ -287,7 +88,7 @@ homepage: http://github.com/csd/csd
287
88
  licenses: []
288
89
 
289
90
  post_install_message: "\n\
290
- ================================================================================================\n\n Thank you for installing the Communication Systems and Design Automated Installer!\n\n You can run it by typing `ai\xC2\xB4 in your command line.\n\n Note: On Debian and Ubuntu the executable `ai\xC2\xB4 is not in your PATH by default.\n You can fix this by adding it to your .bashrc file with this command:\n \n echo \"export PATH=\\$PATH:$(gem env | grep \"E D\" | sed \"s/[^\\w]* //\")\" >> ~/.bashrc;. ~/.bashrc\n \n\
91
+ ================================================================================================\n\n Thank you for installing the Communication Systems and Design Automated Installer!\n\n You can run it by typing `ai\xC2\xB4 in your command line.\n\n Note: On Debian and Ubuntu the executable `ai\xC2\xB4 is maybe not in your PATH by default.\n If that is the case, you can fix it by running this command:\n \n echo \"export PATH=\\$PATH:$(gem env | grep \"E D\" | sed \"s/[^\\w]* //\")\" >> ~/.bashrc;. ~/.bashrc\n \n\
291
92
  ================================================================================================\n "
292
93
  rdoc_options:
293
94
  - --charset=UTF-8
@@ -319,6 +120,7 @@ signing_key:
319
120
  specification_version: 3
320
121
  summary: Installation and compilation handler for software used in CSD projects.
321
122
  test_files:
123
+ - test/application/test_minisip.rb
322
124
  - test/functional/test_applications.rb
323
125
  - test/functional/test_commands.rb
324
126
  - test/functional/test_options.rb
@@ -1,75 +0,0 @@
1
- #--
2
- # Copyright (c) 2005 David Heinemeier Hansson
3
- #
4
- # Permission is hereby granted, free of charge, to any person obtaining
5
- # a copy of this software and associated documentation files (the
6
- # "Software"), to deal in the Software without restriction, including
7
- # without limitation the rights to use, copy, modify, merge, publish,
8
- # distribute, sublicense, and/or sell copies of the Software, and to
9
- # permit persons to whom the Software is furnished to do so, subject to
10
- # the following conditions:
11
- #
12
- # The above copyright notice and this permission notice shall be
13
- # included in all copies or substantial portions of the Software.
14
- #
15
- # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
- # EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
- # MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
- # NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
- # LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
- # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
- # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
22
- #++
23
-
24
- module ActiveSupport
25
- class << self
26
- attr_accessor :load_all_hooks
27
- def on_load_all(&hook) load_all_hooks << hook end
28
- def load_all!; load_all_hooks.each { |hook| hook.call } end
29
- end
30
- self.load_all_hooks = []
31
-
32
- on_load_all do
33
- [Dependencies, Deprecation, Gzip, MessageVerifier, Multibyte, SecureRandom]
34
- end
35
- end
36
-
37
- require "active_support/dependencies/autoload"
38
-
39
- module ActiveSupport
40
- extend ActiveSupport::Autoload
41
-
42
- # TODO: Narrow this list down
43
- eager_autoload do
44
- autoload :BacktraceCleaner
45
- autoload :Base64
46
- autoload :BasicObject
47
- autoload :Benchmarkable
48
- autoload :BufferedLogger
49
- autoload :Cache
50
- autoload :Callbacks
51
- autoload :Concern
52
- autoload :Configurable
53
- autoload :Deprecation
54
- autoload :Gzip
55
- autoload :Inflector
56
- autoload :JSON
57
- autoload :Memoizable
58
- autoload :MessageEncryptor
59
- autoload :MessageVerifier
60
- autoload :Multibyte
61
- autoload :OptionMerger
62
- autoload :OrderedHash
63
- autoload :OrderedOptions
64
- autoload :Notifications
65
- autoload :Rescuable
66
- autoload :SecureRandom
67
- autoload :StringInquirer
68
- autoload :XmlMini
69
- end
70
-
71
- autoload :SafeBuffer, "active_support/core_ext/string/output_safety"
72
- autoload :TestCase
73
- end
74
-
75
- autoload :I18n, "active_support/i18n"
@@ -1,3 +0,0 @@
1
- require 'active_support'
2
- require 'active_support/time'
3
- require 'active_support/core_ext'
@@ -1,94 +0,0 @@
1
- module ActiveSupport
2
- # Many backtraces include too much information that's not relevant for the context. This makes it hard to find the signal
3
- # in the backtrace and adds debugging time. With a BacktraceCleaner, you can setup filters and silencers for your particular
4
- # context, so only the relevant lines are included.
5
- #
6
- # If you need to reconfigure an existing BacktraceCleaner, like the one in Rails, to show as much as possible, you can always
7
- # call BacktraceCleaner#remove_silencers! Also, if you need to reconfigure an existing BacktraceCleaner so that it does not
8
- # filter or modify the paths of any lines of the backtrace, you can call BacktraceCleaner#remove_filters! These two methods
9
- # will give you a completely untouched backtrace.
10
- #
11
- # Example:
12
- #
13
- # bc = BacktraceCleaner.new
14
- # bc.add_filter { |line| line.gsub(Rails.root, '') }
15
- # bc.add_silencer { |line| line =~ /mongrel|rubygems/ }
16
- # bc.clean(exception.backtrace) # will strip the Rails.root prefix and skip any lines from mongrel or rubygems
17
- #
18
- # Inspired by the Quiet Backtrace gem by Thoughtbot.
19
- class BacktraceCleaner
20
- def initialize
21
- @filters, @silencers = [], []
22
- end
23
-
24
- # Returns the backtrace after all filters and silencers has been run against it. Filters run first, then silencers.
25
- def clean(backtrace, kind = :silent)
26
- filtered = filter(backtrace)
27
-
28
- case kind
29
- when :silent
30
- silence(filtered)
31
- when :noise
32
- noise(filtered)
33
- else
34
- filtered
35
- end
36
- end
37
-
38
- # Adds a filter from the block provided. Each line in the backtrace will be mapped against this filter.
39
- #
40
- # Example:
41
- #
42
- # # Will turn "/my/rails/root/app/models/person.rb" into "/app/models/person.rb"
43
- # backtrace_cleaner.add_filter { |line| line.gsub(Rails.root, '') }
44
- def add_filter(&block)
45
- @filters << block
46
- end
47
-
48
- # Adds a silencer from the block provided. If the silencer returns true for a given line, it'll be excluded from the
49
- # clean backtrace.
50
- #
51
- # Example:
52
- #
53
- # # Will reject all lines that include the word "mongrel", like "/gems/mongrel/server.rb" or "/app/my_mongrel_server/rb"
54
- # backtrace_cleaner.add_silencer { |line| line =~ /mongrel/ }
55
- def add_silencer(&block)
56
- @silencers << block
57
- end
58
-
59
- # Will remove all silencers, but leave in the filters. This is useful if your context of debugging suddenly expands as
60
- # you suspect a bug in the libraries you use.
61
- def remove_silencers!
62
- @silencers = []
63
- end
64
-
65
- def remove_filters!
66
- @filters = []
67
- end
68
-
69
- private
70
- def filter(backtrace)
71
- @filters.each do |f|
72
- backtrace = backtrace.map { |line| f.call(line) }
73
- end
74
-
75
- backtrace
76
- end
77
-
78
- def silence(backtrace)
79
- @silencers.each do |s|
80
- backtrace = backtrace.reject { |line| s.call(line) }
81
- end
82
-
83
- backtrace
84
- end
85
-
86
- def noise(backtrace)
87
- @silencers.each do |s|
88
- backtrace = backtrace.select { |line| s.call(line) }
89
- end
90
-
91
- backtrace
92
- end
93
- end
94
- end