puremvc-as3 2.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/2.0.4/asdoc/all-classes.html +81 -0
  2. data/2.0.4/asdoc/all-index-A.html +59 -0
  3. data/2.0.4/asdoc/all-index-B.html +52 -0
  4. data/2.0.4/asdoc/all-index-C.html +92 -0
  5. data/2.0.4/asdoc/all-index-D.html +58 -0
  6. data/2.0.4/asdoc/all-index-E.html +89 -0
  7. data/2.0.4/asdoc/all-index-F.html +72 -0
  8. data/2.0.4/asdoc/all-index-G.html +190 -0
  9. data/2.0.4/asdoc/all-index-H.html +174 -0
  10. data/2.0.4/asdoc/all-index-I.html +202 -0
  11. data/2.0.4/asdoc/all-index-J.html +52 -0
  12. data/2.0.4/asdoc/all-index-K.html +52 -0
  13. data/2.0.4/asdoc/all-index-L.html +67 -0
  14. data/2.0.4/asdoc/all-index-M.html +112 -0
  15. data/2.0.4/asdoc/all-index-N.html +128 -0
  16. data/2.0.4/asdoc/all-index-O.html +178 -0
  17. data/2.0.4/asdoc/all-index-P.html +79 -0
  18. data/2.0.4/asdoc/all-index-Q.html +52 -0
  19. data/2.0.4/asdoc/all-index-R.html +308 -0
  20. data/2.0.4/asdoc/all-index-S.html +193 -0
  21. data/2.0.4/asdoc/all-index-T.html +67 -0
  22. data/2.0.4/asdoc/all-index-U.html +52 -0
  23. data/2.0.4/asdoc/all-index-V.html +84 -0
  24. data/2.0.4/asdoc/all-index-W.html +52 -0
  25. data/2.0.4/asdoc/all-index-X.html +52 -0
  26. data/2.0.4/asdoc/all-index-Y.html +52 -0
  27. data/2.0.4/asdoc/all-index-Z.html +52 -0
  28. data/2.0.4/asdoc/appendixes.html +47 -0
  29. data/2.0.4/asdoc/asdoc.js +273 -0
  30. data/2.0.4/asdoc/class-summary.html +174 -0
  31. data/2.0.4/asdoc/cookies.js +84 -0
  32. data/2.0.4/asdoc/images/collapsed.gif +0 -0
  33. data/2.0.4/asdoc/images/detailHeaderRule.jpg +0 -0
  34. data/2.0.4/asdoc/images/detailSectionHeader.jpg +0 -0
  35. data/2.0.4/asdoc/images/expanded.gif +0 -0
  36. data/2.0.4/asdoc/images/inherit-arrow.gif +0 -0
  37. data/2.0.4/asdoc/images/inheritedSummary.gif +0 -0
  38. data/2.0.4/asdoc/images/logo.jpg +0 -0
  39. data/2.0.4/asdoc/images/titleTableBottom.jpg +0 -0
  40. data/2.0.4/asdoc/images/titleTableMiddle.jpg +0 -0
  41. data/2.0.4/asdoc/images/titleTableTop.jpg +0 -0
  42. data/2.0.4/asdoc/index-list.html +121 -0
  43. data/2.0.4/asdoc/index.html +63 -0
  44. data/2.0.4/asdoc/mxml-tags.html +45 -0
  45. data/2.0.4/asdoc/org/puremvc/as3/core/Controller.html +433 -0
  46. data/2.0.4/asdoc/org/puremvc/as3/core/Model.html +405 -0
  47. data/2.0.4/asdoc/org/puremvc/as3/core/View.html +524 -0
  48. data/2.0.4/asdoc/org/puremvc/as3/core/class-list.html +30 -0
  49. data/2.0.4/asdoc/org/puremvc/as3/core/package-detail.html +65 -0
  50. data/2.0.4/asdoc/org/puremvc/as3/interfaces/ICommand.html +110 -0
  51. data/2.0.4/asdoc/org/puremvc/as3/interfaces/IController.html +226 -0
  52. data/2.0.4/asdoc/org/puremvc/as3/interfaces/IFacade.html +520 -0
  53. data/2.0.4/asdoc/org/puremvc/as3/interfaces/IMediator.html +345 -0
  54. data/2.0.4/asdoc/org/puremvc/as3/interfaces/IModel.html +226 -0
  55. data/2.0.4/asdoc/org/puremvc/as3/interfaces/INotification.html +269 -0
  56. data/2.0.4/asdoc/org/puremvc/as3/interfaces/INotifier.html +151 -0
  57. data/2.0.4/asdoc/org/puremvc/as3/interfaces/IObserver.html +234 -0
  58. data/2.0.4/asdoc/org/puremvc/as3/interfaces/IProxy.html +217 -0
  59. data/2.0.4/asdoc/org/puremvc/as3/interfaces/IView.html +350 -0
  60. data/2.0.4/asdoc/org/puremvc/as3/interfaces/class-list.html +54 -0
  61. data/2.0.4/asdoc/org/puremvc/as3/interfaces/package-detail.html +93 -0
  62. data/2.0.4/asdoc/org/puremvc/as3/patterns/command/MacroCommand.html +284 -0
  63. data/2.0.4/asdoc/org/puremvc/as3/patterns/command/SimpleCommand.html +164 -0
  64. data/2.0.4/asdoc/org/puremvc/as3/patterns/command/class-list.html +27 -0
  65. data/2.0.4/asdoc/org/puremvc/as3/patterns/command/package-detail.html +61 -0
  66. data/2.0.4/asdoc/org/puremvc/as3/patterns/facade/Facade.html +940 -0
  67. data/2.0.4/asdoc/org/puremvc/as3/patterns/facade/class-list.html +24 -0
  68. data/2.0.4/asdoc/org/puremvc/as3/patterns/facade/package-detail.html +57 -0
  69. data/2.0.4/asdoc/org/puremvc/as3/patterns/mediator/Mediator.html +402 -0
  70. data/2.0.4/asdoc/org/puremvc/as3/patterns/mediator/class-list.html +24 -0
  71. data/2.0.4/asdoc/org/puremvc/as3/patterns/mediator/package-detail.html +57 -0
  72. data/2.0.4/asdoc/org/puremvc/as3/patterns/observer/Notification.html +312 -0
  73. data/2.0.4/asdoc/org/puremvc/as3/patterns/observer/Notifier.html +180 -0
  74. data/2.0.4/asdoc/org/puremvc/as3/patterns/observer/Observer.html +253 -0
  75. data/2.0.4/asdoc/org/puremvc/as3/patterns/observer/class-list.html +30 -0
  76. data/2.0.4/asdoc/org/puremvc/as3/patterns/observer/package-detail.html +65 -0
  77. data/2.0.4/asdoc/org/puremvc/as3/patterns/proxy/Proxy.html +338 -0
  78. data/2.0.4/asdoc/org/puremvc/as3/patterns/proxy/class-list.html +24 -0
  79. data/2.0.4/asdoc/org/puremvc/as3/patterns/proxy/package-detail.html +57 -0
  80. data/2.0.4/asdoc/package-frame.html +36 -0
  81. data/2.0.4/asdoc/package-list.html +52 -0
  82. data/2.0.4/asdoc/package-summary.html +68 -0
  83. data/2.0.4/asdoc/print.css +110 -0
  84. data/2.0.4/asdoc/style.css +565 -0
  85. data/2.0.4/asdoc/title-bar.html +55 -0
  86. data/2.0.4/bin/PureMVC_AS3_2_0_4.swc +0 -0
  87. data/2.0.4/license.txt +61 -0
  88. data/2.0.4/src/org/puremvc/as3/core/Controller.as +183 -0
  89. data/2.0.4/src/org/puremvc/as3/core/Model.as +144 -0
  90. data/2.0.4/src/org/puremvc/as3/core/View.as +271 -0
  91. data/2.0.4/src/org/puremvc/as3/interfaces/ICommand.as +21 -0
  92. data/2.0.4/src/org/puremvc/as3/interfaces/IController.as +64 -0
  93. data/2.0.4/src/org/puremvc/as3/interfaces/IFacade.as +131 -0
  94. data/2.0.4/src/org/puremvc/as3/interfaces/IMediator.as +150 -0
  95. data/2.0.4/src/org/puremvc/as3/interfaces/IModel.as +57 -0
  96. data/2.0.4/src/org/puremvc/as3/interfaces/INotification.as +76 -0
  97. data/2.0.4/src/org/puremvc/as3/interfaces/INotifier.as +46 -0
  98. data/2.0.4/src/org/puremvc/as3/interfaces/IObserver.as +81 -0
  99. data/2.0.4/src/org/puremvc/as3/interfaces/IProxy.as +61 -0
  100. data/2.0.4/src/org/puremvc/as3/interfaces/IView.as +106 -0
  101. data/2.0.4/src/org/puremvc/as3/patterns/command/MacroCommand.as +121 -0
  102. data/2.0.4/src/org/puremvc/as3/patterns/command/SimpleCommand.as +42 -0
  103. data/2.0.4/src/org/puremvc/as3/patterns/facade/Facade.as +419 -0
  104. data/2.0.4/src/org/puremvc/as3/patterns/mediator/Mediator.as +115 -0
  105. data/2.0.4/src/org/puremvc/as3/patterns/observer/Notification.as +128 -0
  106. data/2.0.4/src/org/puremvc/as3/patterns/observer/Notifier.as +55 -0
  107. data/2.0.4/src/org/puremvc/as3/patterns/observer/Observer.as +114 -0
  108. data/2.0.4/src/org/puremvc/as3/patterns/proxy/Proxy.as +88 -0
  109. data/2.0.4/src/puremvc-manifest.xml +20 -0
  110. data/2.0.4/version.txt +117 -0
  111. data/Gemfile +4 -0
  112. data/README.textile +107 -0
  113. data/Rakefile +24 -0
  114. data/lib/puremvc-as3.rb +29 -0
  115. data/lib/rake/rename.rb +34 -0
  116. metadata +198 -0
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "http://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in puremvcas3.gemspec
4
+ gemspec
@@ -0,0 +1,107 @@
1
+
2
+ h1. The PureMVC AS3 Sprout Gem
3
+
4
+ h4. requires sprout, v >= 1.0.x.pre
5
+
6
+ The ActionScript 3 port of PureMVC wrapped in a Sprout::Specification for implementation into a sprout project and Gem::Specification for distribution as a gem.
7
+
8
+ The built sprout gem includes the PureMVC source code and swc, svn-exported at build-time from the official PureMVC repository. As a Sprout::Library, the swc will be copied to lib/puremvc-as3 of your sprout project.
9
+
10
+ h3. Installation
11
+
12
+ Intended for use with a project using Project Sprouts.
13
+
14
+ See information concerning Project Sprouts here:
15
+ * "http://github.com/lukebayes/project-sprouts" http://github.com/lukebayes/project-sprouts
16
+ * "http://github.com/lukebayes/sprout-flashsdk" http://github.com/lukebayes/sprout-flashsdk
17
+
18
+ Add the PureMVC_AS3 gem to your Gemfile:
19
+
20
+ <pre><code>gem "puremvc-as3"</code></pre>
21
+
22
+ Add the PureMVC_AS3 library dependency to your Rakefile:
23
+
24
+ <pre><code>library "puremvc-as3"</code></pre>
25
+
26
+ Enter this shell command to resolve gem dependency:
27
+
28
+ <pre><code>bundle install</code></pre>
29
+
30
+ h3. Ruby Gem
31
+
32
+ The gem can be installed independently of a project entering this command:
33
+
34
+ <pre><code>gem install puremvc-as3</code></pre>
35
+
36
+ h3. Additional links
37
+
38
+ * "PureMVC Site":http://puremvc.org
39
+ * "PureMVC AS3 Port svn repository":http://svn.puremvc.org/PureMVC_AS3
40
+ * "Sprouts Site":http://projectsprouts.org
41
+ * "Sprouts on Github":http://github.com/lukebayes/project-sprouts
42
+ * "flashsdk sprout on Github":http://github.com/lukebayes/sprout-flashsdk
43
+ * "Sprouts Community":http://groups.google.com/group/projectsprouts
44
+
45
+ h3. PureMVC License
46
+
47
+ PureMVC - Copyright(c) 2006-08 Futurescale, Inc., Some rights reserved.
48
+ --------------------------------------------------------------------------
49
+ Reuse governed by Creative Commons Attribution 3.0 United States License
50
+ View this license and the associated Creative Commons deed online at:
51
+ http://creativecommons.org/licenses/by/3.0/us/
52
+ You must leave all copyright and license
53
+ statements intact in your final product.
54
+ --------------------------------------------------------------------------
55
+ License
56
+
57
+ THE WORK (AS DEFINED BELOW) IS PROVIDED UNDER THE TERMS OF THIS CREATIVE COMMONS PUBLIC LICENSE ("CCPL" OR "LICENSE"). THE WORK IS PROTECTED BY COPYRIGHT AND/OR OTHER APPLICABLE LAW. ANY USE OF THE WORK OTHER THAN AS AUTHORIZED UNDER THIS LICENSE OR COPYRIGHT LAW IS PROHIBITED.
58
+
59
+ BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS.
60
+
61
+ 1. Definitions
62
+
63
+ 1. "Collective Work" means a work, such as a periodical issue, anthology or encyclopedia, in which the Work in its entirety in unmodified form, along with one or more other contributions, constituting separate and independent works in themselves, are assembled into a collective whole. A work that constitutes a Collective Work will not be considered a Derivative Work (as defined below) for the purposes of this License.
64
+ 2. "Derivative Work" means a work based upon the Work or upon the Work and other pre-existing works, such as a translation, musical arrangement, dramatization, fictionalization, motion picture version, sound recording, art reproduction, abridgment, condensation, or any other form in which the Work may be recast, transformed, or adapted, except that a work that constitutes a Collective Work will not be considered a Derivative Work for the purpose of this License. For the avoidance of doubt, where the Work is a musical composition or sound recording, the synchronization of the Work in timed-relation with a moving image ("synching") will be considered a Derivative Work for the purpose of this License.
65
+ 3. "Licensor" means the individual, individuals, entity or entities that offers the Work under the terms of this License.
66
+ 4. "Original Author" means the individual, individuals, entity or entities who created the Work.
67
+ 5. "Work" means the copyrightable work of authorship offered under the terms of this License.
68
+ 6. "You" means an individual or entity exercising rights under this License who has not previously violated the terms of this License with respect to the Work, or who has received express permission from the Licensor to exercise rights under this License despite a previous violation.
69
+
70
+ 2. Fair Use Rights. Nothing in this license is intended to reduce, limit, or restrict any rights arising from fair use, first sale or other limitations on the exclusive rights of the copyright owner under copyright law or other applicable laws.
71
+
72
+ 3. License Grant. Subject to the terms and conditions of this License, Licensor hereby grants You a worldwide, royalty-free, non-exclusive, perpetual (for the duration of the applicable copyright) license to exercise the rights in the Work as stated below:
73
+
74
+ 1. to reproduce the Work, to incorporate the Work into one or more Collective Works, and to reproduce the Work as incorporated in the Collective Works;
75
+ 2. to create and reproduce Derivative Works provided that any such Derivative Work, including any translation in any medium, takes reasonable steps to clearly label, demarcate or otherwise identify that changes were made to the original Work. For example, a translation could be marked "The original work was translated from English to Spanish," or a modification could indicate "The original work has been modified.";;
76
+ 3. to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission the Work including as incorporated in Collective Works;
77
+ 4. to distribute copies or phonorecords of, display publicly, perform publicly, and perform publicly by means of a digital audio transmission Derivative Works.
78
+ 5. For the avoidance of doubt, where the Work is a musical composition:
79
+ 1. Performance Royalties Under Blanket Licenses. Licensor waives the exclusive right to collect, whether individually or, in the event that Licensor is a member of a performance rights society (e.g. ASCAP, BMI, SESAC), via that society, royalties for the public performance or public digital performance (e.g. webcast) of the Work.
80
+ 2. Mechanical Rights and Statutory Royalties. Licensor waives the exclusive right to collect, whether individually or via a music rights agency or designated agent (e.g. Harry Fox Agency), royalties for any phonorecord You create from the Work ("cover version") and distribute, subject to the compulsory license created by 17 USC Section 115 of the US Copyright Act (or the equivalent in other jurisdictions).
81
+ 6. Webcasting Rights and Statutory Royalties. For the avoidance of doubt, where the Work is a sound recording, Licensor waives the exclusive right to collect, whether individually or via a performance-rights society (e.g. SoundExchange), royalties for the public digital performance (e.g. webcast) of the Work, subject to the compulsory license created by 17 USC Section 114 of the US Copyright Act (or the equivalent in other jurisdictions).
82
+
83
+ The above rights may be exercised in all media and formats whether now known or hereafter devised. The above rights include the right to make such modifications as are technically necessary to exercise the rights in other media and formats. All rights not expressly granted by Licensor are hereby reserved.
84
+
85
+ 4. Restrictions. The license granted in Section 3 above is expressly made subject to and limited by the following restrictions:
86
+
87
+ 1. You may distribute, publicly display, publicly perform, or publicly digitally perform the Work only under the terms of this License, and You must include a copy of, or the Uniform Resource Identifier for, this License with every copy or phonorecord of the Work You distribute, publicly display, publicly perform, or publicly digitally perform. You may not offer or impose any terms on the Work that restrict the terms of this License or the ability of a recipient of the Work to exercise the rights granted to that recipient under the terms of the License. You may not sublicense the Work. You must keep intact all notices that refer to this License and to the disclaimer of warranties. When You distribute, publicly display, publicly perform, or publicly digitally perform the Work, You may not impose any technological measures on the Work that restrict the ability of a recipient of the Work from You to exercise the rights granted to that recipient under the terms of the License. This Section 4(a) applies to the Work as incorporated in a Collective Work, but this does not require the Collective Work apart from the Work itself to be made subject to the terms of this License. If You create a Collective Work, upon notice from any Licensor You must, to the extent practicable, remove from the Collective Work any credit as required by Section 4(b), as requested. If You create a Derivative Work, upon notice from any Licensor You must, to the extent practicable, remove from the Derivative Work any credit as required by Section 4(b), as requested.
88
+ 2. If You distribute, publicly display, publicly perform, or publicly digitally perform the Work (as defined in Section 1 above) or any Derivative Works (as defined in Section 1 above) or Collective Works (as defined in Section 1 above), You must, unless a request has been made pursuant to Section 4(a), keep intact all copyright notices for the Work and provide, reasonable to the medium or means You are utilizing: (i) the name of the Original Author (or pseudonym, if applicable) if supplied, and/or (ii) if the Original Author and/or Licensor designate another party or parties (e.g. a sponsor institute, publishing entity, journal) for attribution ("Attribution Parties") in Licensor's copyright notice, terms of service or by other reasonable means, the name of such party or parties; the title of the Work if supplied; to the extent reasonably practicable, the Uniform Resource Identifier, if any, that Licensor specifies to be associated with the Work, unless such URI does not refer to the copyright notice or licensing information for the Work; and, consistent with Section 3(b) in the case of a Derivative Work, a credit identifying the use of the Work in the Derivative Work (e.g., "French translation of the Work by Original Author," or "Screenplay based on original Work by Original Author"). The credit required by this Section 4(b) may be implemented in any reasonable manner; provided, however, that in the case of a Derivative Work or Collective Work, at a minimum such credit will appear, if a credit for all contributing authors of the Derivative Work or Collective Work appears, then as part of these credits and in a manner at least as prominent as the credits for the other contributing authors. For the avoidance of doubt, You may only use the credit required by this Section for the purpose of attribution in the manner set out above and, by exercising Your rights under this License, You may not implicitly or explicitly assert or imply any connection with, sponsorship or endorsement by the Original Author, Licensor and/or Attribution Parties, as appropriate, of You or Your use of the Work, without the separate, express prior written permission of the Original Author, Licensor and/or Attribution Parties.
89
+
90
+ 5. Representations, Warranties and Disclaimer
91
+
92
+ UNLESS OTHERWISE MUTUALLY AGREED TO BY THE PARTIES IN WRITING, LICENSOR OFFERS THE WORK AS-IS AND ONLY TO THE EXTENT OF ANY RIGHTS HELD IN THE LICENSED WORK BY THE LICENSOR. THE LICENSOR MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND CONCERNING THE WORK, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE, INCLUDING, WITHOUT LIMITATION, WARRANTIES OF TITLE, MARKETABILITY, MERCHANTIBILITY, FITNESS FOR A PARTICULAR PURPOSE, NONINFRINGEMENT, OR THE ABSENCE OF LATENT OR OTHER DEFECTS, ACCURACY, OR THE PRESENCE OF ABSENCE OF ERRORS, WHETHER OR NOT DISCOVERABLE. SOME JURISDICTIONS DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES, SO SUCH EXCLUSION MAY NOT APPLY TO YOU.
93
+
94
+ 6. Limitation on Liability. EXCEPT TO THE EXTENT REQUIRED BY APPLICABLE LAW, IN NO EVENT WILL LICENSOR BE LIABLE TO YOU ON ANY LEGAL THEORY FOR ANY SPECIAL, INCIDENTAL, CONSEQUENTIAL, PUNITIVE OR EXEMPLARY DAMAGES ARISING OUT OF THIS LICENSE OR THE USE OF THE WORK, EVEN IF LICENSOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
95
+
96
+ 7. Termination
97
+
98
+ 1. This License and the rights granted hereunder will terminate automatically upon any breach by You of the terms of this License. Individuals or entities who have received Derivative Works (as defined in Section 1 above) or Collective Works (as defined in Section 1 above) from You under this License, however, will not have their licenses terminated provided such individuals or entities remain in full compliance with those licenses. Sections 1, 2, 5, 6, 7, and 8 will survive any termination of this License.
99
+ 2. Subject to the above terms and conditions, the license granted here is perpetual (for the duration of the applicable copyright in the Work). Notwithstanding the above, Licensor reserves the right to release the Work under different license terms or to stop distributing the Work at any time; provided, however that any such election will not serve to withdraw this License (or any other license that has been, or is required to be, granted under the terms of this License), and this License will continue in full force and effect unless terminated as stated above.
100
+
101
+ 8. Miscellaneous
102
+
103
+ 1. Each time You distribute or publicly digitally perform the Work (as defined in Section 1 above) or a Collective Work (as defined in Section 1 above), the Licensor offers to the recipient a license to the Work on the same terms and conditions as the license granted to You under this License.
104
+ 2. Each time You distribute or publicly digitally perform a Derivative Work, Licensor offers to the recipient a license to the original Work on the same terms and conditions as the license granted to You under this License.
105
+ 3. If any provision of this License is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this License, and without further action by the parties to this agreement, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
106
+ 4. No term or provision of this License shall be deemed waived and no breach consented to unless such waiver or consent shall be in writing and signed by the party to be charged with such waiver or consent.
107
+ 5. This License constitutes the entire agreement between the parties with respect to the Work licensed here. There are no understandings, agreements or representations with respect to the Work not specified here. Licensor shall not be bound by any additional provisions that may appear in any communication from You. This License may not be modified without the mutual written agreement of the Licensor and You.
@@ -0,0 +1,24 @@
1
+ require 'bundler'
2
+ require 'lib/puremvc-as3'
3
+ require 'lib/rake/rename'
4
+ require 'rake/clean'
5
+
6
+ CLOBBER.add PureMVC_AS3::SVN_DIR
7
+
8
+ Bundler::GemHelper.install_tasks
9
+
10
+ # rename 'package' task to 'package-local' task
11
+ Rake::Task[:build].rename(:"build_gem")
12
+
13
+ desc 'Build the gem after svn exporting the proper version of the PureMVC svn repo'
14
+ task :build => [ :svn_export, :build_gem ]
15
+
16
+ desc 'Run svn export on the remote svn repository of PureMVC'
17
+ task :svn_export do
18
+ if !File.directory? PureMVC_AS3::SVN_DIR
19
+ `svn export #{PureMVC_AS3::SVN_URL} #{PureMVC_AS3::SVN_DIR}`
20
+ else
21
+ puts "** The remote repository has already been exported into the local directory (#{PureMVC_AS3::SVN_DIR}). To re-export it, run rake task 'clobber'"
22
+ end
23
+ end
24
+
@@ -0,0 +1,29 @@
1
+ require 'sprout'
2
+ # require 'papervision3d/version'
3
+
4
+ module PureMVC_AS3
5
+ # Your code goes here...
6
+
7
+ NAME = "puremvc-as3"
8
+ VERSION = "2.0.4"
9
+
10
+ SVN_URL = "http://svn.puremvc.org/PureMVC_AS3/tags/#{VERSION}/"
11
+ SVN_DIR = "./#{VERSION}/"
12
+
13
+ # WARNING, PureMVC's download zip is version agnostic. This may result in incremented PureMVC version
14
+ # beyond the accurate version number of this sprout/gem.
15
+
16
+ # Perhaps in order to correct this, the svn source should be retrieved instead. (TODO)
17
+
18
+ end
19
+
20
+ Sprout::Specification.new do |s|
21
+ s.name = PureMVC_AS3::NAME
22
+ s.version = PureMVC_AS3::VERSION
23
+
24
+ s.add_file_target do |t|
25
+ t.platform = :universal
26
+ t.add_library :swc, "../#{PureMVC_AS3::SVN_DIR}bin"
27
+ end
28
+
29
+ end
@@ -0,0 +1,34 @@
1
+ # add rename_task method to Rake::Application
2
+ # it has an internal hash with name -> Rake::Task mapping
3
+ module Rake
4
+ class Application
5
+ def rename_task(task, oldname, newname)
6
+ if @tasks.nil?
7
+ @tasks = {}
8
+ end
9
+
10
+ @tasks[newname.to_s] = task
11
+
12
+ if @tasks.has_key? oldname
13
+ @tasks.delete oldname
14
+ end
15
+ end
16
+ end
17
+ end
18
+
19
+ # add new rename method to Rake::Task class
20
+ # to rename a task
21
+ class Rake::Task
22
+ def rename(new_name)
23
+ if !new_name.nil?
24
+ old_name = @name
25
+
26
+ if old_name == new_name
27
+ return
28
+ end
29
+
30
+ @name = new_name.to_s
31
+ application.rename_task(self, old_name, new_name)
32
+ end
33
+ end
34
+ end
metadata ADDED
@@ -0,0 +1,198 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: puremvc-as3
3
+ version: !ruby/object:Gem::Version
4
+ hash: 7
5
+ prerelease: false
6
+ segments:
7
+ - 2
8
+ - 0
9
+ - 4
10
+ version: 2.0.4
11
+ platform: ruby
12
+ authors: []
13
+
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-10-13 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: sprout
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 961915964
30
+ segments:
31
+ - 1
32
+ - 0
33
+ - 26
34
+ - pre
35
+ version: 1.0.26.pre
36
+ type: :runtime
37
+ version_requirements: *id001
38
+ description:
39
+ email:
40
+ - amoslanka@gmail.com
41
+ executables: []
42
+
43
+ extensions: []
44
+
45
+ extra_rdoc_files: []
46
+
47
+ files:
48
+ - lib/puremvc-as3.rb
49
+ - lib/rake/rename.rb
50
+ - Gemfile
51
+ - Rakefile
52
+ - README.textile
53
+ - ./2.0.4/asdoc/all-classes.html
54
+ - ./2.0.4/asdoc/all-index-A.html
55
+ - ./2.0.4/asdoc/all-index-B.html
56
+ - ./2.0.4/asdoc/all-index-C.html
57
+ - ./2.0.4/asdoc/all-index-D.html
58
+ - ./2.0.4/asdoc/all-index-E.html
59
+ - ./2.0.4/asdoc/all-index-F.html
60
+ - ./2.0.4/asdoc/all-index-G.html
61
+ - ./2.0.4/asdoc/all-index-H.html
62
+ - ./2.0.4/asdoc/all-index-I.html
63
+ - ./2.0.4/asdoc/all-index-J.html
64
+ - ./2.0.4/asdoc/all-index-K.html
65
+ - ./2.0.4/asdoc/all-index-L.html
66
+ - ./2.0.4/asdoc/all-index-M.html
67
+ - ./2.0.4/asdoc/all-index-N.html
68
+ - ./2.0.4/asdoc/all-index-O.html
69
+ - ./2.0.4/asdoc/all-index-P.html
70
+ - ./2.0.4/asdoc/all-index-Q.html
71
+ - ./2.0.4/asdoc/all-index-R.html
72
+ - ./2.0.4/asdoc/all-index-S.html
73
+ - ./2.0.4/asdoc/all-index-T.html
74
+ - ./2.0.4/asdoc/all-index-U.html
75
+ - ./2.0.4/asdoc/all-index-V.html
76
+ - ./2.0.4/asdoc/all-index-W.html
77
+ - ./2.0.4/asdoc/all-index-X.html
78
+ - ./2.0.4/asdoc/all-index-Y.html
79
+ - ./2.0.4/asdoc/all-index-Z.html
80
+ - ./2.0.4/asdoc/appendixes.html
81
+ - ./2.0.4/asdoc/asdoc.js
82
+ - ./2.0.4/asdoc/class-summary.html
83
+ - ./2.0.4/asdoc/cookies.js
84
+ - ./2.0.4/asdoc/images/collapsed.gif
85
+ - ./2.0.4/asdoc/images/detailHeaderRule.jpg
86
+ - ./2.0.4/asdoc/images/detailSectionHeader.jpg
87
+ - ./2.0.4/asdoc/images/expanded.gif
88
+ - ./2.0.4/asdoc/images/inherit-arrow.gif
89
+ - ./2.0.4/asdoc/images/inheritedSummary.gif
90
+ - ./2.0.4/asdoc/images/logo.jpg
91
+ - ./2.0.4/asdoc/images/titleTableBottom.jpg
92
+ - ./2.0.4/asdoc/images/titleTableMiddle.jpg
93
+ - ./2.0.4/asdoc/images/titleTableTop.jpg
94
+ - ./2.0.4/asdoc/index-list.html
95
+ - ./2.0.4/asdoc/index.html
96
+ - ./2.0.4/asdoc/mxml-tags.html
97
+ - ./2.0.4/asdoc/org/puremvc/as3/core/class-list.html
98
+ - ./2.0.4/asdoc/org/puremvc/as3/core/Controller.html
99
+ - ./2.0.4/asdoc/org/puremvc/as3/core/Model.html
100
+ - ./2.0.4/asdoc/org/puremvc/as3/core/package-detail.html
101
+ - ./2.0.4/asdoc/org/puremvc/as3/core/View.html
102
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/class-list.html
103
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/ICommand.html
104
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/IController.html
105
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/IFacade.html
106
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/IMediator.html
107
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/IModel.html
108
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/INotification.html
109
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/INotifier.html
110
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/IObserver.html
111
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/IProxy.html
112
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/IView.html
113
+ - ./2.0.4/asdoc/org/puremvc/as3/interfaces/package-detail.html
114
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/command/class-list.html
115
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/command/MacroCommand.html
116
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/command/package-detail.html
117
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/command/SimpleCommand.html
118
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/facade/class-list.html
119
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/facade/Facade.html
120
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/facade/package-detail.html
121
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/mediator/class-list.html
122
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/mediator/Mediator.html
123
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/mediator/package-detail.html
124
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/observer/class-list.html
125
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/observer/Notification.html
126
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/observer/Notifier.html
127
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/observer/Observer.html
128
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/observer/package-detail.html
129
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/proxy/class-list.html
130
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/proxy/package-detail.html
131
+ - ./2.0.4/asdoc/org/puremvc/as3/patterns/proxy/Proxy.html
132
+ - ./2.0.4/asdoc/package-frame.html
133
+ - ./2.0.4/asdoc/package-list.html
134
+ - ./2.0.4/asdoc/package-summary.html
135
+ - ./2.0.4/asdoc/print.css
136
+ - ./2.0.4/asdoc/style.css
137
+ - ./2.0.4/asdoc/title-bar.html
138
+ - ./2.0.4/bin/PureMVC_AS3_2_0_4.swc
139
+ - ./2.0.4/license.txt
140
+ - ./2.0.4/src/org/puremvc/as3/core/Controller.as
141
+ - ./2.0.4/src/org/puremvc/as3/core/Model.as
142
+ - ./2.0.4/src/org/puremvc/as3/core/View.as
143
+ - ./2.0.4/src/org/puremvc/as3/interfaces/ICommand.as
144
+ - ./2.0.4/src/org/puremvc/as3/interfaces/IController.as
145
+ - ./2.0.4/src/org/puremvc/as3/interfaces/IFacade.as
146
+ - ./2.0.4/src/org/puremvc/as3/interfaces/IMediator.as
147
+ - ./2.0.4/src/org/puremvc/as3/interfaces/IModel.as
148
+ - ./2.0.4/src/org/puremvc/as3/interfaces/INotification.as
149
+ - ./2.0.4/src/org/puremvc/as3/interfaces/INotifier.as
150
+ - ./2.0.4/src/org/puremvc/as3/interfaces/IObserver.as
151
+ - ./2.0.4/src/org/puremvc/as3/interfaces/IProxy.as
152
+ - ./2.0.4/src/org/puremvc/as3/interfaces/IView.as
153
+ - ./2.0.4/src/org/puremvc/as3/patterns/command/MacroCommand.as
154
+ - ./2.0.4/src/org/puremvc/as3/patterns/command/SimpleCommand.as
155
+ - ./2.0.4/src/org/puremvc/as3/patterns/facade/Facade.as
156
+ - ./2.0.4/src/org/puremvc/as3/patterns/mediator/Mediator.as
157
+ - ./2.0.4/src/org/puremvc/as3/patterns/observer/Notification.as
158
+ - ./2.0.4/src/org/puremvc/as3/patterns/observer/Notifier.as
159
+ - ./2.0.4/src/org/puremvc/as3/patterns/observer/Observer.as
160
+ - ./2.0.4/src/org/puremvc/as3/patterns/proxy/Proxy.as
161
+ - ./2.0.4/src/puremvc-manifest.xml
162
+ - ./2.0.4/version.txt
163
+ has_rdoc: true
164
+ homepage: http://www.github.com/amoslanka/sprout-puremvc-as3
165
+ licenses: []
166
+
167
+ post_install_message:
168
+ rdoc_options: []
169
+
170
+ require_paths:
171
+ - lib
172
+ required_ruby_version: !ruby/object:Gem::Requirement
173
+ none: false
174
+ requirements:
175
+ - - ">="
176
+ - !ruby/object:Gem::Version
177
+ hash: 3
178
+ segments:
179
+ - 0
180
+ version: "0"
181
+ required_rubygems_version: !ruby/object:Gem::Requirement
182
+ none: false
183
+ requirements:
184
+ - - ">="
185
+ - !ruby/object:Gem::Version
186
+ hash: 3
187
+ segments:
188
+ - 0
189
+ version: "0"
190
+ requirements: []
191
+
192
+ rubyforge_project:
193
+ rubygems_version: 1.3.7
194
+ signing_key:
195
+ specification_version: 3
196
+ summary: The ActionScript 3 port of PureMVC wrapped in a Sprout::Specification for implementation into a sprout project and Gem::Specification for distribution as a gem.
197
+ test_files: []
198
+