csd 0.0.15 → 0.0.16

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 (256) hide show
  1. data/.gitignore +1 -0
  2. data/COPYING +367 -0
  3. data/Rakefile +10 -10
  4. data/VERSION +1 -1
  5. data/bin/ai +19 -0
  6. data/csd.gemspec +257 -35
  7. data/lib/active_support.rb +75 -0
  8. data/lib/active_support/all.rb +3 -0
  9. data/lib/active_support/backtrace_cleaner.rb +94 -0
  10. data/lib/active_support/base64.rb +42 -0
  11. data/lib/active_support/basic_object.rb +21 -0
  12. data/lib/active_support/benchmarkable.rb +60 -0
  13. data/lib/active_support/buffered_logger.rb +132 -0
  14. data/lib/active_support/builder.rb +6 -0
  15. data/lib/active_support/cache.rb +626 -0
  16. data/lib/active_support/cache/compressed_mem_cache_store.rb +13 -0
  17. data/lib/active_support/cache/file_store.rb +188 -0
  18. data/lib/active_support/cache/mem_cache_store.rb +191 -0
  19. data/lib/active_support/cache/memory_store.rb +159 -0
  20. data/lib/active_support/cache/strategy/local_cache.rb +164 -0
  21. data/lib/active_support/cache/synchronized_memory_store.rb +11 -0
  22. data/lib/active_support/callbacks.rb +600 -0
  23. data/lib/active_support/concern.rb +29 -0
  24. data/lib/active_support/configurable.rb +36 -0
  25. data/lib/active_support/core_ext.rb +3 -0
  26. data/lib/active_support/core_ext/array.rb +7 -0
  27. data/lib/active_support/core_ext/array/access.rb +46 -0
  28. data/lib/active_support/core_ext/array/conversions.rb +164 -0
  29. data/lib/active_support/core_ext/array/extract_options.rb +29 -0
  30. data/lib/active_support/core_ext/array/grouping.rb +100 -0
  31. data/lib/active_support/core_ext/array/random_access.rb +20 -0
  32. data/lib/active_support/core_ext/array/uniq_by.rb +17 -0
  33. data/lib/active_support/core_ext/array/wrap.rb +22 -0
  34. data/lib/active_support/core_ext/benchmark.rb +7 -0
  35. data/lib/active_support/core_ext/big_decimal.rb +1 -0
  36. data/lib/active_support/core_ext/big_decimal/conversions.rb +27 -0
  37. data/lib/active_support/core_ext/cgi.rb +1 -0
  38. data/lib/active_support/core_ext/cgi/escape_skipping_slashes.rb +19 -0
  39. data/lib/active_support/core_ext/class.rb +4 -0
  40. data/lib/active_support/core_ext/class/attribute.rb +67 -0
  41. data/lib/active_support/core_ext/class/attribute_accessors.rb +63 -0
  42. data/lib/active_support/core_ext/class/delegating_attributes.rb +44 -0
  43. data/lib/active_support/core_ext/class/inheritable_attributes.rb +232 -0
  44. data/lib/active_support/core_ext/class/subclasses.rb +55 -0
  45. data/lib/active_support/core_ext/date/acts_like.rb +8 -0
  46. data/lib/active_support/core_ext/date/calculations.rb +240 -0
  47. data/lib/active_support/core_ext/date/conversions.rb +99 -0
  48. data/lib/active_support/core_ext/date/freeze.rb +31 -0
  49. data/lib/active_support/core_ext/date_time/acts_like.rb +13 -0
  50. data/lib/active_support/core_ext/date_time/calculations.rb +113 -0
  51. data/lib/active_support/core_ext/date_time/conversions.rb +102 -0
  52. data/lib/active_support/core_ext/date_time/zones.rb +17 -0
  53. data/lib/active_support/core_ext/enumerable.rb +119 -0
  54. data/lib/active_support/core_ext/exception.rb +3 -0
  55. data/lib/active_support/core_ext/file.rb +2 -0
  56. data/lib/active_support/core_ext/file/atomic.rb +41 -0
  57. data/lib/active_support/core_ext/file/path.rb +5 -0
  58. data/lib/active_support/core_ext/float.rb +1 -0
  59. data/lib/active_support/core_ext/float/rounding.rb +19 -0
  60. data/lib/active_support/core_ext/hash.rb +8 -0
  61. data/lib/active_support/core_ext/hash/conversions.rb +150 -0
  62. data/lib/active_support/core_ext/hash/deep_merge.rb +16 -0
  63. data/lib/active_support/core_ext/hash/diff.rb +13 -0
  64. data/lib/active_support/core_ext/hash/except.rb +24 -0
  65. data/lib/active_support/core_ext/hash/indifferent_access.rb +14 -0
  66. data/lib/active_support/core_ext/hash/keys.rb +45 -0
  67. data/lib/active_support/core_ext/hash/reverse_merge.rb +28 -0
  68. data/lib/active_support/core_ext/hash/slice.rb +38 -0
  69. data/lib/active_support/core_ext/integer.rb +3 -0
  70. data/lib/active_support/core_ext/integer/inflections.rb +14 -0
  71. data/lib/active_support/core_ext/integer/multiple.rb +6 -0
  72. data/lib/active_support/core_ext/integer/time.rb +39 -0
  73. data/lib/active_support/core_ext/kernel.rb +5 -0
  74. data/lib/active_support/core_ext/kernel/agnostics.rb +11 -0
  75. data/lib/active_support/core_ext/kernel/debugger.rb +16 -0
  76. data/lib/active_support/core_ext/kernel/reporting.rb +62 -0
  77. data/lib/active_support/core_ext/kernel/requires.rb +26 -0
  78. data/lib/active_support/core_ext/kernel/singleton_class.rb +13 -0
  79. data/lib/active_support/core_ext/load_error.rb +23 -0
  80. data/lib/active_support/core_ext/logger.rb +146 -0
  81. data/lib/active_support/core_ext/module.rb +12 -0
  82. data/lib/active_support/core_ext/module/aliasing.rb +70 -0
  83. data/lib/active_support/core_ext/module/anonymous.rb +24 -0
  84. data/lib/active_support/core_ext/module/attr_accessor_with_default.rb +31 -0
  85. data/lib/active_support/core_ext/module/attr_internal.rb +32 -0
  86. data/lib/active_support/core_ext/module/attribute_accessors.rb +66 -0
  87. data/lib/active_support/core_ext/module/delegation.rb +146 -0
  88. data/lib/active_support/core_ext/module/deprecation.rb +9 -0
  89. data/lib/active_support/core_ext/module/introspection.rb +88 -0
  90. data/lib/active_support/core_ext/module/method_names.rb +14 -0
  91. data/lib/active_support/core_ext/module/reachable.rb +10 -0
  92. data/lib/active_support/core_ext/module/remove_method.rb +6 -0
  93. data/lib/active_support/core_ext/module/synchronization.rb +42 -0
  94. data/lib/active_support/core_ext/name_error.rb +18 -0
  95. data/lib/active_support/core_ext/numeric.rb +2 -0
  96. data/lib/active_support/core_ext/numeric/bytes.rb +44 -0
  97. data/lib/active_support/core_ext/numeric/time.rb +77 -0
  98. data/lib/active_support/core_ext/object.rb +14 -0
  99. data/lib/active_support/core_ext/object/acts_like.rb +10 -0
  100. data/lib/active_support/core_ext/object/blank.rb +76 -0
  101. data/lib/active_support/core_ext/object/conversions.rb +4 -0
  102. data/lib/active_support/core_ext/object/duplicable.rb +65 -0
  103. data/lib/active_support/core_ext/object/extending.rb +11 -0
  104. data/lib/active_support/core_ext/object/instance_variables.rb +67 -0
  105. data/lib/active_support/core_ext/object/misc.rb +2 -0
  106. data/lib/active_support/core_ext/object/returning.rb +42 -0
  107. data/lib/active_support/core_ext/object/to_param.rb +49 -0
  108. data/lib/active_support/core_ext/object/to_query.rb +27 -0
  109. data/lib/active_support/core_ext/object/try.rb +36 -0
  110. data/lib/active_support/core_ext/object/with_options.rb +26 -0
  111. data/lib/active_support/core_ext/proc.rb +14 -0
  112. data/lib/active_support/core_ext/process.rb +1 -0
  113. data/lib/active_support/core_ext/process/daemon.rb +23 -0
  114. data/lib/active_support/core_ext/range.rb +4 -0
  115. data/lib/active_support/core_ext/range/blockless_step.rb +29 -0
  116. data/lib/active_support/core_ext/range/conversions.rb +21 -0
  117. data/lib/active_support/core_ext/range/include_range.rb +21 -0
  118. data/lib/active_support/core_ext/range/overlaps.rb +8 -0
  119. data/lib/active_support/core_ext/regexp.rb +5 -0
  120. data/lib/active_support/core_ext/rexml.rb +46 -0
  121. data/lib/active_support/core_ext/string.rb +12 -0
  122. data/lib/active_support/core_ext/string/access.rb +99 -0
  123. data/lib/active_support/core_ext/string/behavior.rb +7 -0
  124. data/lib/active_support/core_ext/string/conversions.rb +61 -0
  125. data/lib/active_support/core_ext/string/encoding.rb +11 -0
  126. data/lib/active_support/core_ext/string/exclude.rb +6 -0
  127. data/lib/active_support/core_ext/string/filters.rb +49 -0
  128. data/lib/active_support/core_ext/string/inflections.rb +149 -0
  129. data/lib/active_support/core_ext/string/interpolation.rb +2 -0
  130. data/lib/active_support/core_ext/string/multibyte.rb +72 -0
  131. data/lib/active_support/core_ext/string/output_safety.rb +109 -0
  132. data/lib/active_support/core_ext/string/starts_ends_with.rb +4 -0
  133. data/lib/active_support/core_ext/string/xchar.rb +18 -0
  134. data/lib/active_support/core_ext/time/acts_like.rb +8 -0
  135. data/lib/active_support/core_ext/time/calculations.rb +282 -0
  136. data/lib/active_support/core_ext/time/conversions.rb +85 -0
  137. data/lib/active_support/core_ext/time/marshal.rb +56 -0
  138. data/lib/active_support/core_ext/time/publicize_conversion_methods.rb +10 -0
  139. data/lib/active_support/core_ext/time/zones.rb +78 -0
  140. data/lib/active_support/core_ext/uri.rb +22 -0
  141. data/lib/active_support/dependencies.rb +628 -0
  142. data/lib/active_support/dependencies/autoload.rb +50 -0
  143. data/lib/active_support/deprecation.rb +18 -0
  144. data/lib/active_support/deprecation/behaviors.rb +38 -0
  145. data/lib/active_support/deprecation/method_wrappers.rb +29 -0
  146. data/lib/active_support/deprecation/proxy_wrappers.rb +74 -0
  147. data/lib/active_support/deprecation/reporting.rb +56 -0
  148. data/lib/active_support/duration.rb +105 -0
  149. data/lib/active_support/gzip.rb +25 -0
  150. data/lib/active_support/hash_with_indifferent_access.rb +145 -0
  151. data/lib/active_support/i18n.rb +8 -0
  152. data/lib/active_support/inflections.rb +56 -0
  153. data/lib/active_support/inflector.rb +7 -0
  154. data/lib/active_support/inflector/inflections.rb +211 -0
  155. data/lib/active_support/inflector/methods.rb +141 -0
  156. data/lib/active_support/inflector/transliterate.rb +97 -0
  157. data/lib/active_support/json.rb +2 -0
  158. data/lib/active_support/json/backends/jsongem.rb +43 -0
  159. data/lib/active_support/json/backends/yajl.rb +40 -0
  160. data/lib/active_support/json/backends/yaml.rb +90 -0
  161. data/lib/active_support/json/decoding.rb +51 -0
  162. data/lib/active_support/json/encoding.rb +254 -0
  163. data/lib/active_support/json/variable.rb +11 -0
  164. data/lib/active_support/lazy_load_hooks.rb +27 -0
  165. data/lib/active_support/locale/en.yml +36 -0
  166. data/lib/active_support/memoizable.rb +103 -0
  167. data/lib/active_support/message_encryptor.rb +71 -0
  168. data/lib/active_support/message_verifier.rb +62 -0
  169. data/lib/active_support/multibyte.rb +44 -0
  170. data/lib/active_support/multibyte/chars.rb +480 -0
  171. data/lib/active_support/multibyte/exceptions.rb +8 -0
  172. data/lib/active_support/multibyte/unicode.rb +393 -0
  173. data/lib/active_support/multibyte/utils.rb +60 -0
  174. data/lib/active_support/notifications.rb +81 -0
  175. data/lib/active_support/notifications/fanout.rb +93 -0
  176. data/lib/active_support/notifications/instrumenter.rb +56 -0
  177. data/lib/active_support/option_merger.rb +25 -0
  178. data/lib/active_support/ordered_hash.rb +158 -0
  179. data/lib/active_support/ordered_options.rb +27 -0
  180. data/lib/active_support/railtie.rb +100 -0
  181. data/lib/active_support/rescuable.rb +114 -0
  182. data/lib/active_support/ruby/shim.rb +22 -0
  183. data/lib/active_support/secure_random.rb +199 -0
  184. data/lib/active_support/string_inquirer.rb +21 -0
  185. data/lib/active_support/test_case.rb +42 -0
  186. data/lib/active_support/testing/assertions.rb +82 -0
  187. data/lib/active_support/testing/declarative.rb +40 -0
  188. data/lib/active_support/testing/default.rb +9 -0
  189. data/lib/active_support/testing/deprecation.rb +55 -0
  190. data/lib/active_support/testing/isolation.rb +154 -0
  191. data/lib/active_support/testing/pending.rb +48 -0
  192. data/lib/active_support/testing/performance.rb +455 -0
  193. data/lib/active_support/testing/setup_and_teardown.rb +111 -0
  194. data/lib/active_support/time.rb +34 -0
  195. data/lib/active_support/time/autoload.rb +5 -0
  196. data/lib/active_support/time_with_zone.rb +341 -0
  197. data/lib/active_support/values/time_zone.rb +377 -0
  198. data/lib/active_support/values/unicode_tables.dat +0 -0
  199. data/lib/active_support/version.rb +10 -0
  200. data/lib/active_support/whiny_nil.rb +60 -0
  201. data/lib/active_support/xml_mini.rb +158 -0
  202. data/lib/active_support/xml_mini/jdom.rb +168 -0
  203. data/lib/active_support/xml_mini/libxml.rb +80 -0
  204. data/lib/active_support/xml_mini/libxmlsax.rb +85 -0
  205. data/lib/active_support/xml_mini/nokogiri.rb +78 -0
  206. data/lib/active_support/xml_mini/nokogirisax.rb +83 -0
  207. data/lib/active_support/xml_mini/rexml.rb +129 -0
  208. data/lib/csd.rb +82 -2
  209. data/lib/csd/application.rb +2 -0
  210. data/lib/csd/application/default.rb +51 -0
  211. data/lib/csd/application/default/base.rb +15 -0
  212. data/lib/csd/application/minisip.rb +25 -0
  213. data/lib/csd/application/minisip/about.yml +14 -0
  214. data/lib/csd/application/minisip/base.rb +161 -0
  215. data/lib/csd/application/minisip/error.rb +11 -0
  216. data/lib/csd/application/minisip/options/common.rb +0 -0
  217. data/lib/csd/application/minisip/options/compile.rb +59 -0
  218. data/lib/csd/{applications → application}/minisip/unix/base.rb +10 -11
  219. data/lib/csd/application/opensips/about.yml +2 -0
  220. data/lib/csd/applications.rb +55 -0
  221. data/lib/csd/commands.rb +88 -65
  222. data/lib/csd/error.rb +31 -0
  223. data/lib/csd/extensions.rb +1 -0
  224. data/lib/{extensions → csd/extensions}/core/array.rb +2 -2
  225. data/lib/csd/extensions/core/dir.rb +46 -0
  226. data/lib/{extensions → csd/extensions}/core/file.rb +2 -2
  227. data/lib/{extensions → csd/extensions}/core/object.rb +2 -2
  228. data/lib/csd/extensions/core/option_parser.rb +33 -0
  229. data/lib/{extensions → csd/extensions}/core/pathname.rb +12 -3
  230. data/lib/{extensions → csd/extensions}/core/string.rb +2 -2
  231. data/lib/{extensions → csd/extensions}/gem/platform.rb +6 -2
  232. data/lib/csd/global_open_struct.rb +18 -0
  233. data/lib/csd/options.rb +124 -95
  234. data/lib/csd/path.rb +31 -0
  235. data/lib/csd/ui.rb +1 -0
  236. data/lib/csd/ui/cli.rb +7 -0
  237. data/lib/csd/ui/ui.rb +46 -0
  238. data/lib/csd/version.rb +9 -0
  239. data/lib/term/ansicolor.rb +102 -0
  240. data/lib/term/ansicolor/.keep +0 -0
  241. data/lib/term/ansicolor/version.rb +10 -0
  242. data/test/functional/test_applications.rb +86 -0
  243. data/test/functional/test_commands.rb +42 -29
  244. data/test/functional/test_options.rb +98 -0
  245. data/test/helper.rb +14 -0
  246. data/test/unit/test_dir.rb +38 -0
  247. data/test/unit/test_pathname.rb +32 -0
  248. metadata +253 -40
  249. data/LICENSE +0 -20
  250. data/bin/csd +0 -8
  251. data/lib/csd/applications/base.rb +0 -33
  252. data/lib/csd/applications/minisip/base.rb +0 -125
  253. data/lib/csd/applications/minisip/init.rb +0 -20
  254. data/lib/csd/init.rb +0 -69
  255. data/lib/csd/path_container.rb +0 -15
  256. data/publish +0 -29
@@ -17,4 +17,18 @@ class Test::Unit::TestCase
17
17
  target
18
18
  end
19
19
 
20
+ def assert_includes(elem, array, message = nil)
21
+ message = build_message message, ' is not found in .', elem, array
22
+ assert_block message do
23
+ array.include? elem
24
+ end
25
+ end
26
+
27
+ def assert_excludes(elem, array, message = nil)
28
+ message = build_message message, ' is found in .', elem, array
29
+ assert_block message do
30
+ !array.include? elem
31
+ end
32
+ end
33
+
20
34
  end
@@ -0,0 +1,38 @@
1
+ require 'helper'
2
+ require 'active_support/secure_random'
3
+
4
+ class TestDir < Test::Unit::TestCase
5
+
6
+ include CSD
7
+
8
+ context "When working with directories" do
9
+
10
+ setup do
11
+ @tmp = Dir.mktmpdir
12
+ @subdirs = []
13
+ 5.times { @subdirs << ActiveSupport::SecureRandom.hex(5) }
14
+ @subdirs.each { |subdir| ensure_mkdir(File.join(@tmp, subdir)) }
15
+ end
16
+
17
+ teardown do
18
+ assert FileUtils.rm_r(@tmp)
19
+ end
20
+
21
+ context "directories" do
22
+
23
+ should "return all subdirectory names as an array" do
24
+ result = Dir.directories(@tmp).map { |dirname| dirname }
25
+ assert_equal @subdirs.sort, result
26
+ end
27
+
28
+ should "yield all subdirectories in a block" do
29
+ result = []
30
+ Dir.directories(@tmp) { |dir| result << dir }
31
+ assert_equal @subdirs.sort, Dir.directories(@tmp).sort
32
+ end
33
+
34
+ end # context "directories"
35
+
36
+ end # context "When working with directories"
37
+
38
+ end
@@ -1,4 +1,5 @@
1
1
  require 'helper'
2
+ require 'active_support/secure_random'
2
3
 
3
4
  class TestPathname < Test::Unit::TestCase
4
5
 
@@ -16,4 +17,35 @@ class TestPathname < Test::Unit::TestCase
16
17
 
17
18
  end
18
19
 
20
+ context "When working with directories" do
21
+
22
+ setup do
23
+ @tmp = Dir.mktmpdir
24
+ @subdirs = []
25
+ 5.times { @subdirs << File.join(@tmp, ActiveSupport::SecureRandom.hex(5)) }
26
+ @subdirs.each { |subdir| ensure_mkdir(subdir) }
27
+ @subdirs.map! { |subdir| Pathname.new(subdir) }
28
+ end
29
+
30
+ teardown do
31
+ assert FileUtils.rm_r(@tmp)
32
+ end
33
+
34
+ context "directories" do
35
+
36
+ should "return all subdirectory names as an array" do
37
+ result = Pathname.new(@tmp).children_directories.map { |pathname| pathname }
38
+ assert_equal @subdirs.sort, result
39
+ end
40
+
41
+ should "yield all subdirectories in a block" do
42
+ result = []
43
+ Pathname.new(@tmp).children_directories { |dir| result << dir }
44
+ assert_equal @subdirs.sort, Pathname.new(@tmp).children_directories.sort
45
+ end
46
+
47
+ end # context "directories"
48
+
49
+ end # context "When working with directories"
50
+
19
51
  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: 1
4
+ hash: 63
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 15
10
- version: 0.0.15
9
+ - 16
10
+ version: 0.0.16
11
11
  platform: ruby
12
12
  authors:
13
13
  - Technology Transfer Alliance Team
@@ -15,8 +15,8 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-22 00:00:00 +02:00
19
- default_executable: csd
18
+ date: 2010-07-13 00:00:00 +02:00
19
+ default_executable: ai
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
22
22
  name: term-ansicolor
@@ -38,71 +38,281 @@ dependencies:
38
38
  requirement: &id002 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
- - - ">="
41
+ - - "="
42
42
  - !ruby/object:Gem::Version
43
- hash: 3
43
+ hash: -1848230021
44
44
  segments:
45
+ - 3
45
46
  - 0
46
- version: "0"
47
- type: :runtime
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: builder
51
- prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
53
- none: false
54
- requirements:
55
- - - ">="
56
- - !ruby/object:Gem::Version
57
- hash: 3
58
- segments:
59
47
  - 0
60
- version: "0"
48
+ - beta3
49
+ version: 3.0.0.beta3
61
50
  type: :runtime
62
- version_requirements: *id003
51
+ version_requirements: *id002
63
52
  description: CSD stands for Communication Systems Design and is a project of the Telecommunication Systems Laboratory (TSLab) of the Royal Institute of Technology in Stockholm, Sweden. Within CSD many software tools are used to build up various networks and services. This gem is supposed to automate processes to handle the compilation and installation of these software tools. Technology Transfer Alliance (TTA) is the project team, which maintains this code.
64
53
  email: mtoday11@gmail.com
65
54
  executables:
66
- - csd
55
+ - ai
67
56
  extensions: []
68
57
 
69
58
  extra_rdoc_files:
70
- - LICENSE
71
59
  - README.rdoc
72
60
  files:
73
61
  - .document
74
62
  - .gitignore
75
- - LICENSE
63
+ - COPYING
76
64
  - README.rdoc
77
65
  - Rakefile
78
66
  - VERSION
79
- - bin/csd
67
+ - bin/ai
80
68
  - csd.gemspec
69
+ - lib/active_support.rb
70
+ - lib/active_support/all.rb
71
+ - lib/active_support/backtrace_cleaner.rb
72
+ - lib/active_support/base64.rb
73
+ - lib/active_support/basic_object.rb
74
+ - lib/active_support/benchmarkable.rb
75
+ - lib/active_support/buffered_logger.rb
76
+ - lib/active_support/builder.rb
77
+ - lib/active_support/cache.rb
78
+ - lib/active_support/cache/compressed_mem_cache_store.rb
79
+ - lib/active_support/cache/file_store.rb
80
+ - lib/active_support/cache/mem_cache_store.rb
81
+ - lib/active_support/cache/memory_store.rb
82
+ - lib/active_support/cache/strategy/local_cache.rb
83
+ - lib/active_support/cache/synchronized_memory_store.rb
84
+ - lib/active_support/callbacks.rb
85
+ - lib/active_support/concern.rb
86
+ - lib/active_support/configurable.rb
87
+ - lib/active_support/core_ext.rb
88
+ - lib/active_support/core_ext/array.rb
89
+ - lib/active_support/core_ext/array/access.rb
90
+ - lib/active_support/core_ext/array/conversions.rb
91
+ - lib/active_support/core_ext/array/extract_options.rb
92
+ - lib/active_support/core_ext/array/grouping.rb
93
+ - lib/active_support/core_ext/array/random_access.rb
94
+ - lib/active_support/core_ext/array/uniq_by.rb
95
+ - lib/active_support/core_ext/array/wrap.rb
96
+ - lib/active_support/core_ext/benchmark.rb
97
+ - lib/active_support/core_ext/big_decimal.rb
98
+ - lib/active_support/core_ext/big_decimal/conversions.rb
99
+ - lib/active_support/core_ext/cgi.rb
100
+ - lib/active_support/core_ext/cgi/escape_skipping_slashes.rb
101
+ - lib/active_support/core_ext/class.rb
102
+ - lib/active_support/core_ext/class/attribute.rb
103
+ - lib/active_support/core_ext/class/attribute_accessors.rb
104
+ - lib/active_support/core_ext/class/delegating_attributes.rb
105
+ - lib/active_support/core_ext/class/inheritable_attributes.rb
106
+ - lib/active_support/core_ext/class/subclasses.rb
107
+ - lib/active_support/core_ext/date/acts_like.rb
108
+ - lib/active_support/core_ext/date/calculations.rb
109
+ - lib/active_support/core_ext/date/conversions.rb
110
+ - lib/active_support/core_ext/date/freeze.rb
111
+ - lib/active_support/core_ext/date_time/acts_like.rb
112
+ - lib/active_support/core_ext/date_time/calculations.rb
113
+ - lib/active_support/core_ext/date_time/conversions.rb
114
+ - lib/active_support/core_ext/date_time/zones.rb
115
+ - lib/active_support/core_ext/enumerable.rb
116
+ - lib/active_support/core_ext/exception.rb
117
+ - lib/active_support/core_ext/file.rb
118
+ - lib/active_support/core_ext/file/atomic.rb
119
+ - lib/active_support/core_ext/file/path.rb
120
+ - lib/active_support/core_ext/float.rb
121
+ - lib/active_support/core_ext/float/rounding.rb
122
+ - lib/active_support/core_ext/hash.rb
123
+ - lib/active_support/core_ext/hash/conversions.rb
124
+ - lib/active_support/core_ext/hash/deep_merge.rb
125
+ - lib/active_support/core_ext/hash/diff.rb
126
+ - lib/active_support/core_ext/hash/except.rb
127
+ - lib/active_support/core_ext/hash/indifferent_access.rb
128
+ - lib/active_support/core_ext/hash/keys.rb
129
+ - lib/active_support/core_ext/hash/reverse_merge.rb
130
+ - lib/active_support/core_ext/hash/slice.rb
131
+ - lib/active_support/core_ext/integer.rb
132
+ - lib/active_support/core_ext/integer/inflections.rb
133
+ - lib/active_support/core_ext/integer/multiple.rb
134
+ - lib/active_support/core_ext/integer/time.rb
135
+ - lib/active_support/core_ext/kernel.rb
136
+ - lib/active_support/core_ext/kernel/agnostics.rb
137
+ - lib/active_support/core_ext/kernel/debugger.rb
138
+ - lib/active_support/core_ext/kernel/reporting.rb
139
+ - lib/active_support/core_ext/kernel/requires.rb
140
+ - lib/active_support/core_ext/kernel/singleton_class.rb
141
+ - lib/active_support/core_ext/load_error.rb
142
+ - lib/active_support/core_ext/logger.rb
143
+ - lib/active_support/core_ext/module.rb
144
+ - lib/active_support/core_ext/module/aliasing.rb
145
+ - lib/active_support/core_ext/module/anonymous.rb
146
+ - lib/active_support/core_ext/module/attr_accessor_with_default.rb
147
+ - lib/active_support/core_ext/module/attr_internal.rb
148
+ - lib/active_support/core_ext/module/attribute_accessors.rb
149
+ - lib/active_support/core_ext/module/delegation.rb
150
+ - lib/active_support/core_ext/module/deprecation.rb
151
+ - lib/active_support/core_ext/module/introspection.rb
152
+ - lib/active_support/core_ext/module/method_names.rb
153
+ - lib/active_support/core_ext/module/reachable.rb
154
+ - lib/active_support/core_ext/module/remove_method.rb
155
+ - lib/active_support/core_ext/module/synchronization.rb
156
+ - lib/active_support/core_ext/name_error.rb
157
+ - lib/active_support/core_ext/numeric.rb
158
+ - lib/active_support/core_ext/numeric/bytes.rb
159
+ - lib/active_support/core_ext/numeric/time.rb
160
+ - lib/active_support/core_ext/object.rb
161
+ - lib/active_support/core_ext/object/acts_like.rb
162
+ - lib/active_support/core_ext/object/blank.rb
163
+ - lib/active_support/core_ext/object/conversions.rb
164
+ - lib/active_support/core_ext/object/duplicable.rb
165
+ - lib/active_support/core_ext/object/extending.rb
166
+ - lib/active_support/core_ext/object/instance_variables.rb
167
+ - lib/active_support/core_ext/object/misc.rb
168
+ - lib/active_support/core_ext/object/returning.rb
169
+ - lib/active_support/core_ext/object/to_param.rb
170
+ - lib/active_support/core_ext/object/to_query.rb
171
+ - lib/active_support/core_ext/object/try.rb
172
+ - lib/active_support/core_ext/object/with_options.rb
173
+ - lib/active_support/core_ext/proc.rb
174
+ - lib/active_support/core_ext/process.rb
175
+ - lib/active_support/core_ext/process/daemon.rb
176
+ - lib/active_support/core_ext/range.rb
177
+ - lib/active_support/core_ext/range/blockless_step.rb
178
+ - lib/active_support/core_ext/range/conversions.rb
179
+ - lib/active_support/core_ext/range/include_range.rb
180
+ - lib/active_support/core_ext/range/overlaps.rb
181
+ - lib/active_support/core_ext/regexp.rb
182
+ - lib/active_support/core_ext/rexml.rb
183
+ - lib/active_support/core_ext/string.rb
184
+ - lib/active_support/core_ext/string/access.rb
185
+ - lib/active_support/core_ext/string/behavior.rb
186
+ - lib/active_support/core_ext/string/conversions.rb
187
+ - lib/active_support/core_ext/string/encoding.rb
188
+ - lib/active_support/core_ext/string/exclude.rb
189
+ - lib/active_support/core_ext/string/filters.rb
190
+ - lib/active_support/core_ext/string/inflections.rb
191
+ - lib/active_support/core_ext/string/interpolation.rb
192
+ - lib/active_support/core_ext/string/multibyte.rb
193
+ - lib/active_support/core_ext/string/output_safety.rb
194
+ - lib/active_support/core_ext/string/starts_ends_with.rb
195
+ - lib/active_support/core_ext/string/xchar.rb
196
+ - lib/active_support/core_ext/time/acts_like.rb
197
+ - lib/active_support/core_ext/time/calculations.rb
198
+ - lib/active_support/core_ext/time/conversions.rb
199
+ - lib/active_support/core_ext/time/marshal.rb
200
+ - lib/active_support/core_ext/time/publicize_conversion_methods.rb
201
+ - lib/active_support/core_ext/time/zones.rb
202
+ - lib/active_support/core_ext/uri.rb
203
+ - lib/active_support/dependencies.rb
204
+ - lib/active_support/dependencies/autoload.rb
205
+ - lib/active_support/deprecation.rb
206
+ - lib/active_support/deprecation/behaviors.rb
207
+ - lib/active_support/deprecation/method_wrappers.rb
208
+ - lib/active_support/deprecation/proxy_wrappers.rb
209
+ - lib/active_support/deprecation/reporting.rb
210
+ - lib/active_support/duration.rb
211
+ - lib/active_support/gzip.rb
212
+ - lib/active_support/hash_with_indifferent_access.rb
213
+ - lib/active_support/i18n.rb
214
+ - lib/active_support/inflections.rb
215
+ - lib/active_support/inflector.rb
216
+ - lib/active_support/inflector/inflections.rb
217
+ - lib/active_support/inflector/methods.rb
218
+ - lib/active_support/inflector/transliterate.rb
219
+ - lib/active_support/json.rb
220
+ - lib/active_support/json/backends/jsongem.rb
221
+ - lib/active_support/json/backends/yajl.rb
222
+ - lib/active_support/json/backends/yaml.rb
223
+ - lib/active_support/json/decoding.rb
224
+ - lib/active_support/json/encoding.rb
225
+ - lib/active_support/json/variable.rb
226
+ - lib/active_support/lazy_load_hooks.rb
227
+ - lib/active_support/locale/en.yml
228
+ - lib/active_support/memoizable.rb
229
+ - lib/active_support/message_encryptor.rb
230
+ - lib/active_support/message_verifier.rb
231
+ - lib/active_support/multibyte.rb
232
+ - lib/active_support/multibyte/chars.rb
233
+ - lib/active_support/multibyte/exceptions.rb
234
+ - lib/active_support/multibyte/unicode.rb
235
+ - lib/active_support/multibyte/utils.rb
236
+ - lib/active_support/notifications.rb
237
+ - lib/active_support/notifications/fanout.rb
238
+ - lib/active_support/notifications/instrumenter.rb
239
+ - lib/active_support/option_merger.rb
240
+ - lib/active_support/ordered_hash.rb
241
+ - lib/active_support/ordered_options.rb
242
+ - lib/active_support/railtie.rb
243
+ - lib/active_support/rescuable.rb
244
+ - lib/active_support/ruby/shim.rb
245
+ - lib/active_support/secure_random.rb
246
+ - lib/active_support/string_inquirer.rb
247
+ - lib/active_support/test_case.rb
248
+ - lib/active_support/testing/assertions.rb
249
+ - lib/active_support/testing/declarative.rb
250
+ - lib/active_support/testing/default.rb
251
+ - lib/active_support/testing/deprecation.rb
252
+ - lib/active_support/testing/isolation.rb
253
+ - lib/active_support/testing/pending.rb
254
+ - lib/active_support/testing/performance.rb
255
+ - lib/active_support/testing/setup_and_teardown.rb
256
+ - lib/active_support/time.rb
257
+ - lib/active_support/time/autoload.rb
258
+ - lib/active_support/time_with_zone.rb
259
+ - lib/active_support/values/time_zone.rb
260
+ - lib/active_support/values/unicode_tables.dat
261
+ - lib/active_support/version.rb
262
+ - lib/active_support/whiny_nil.rb
263
+ - lib/active_support/xml_mini.rb
264
+ - lib/active_support/xml_mini/jdom.rb
265
+ - lib/active_support/xml_mini/libxml.rb
266
+ - lib/active_support/xml_mini/libxmlsax.rb
267
+ - lib/active_support/xml_mini/nokogiri.rb
268
+ - lib/active_support/xml_mini/nokogirisax.rb
269
+ - lib/active_support/xml_mini/rexml.rb
81
270
  - lib/csd.rb
82
- - lib/csd/applications/base.rb
83
- - lib/csd/applications/minisip/base.rb
84
- - lib/csd/applications/minisip/init.rb
85
- - lib/csd/applications/minisip/unix/base.rb
271
+ - lib/csd/application.rb
272
+ - lib/csd/application/default.rb
273
+ - lib/csd/application/default/base.rb
274
+ - lib/csd/application/minisip.rb
275
+ - lib/csd/application/minisip/about.yml
276
+ - lib/csd/application/minisip/base.rb
277
+ - lib/csd/application/minisip/error.rb
278
+ - lib/csd/application/minisip/options/common.rb
279
+ - lib/csd/application/minisip/options/compile.rb
280
+ - lib/csd/application/minisip/unix/base.rb
281
+ - lib/csd/application/opensips/about.yml
282
+ - lib/csd/applications.rb
86
283
  - lib/csd/commands.rb
87
- - lib/csd/init.rb
284
+ - lib/csd/error.rb
285
+ - lib/csd/extensions.rb
286
+ - lib/csd/extensions/core/array.rb
287
+ - lib/csd/extensions/core/dir.rb
288
+ - lib/csd/extensions/core/file.rb
289
+ - lib/csd/extensions/core/object.rb
290
+ - lib/csd/extensions/core/option_parser.rb
291
+ - lib/csd/extensions/core/pathname.rb
292
+ - lib/csd/extensions/core/string.rb
293
+ - lib/csd/extensions/gem/platform.rb
294
+ - lib/csd/global_open_struct.rb
88
295
  - lib/csd/options.rb
89
- - lib/csd/path_container.rb
90
- - lib/extensions/core/array.rb
91
- - lib/extensions/core/file.rb
92
- - lib/extensions/core/object.rb
93
- - lib/extensions/core/pathname.rb
94
- - lib/extensions/core/string.rb
95
- - lib/extensions/gem/platform.rb
96
- - publish
296
+ - lib/csd/path.rb
297
+ - lib/csd/ui.rb
298
+ - lib/csd/ui/cli.rb
299
+ - lib/csd/ui/ui.rb
300
+ - lib/csd/version.rb
301
+ - lib/term/ansicolor.rb
302
+ - lib/term/ansicolor/.keep
303
+ - lib/term/ansicolor/version.rb
304
+ - test/functional/test_applications.rb
97
305
  - test/functional/test_commands.rb
306
+ - test/functional/test_options.rb
98
307
  - test/helper.rb
308
+ - test/unit/test_dir.rb
99
309
  - test/unit/test_pathname.rb
100
310
  - test/unit/test_string.rb
101
311
  has_rdoc: true
102
312
  homepage: http://github.com/csd/csd
103
313
  licenses: []
104
314
 
105
- post_install_message: "\n ==============================================================================\n\n Thank you for installing the Communication Systems Design Gem!\n \n You can run it by just typing \xC2\xB4csd\xC2\xB4 in your command line.\n \n Note: On Debian and Ubuntu the executable \xC2\xB4csd\xC2\xB4 is not in your PATH by default\n You can fix this problem by creating a symlink with these two commands:\n \n GEMBIN=$(gem env | grep \"E D\" | sed \"s/[^\\w]* //\")\n sudo ln -s \"${GEMBIN}/csd\" /usr/local/bin/csd\n \n ==============================================================================\n "
315
+ post_install_message: "\n ==================================================================================\n\n Thank you for installing the Communication Systems and Design Automated Installer!\n You can run it by just typing `ai\xC2\xB4 in your command line.\n \n . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .\n \n Note: On Debian and Ubuntu the executable `ai\xC2\xB4 is not in your PATH by default.\n You can fix this problem by creating a symlink with these two commands:\n \n GEMBIN=$(gem env | grep \"E D\" | sed \"s/[^\\w]* //\")\n sudo ln -s \"${GEMBIN}/ai\" /usr/local/bin/ai\n \n ==================================================================================\n "
106
316
  rdoc_options:
107
317
  - --charset=UTF-8
108
318
  require_paths:
@@ -133,7 +343,10 @@ signing_key:
133
343
  specification_version: 3
134
344
  summary: Installation and compilation handler for software used in CSD projects.
135
345
  test_files:
346
+ - test/functional/test_applications.rb
136
347
  - test/functional/test_commands.rb
348
+ - test/functional/test_options.rb
137
349
  - test/helper.rb
350
+ - test/unit/test_dir.rb
138
351
  - test/unit/test_pathname.rb
139
352
  - test/unit/test_string.rb