greensock 0.1.1.pre
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +4 -0
- data/Gemfile.lock +31 -0
- data/README.textile +91 -0
- data/Rakefile +32 -0
- data/greensock.gemspec +23 -0
- data/lib/greensock.rb +25 -0
- data/lib/greensock/version.rb +4 -0
- metadata +109 -0
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
greensock (0.1.1.pre)
|
5
|
+
flashsdk (>= 1.0.0.pre)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: http://rubygems.org/
|
9
|
+
specs:
|
10
|
+
archive-tar-minitar (0.5.2)
|
11
|
+
flashsdk (1.0.13.pre)
|
12
|
+
sprout (>= 1.0.31.pre)
|
13
|
+
open4 (1.0.1)
|
14
|
+
rake (0.8.7)
|
15
|
+
rdoc (2.5.11)
|
16
|
+
rubyzip (0.9.4)
|
17
|
+
sprout (1.0.32.pre)
|
18
|
+
archive-tar-minitar (= 0.5.2)
|
19
|
+
bundler (>= 0.9.19)
|
20
|
+
open4 (>= 0.9.6)
|
21
|
+
rake (>= 0.8.7)
|
22
|
+
rdoc (>= 2.5.8)
|
23
|
+
rubyzip (= 0.9.4)
|
24
|
+
|
25
|
+
PLATFORMS
|
26
|
+
ruby
|
27
|
+
|
28
|
+
DEPENDENCIES
|
29
|
+
flashsdk (>= 1.0.0.pre)
|
30
|
+
greensock!
|
31
|
+
rake
|
data/README.textile
ADDED
@@ -0,0 +1,91 @@
|
|
1
|
+
|
2
|
+
h1. The Greensock Sprout Gem
|
3
|
+
|
4
|
+
Greensock's free AS3 library including TweenLite, TweenMax, and LoaderMax, wrapped in a Sprout::Specification for implementation into a sprout project and Gem::Specification for distribution as a gem.
|
5
|
+
|
6
|
+
The sprout will download the Greensock zip from the greensock.com and the swc will be copied to lib/greensock of your sprout project.
|
7
|
+
|
8
|
+
h3. Installation
|
9
|
+
|
10
|
+
Intended for use with a project using Project Sprouts.
|
11
|
+
|
12
|
+
See information concerning Project Sprouts here:
|
13
|
+
* "http://github.com/lukebayes/project-sprouts/wiki":http://github.com/lukebayes/project-sprouts/wiki
|
14
|
+
* "http://github.com/lukebayes/project-sprouts":http://github.com/lukebayes/project-sprouts
|
15
|
+
* "http://github.com/lukebayes/sprout-flashsdk":http://github.com/lukebayes/sprout-flashsdk
|
16
|
+
|
17
|
+
Add the Greensock gem to your Gemfile:
|
18
|
+
|
19
|
+
<pre><code>gem "greensock", ">= 0.1.0.pre"</code></pre>
|
20
|
+
|
21
|
+
Add the Greensock library dependency to your Rakefile:
|
22
|
+
|
23
|
+
<pre><code>library :greensock</code></pre>
|
24
|
+
|
25
|
+
Enter this shell command to resolve gem dependency:
|
26
|
+
|
27
|
+
<pre><code>$ bundle install</code></pre>
|
28
|
+
|
29
|
+
h3. Ruby Gem
|
30
|
+
|
31
|
+
The gem can be installed independently of a project entering this command:
|
32
|
+
|
33
|
+
<pre><code>$ gem install greensock --pre</code></pre>
|
34
|
+
|
35
|
+
h3. Whats included
|
36
|
+
|
37
|
+
Greensock's downloadable as3 zip contains multiple libraries all within a single swc. Each of these libraries have separate version.
|
38
|
+
Normally a sprout gem's version should parallel the version of the library it wraps, but we cannot do that with combined libraries and Greensock provides no "overall" version other than "v11".
|
39
|
+
The version representing the greensock sprout gem will attempt to follow its own path, incrementing patches whenever the version of an included greensock library is bumped.
|
40
|
+
The following libraries are included:
|
41
|
+
|
42
|
+
*The Greensock Tweening Platform v11*
|
43
|
+
|
44
|
+
* "TweenNano":http://www.greensock.com/tweennano/
|
45
|
+
|
46
|
+
Version: 1.05, Updated 2010-05-11
|
47
|
+
File size added to compressed SWF: About 1.6kb (AS3), or 2kb (AS2)
|
48
|
+
|
49
|
+
* "TweenLite":http://www.greensock.com/tweenlite/
|
50
|
+
|
51
|
+
Version: 11.39, Updated 2010-09-27
|
52
|
+
File size added to compressed SWF: about 4.7kb
|
53
|
+
|
54
|
+
* "TweenMax":http://www.greensock.com/tweenmax/
|
55
|
+
|
56
|
+
Version: 11.39, Updated 2010-09-27
|
57
|
+
File size added to compressed SWF: About 8.7kb (base), or 17.6kb with default plugins and OverwriteManager
|
58
|
+
|
59
|
+
* "TimelineLite":http://www.greensock.com/timelinelite/
|
60
|
+
|
61
|
+
Version: 1.392, Updated 2010-10-13
|
62
|
+
File size added to compressed SWF: About 2.5k (base), 8.1k with OverwriteManager and TweenLite
|
63
|
+
|
64
|
+
* "TimelineMax":http://www.greensock.com/timelinemax/
|
65
|
+
|
66
|
+
Version: 1.392, Updated 2010-10-13
|
67
|
+
File size added to compressed SWF: about 4.9k (base), 10.4k with OverwriteManager and TweenLite
|
68
|
+
|
69
|
+
*Other included libraries*
|
70
|
+
|
71
|
+
* "LoaderMax":http://www.greensock.com/tweennano/
|
72
|
+
|
73
|
+
Version: 1.631, Updated 2010-10-13
|
74
|
+
|
75
|
+
h3. Included entities
|
76
|
+
|
77
|
+
<pre><code>library :greensock, :swc # includes greensock.swc at lib/greensock/greensock.swc (default)</code></pre>
|
78
|
+
<pre><code>library :greensock, :src # includes all source code at lib/greensock/</code></pre>
|
79
|
+
<pre><code>library :greensock, :docs # includes documentation at lib/greensock/docs</code></pre>
|
80
|
+
<pre><code>library :greensock, :demo # includes demo swfs at lib/greensock/</code></pre>
|
81
|
+
<pre><code>library :greensock, :all # includes all entities</code></pre>
|
82
|
+
|
83
|
+
h3. Additional links
|
84
|
+
|
85
|
+
* "Greensock Site":http://www.greensock.com/v11/
|
86
|
+
* "Greensock Documentation":http://www.greensock.com/as/docs/tween/
|
87
|
+
* "Sprouts Site":http://projectsprouts.org
|
88
|
+
* "Sprouts on Github":http://github.com/lukebayes/project-sprouts
|
89
|
+
* "flashsdk sprout on Github":http://github.com/lukebayes/sprout-flashsdk
|
90
|
+
* "Sprouts Community":http://groups.google.com/group/projectsprouts
|
91
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'bundler'
|
2
|
+
Bundler.require
|
3
|
+
require 'rake/clean'
|
4
|
+
CLOBBER.add('pkg')
|
5
|
+
CLOBBER.add('vendor')
|
6
|
+
CLOBBER.add('.bundle')
|
7
|
+
|
8
|
+
filename = "#{Greensock::NAME}-#{Greensock::VERSION}"
|
9
|
+
|
10
|
+
#
|
11
|
+
# Gem tasks
|
12
|
+
#
|
13
|
+
|
14
|
+
namespace :gem do
|
15
|
+
directory "pkg"
|
16
|
+
|
17
|
+
desc 'Build the gem'
|
18
|
+
task :build => 'pkg' do
|
19
|
+
system "gem build #{Greensock::NAME}.gemspec"
|
20
|
+
system "mv #{filename}.gem pkg/#{filename}.gem"
|
21
|
+
end
|
22
|
+
|
23
|
+
desc "Build and install #{filename}.gem"
|
24
|
+
task :install => :build do
|
25
|
+
system "gem install pkg/#{filename}"
|
26
|
+
end
|
27
|
+
|
28
|
+
desc "Build and release #{filename}.gem to rubygems.org"
|
29
|
+
task :release => :build do
|
30
|
+
system "gem push pkg/#{filename}.gem"
|
31
|
+
end
|
32
|
+
end
|
data/greensock.gemspec
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$LOAD_PATH.unshift File.expand_path('../lib', __FILE__)
|
3
|
+
require 'greensock/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = Greensock::NAME
|
7
|
+
s.version = Greensock::VERSION
|
8
|
+
s.platform = Gem::Platform::RUBY
|
9
|
+
s.authors = ["Jack Doyle", "Amos Lanka"]
|
10
|
+
s.email = ["info@greensock.com", "amoslanka@gmail.com"]
|
11
|
+
s.homepage = "http://www.github.com/amoslanka/sprout-puremvc-as3"
|
12
|
+
s.summary = %q{Greensock’s free AS3 library including TweenLite, TweenMax, and LoaderMax, wrapped in a Sprout::Specification for implementation into a sprout project and Gem::Specification for distribution as a gem.}
|
13
|
+
s.description = %q{**Note: The Greensock versioning does not parallel the versioning of this gem. See the README for which Greensock packages and versions are available in which gem version.}
|
14
|
+
s.rubyforge_project = Greensock::NAME
|
15
|
+
|
16
|
+
s.require_paths = ["lib"]
|
17
|
+
|
18
|
+
s.files = Dir["{src,test,tests,asdoc,docs,doc,asdocs,lib,libs}/**/*", "bin/**/*.swc"]
|
19
|
+
s.files.concat Dir["*.gemspec", "build*", "[A-Z]*[.a-z]*"]
|
20
|
+
|
21
|
+
s.add_dependency 'flashsdk', '>= 1.0.0.pre'
|
22
|
+
s.add_development_dependency 'rake'
|
23
|
+
end
|
data/lib/greensock.rb
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
require 'sprout'
|
2
|
+
require 'greensock/version'
|
3
|
+
|
4
|
+
module Greensock
|
5
|
+
end
|
6
|
+
|
7
|
+
Sprout::Specification.new do |s|
|
8
|
+
s.name = Greensock::NAME
|
9
|
+
s.version = Greensock::VERSION
|
10
|
+
|
11
|
+
s.add_remote_file_target do |t|
|
12
|
+
t.platform = :universal
|
13
|
+
t.archive_type = :zip
|
14
|
+
t.url = "http://www.greensock.com/as/greensock-as3.zip"
|
15
|
+
t.md5 = "5571e64359f7d77fa272dd9ed32dfb38"
|
16
|
+
|
17
|
+
# All
|
18
|
+
t.add_library :swc, "greensock-as3/greensock.swc"
|
19
|
+
t.add_library :src, "greensock-as3"
|
20
|
+
t.add_library :docs, "greensock-as3/docs"
|
21
|
+
t.add_library :demos, "greensock-as3/demo_swfs"
|
22
|
+
t.add_library :all, "greensock-as3"
|
23
|
+
end
|
24
|
+
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,109 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: greensock
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 961915976
|
5
|
+
prerelease: true
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 1
|
9
|
+
- 1
|
10
|
+
- pre
|
11
|
+
version: 0.1.1.pre
|
12
|
+
platform: ruby
|
13
|
+
authors:
|
14
|
+
- Jack Doyle
|
15
|
+
- Amos Lanka
|
16
|
+
autorequire:
|
17
|
+
bindir: bin
|
18
|
+
cert_chain: []
|
19
|
+
|
20
|
+
date: 2010-10-22 00:00:00 -07:00
|
21
|
+
default_executable:
|
22
|
+
dependencies:
|
23
|
+
- !ruby/object:Gem::Dependency
|
24
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 961915988
|
30
|
+
segments:
|
31
|
+
- 1
|
32
|
+
- 0
|
33
|
+
- 0
|
34
|
+
- pre
|
35
|
+
version: 1.0.0.pre
|
36
|
+
requirement: *id001
|
37
|
+
type: :runtime
|
38
|
+
name: flashsdk
|
39
|
+
prerelease: false
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 3
|
47
|
+
segments:
|
48
|
+
- 0
|
49
|
+
version: "0"
|
50
|
+
requirement: *id002
|
51
|
+
type: :development
|
52
|
+
name: rake
|
53
|
+
prerelease: false
|
54
|
+
description: "**Note: The Greensock versioning does not parallel the versioning of this gem. See the README for which Greensock packages and versions are available in which gem version."
|
55
|
+
email:
|
56
|
+
- info@greensock.com
|
57
|
+
- amoslanka@gmail.com
|
58
|
+
executables: []
|
59
|
+
|
60
|
+
extensions: []
|
61
|
+
|
62
|
+
extra_rdoc_files: []
|
63
|
+
|
64
|
+
files:
|
65
|
+
- lib/greensock/version.rb
|
66
|
+
- lib/greensock.rb
|
67
|
+
- greensock.gemspec
|
68
|
+
- Gemfile
|
69
|
+
- Gemfile.lock
|
70
|
+
- Rakefile
|
71
|
+
- README.textile
|
72
|
+
has_rdoc: true
|
73
|
+
homepage: http://www.github.com/amoslanka/sprout-puremvc-as3
|
74
|
+
licenses: []
|
75
|
+
|
76
|
+
post_install_message:
|
77
|
+
rdoc_options: []
|
78
|
+
|
79
|
+
require_paths:
|
80
|
+
- lib
|
81
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
89
|
+
version: "0"
|
90
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
91
|
+
none: false
|
92
|
+
requirements:
|
93
|
+
- - ">"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
hash: 25
|
96
|
+
segments:
|
97
|
+
- 1
|
98
|
+
- 3
|
99
|
+
- 1
|
100
|
+
version: 1.3.1
|
101
|
+
requirements: []
|
102
|
+
|
103
|
+
rubyforge_project: greensock
|
104
|
+
rubygems_version: 1.3.7
|
105
|
+
signing_key:
|
106
|
+
specification_version: 3
|
107
|
+
summary: "Greensock\xE2\x80\x99s free AS3 library including TweenLite, TweenMax, and LoaderMax, wrapped in a Sprout::Specification for implementation into a sprout project and Gem::Specification for distribution as a gem."
|
108
|
+
test_files: []
|
109
|
+
|