animation-studio 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA512:
3
+ data.tar.gz: 614c73bf9ff9780e51bb6329264ec1f959710f62b8f6b7043e2bd46cfdf2d943f2fbe3d3fd7b4bebae4eb59641f925805ff4e7d93d6e097594e43590957241a4
4
+ metadata.gz: 9dbf5bf98ea1f8c7bd1c326e29f590d84efcb336130e85b0071b792916703ef6f7e558e17563fb6769faedaf603d9b2ae410be98cfdf7c906fd36401fabd064e
5
+ SHA1:
6
+ data.tar.gz: 117eb038f7b111780cab195484519bd93ba05e55
7
+ metadata.gz: 02e98aa1b0cacf3d71434d4b1f22b662aabf803c
@@ -0,0 +1,33 @@
1
+ # All gems that are required for this extension to work should go here.
2
+ # These are the requires you would normally put in your config.rb file
3
+ # By default, you should always included Compass. Do not include your
4
+ # extension.
5
+ require 'sass'
6
+ require 'compass'
7
+
8
+ # This tells Compass what your Compass extension is called, and where to find
9
+ # its files
10
+ # Replace 'styleguide' with the name of your style guide. Spaces allowed.
11
+ base_directory = File.join(File.dirname(__FILE__), '..')
12
+ stylesheets_dir = File.join(base_directory, 'stylesheets')
13
+ templates_dir = File.join(base_directory, 'templates')
14
+ Compass::Frameworks.register('animation-studio', :stylesheets_directory => stylesheets_dir, :templates_directory => templates_dir)
15
+
16
+ # Version and date of version for your Compass extension.
17
+ # Replace Extemsopm with the name of your style guide
18
+ # Letters, numbers, and underscores only
19
+ # Version is a number. If a version contains alphas, it will be created as
20
+ # a prerelease version
21
+ # Date is in the form of YYYY-MM-DD
22
+ module AnimationStudio
23
+ VERSION = "0.1.0"
24
+ DATE = "2013-08-17"
25
+ end
26
+
27
+ # This is where any custom SassScript should be placed. The functions will be
28
+ # available on require of your extension without the need for users to import
29
+ # any partials. Uncomment below.
30
+
31
+ # module Sass::Script::Functions
32
+ #
33
+ # end
@@ -0,0 +1 @@
1
+ @import "animation-studio/animation-sequence";
@@ -0,0 +1,46 @@
1
+ @import "compass/utilities/sprites";
2
+ @import "compass/css3/animation";
3
+
4
+ $animation-sequence-name: 'walk-cycle' !default;
5
+
6
+ @mixin animation-sequence-sprite-generator($folder) {
7
+ $png-path: $folder + '/*.png';
8
+ $png-path: sprite-map($png-path);
9
+
10
+ %#{sprite-map-name($png-path)}-animation-sequence {
11
+ background: $png-path 0 0 no-repeat;
12
+ }
13
+ }
14
+
15
+ @mixin animation-sequence($folder, $time, $animation:$animation-sequence-name) {
16
+ $png-path: $folder + '/*.png';
17
+ $sprite-map: sprite-map($png-path);
18
+ $sprite-path: sprite-path($sprite-map);
19
+
20
+ $steps: length(sprite-names($sprite-map));
21
+
22
+ $height: image-height($sprite-path);
23
+ $width: image-width($sprite-path);
24
+
25
+ height: $height / $steps;
26
+ width: $width;
27
+
28
+ @extend %#{sprite-map-name($sprite-map)}-animation-sequence;
29
+ @include animation(unquote($animation) $time steps($steps) infinite);
30
+ }
31
+
32
+ @mixin animation-sequence-keyframes($folder, $name: $animation-sequence-name) {
33
+ $png-path: $folder + '/*.png';
34
+ $sprite-map: sprite-map($png-path);
35
+ $sprite-path: sprite-path($sprite-map);
36
+ $height: image-height($sprite-path);
37
+
38
+ @include keyframes($name) {
39
+ 0% {
40
+ background-position: 0 0;
41
+ }
42
+ 100% {
43
+ background-position: 0 $height * -1;
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,6 @@
1
+ # Pull gems from RubyGems
2
+ source 'https://rubygems.org'
3
+ gem 'sass', '>=3.2.3'
4
+ gem 'compass', '>=0.13.alpha.4'
5
+
6
+ gem 'Animation Studio', '~>0.1.0'
@@ -0,0 +1,30 @@
1
+ description "Animation Studio"
2
+
3
+ skip_compilation!
4
+
5
+ discover :javascripts
6
+ discover :images
7
+ discover :fonts
8
+
9
+ # file 'Gemfile.txt', :to => 'Gemfile'
10
+ file 'editorconfig.txt', :to => '.editorconfig'
11
+ file 'jshintrc.txt', :to => '.jshintrc'
12
+ file 'csslintrc.txt', :to => '.csslintrc'
13
+
14
+ help %Q{
15
+ Please contact Sam Richard, Rachel Nabors with questions:
16
+
17
+ sam@snug.ug, rachelnabors@gmail.com
18
+ }
19
+
20
+ welcome_message %Q{
21
+
22
+ Animation Studio
23
+
24
+ The awesome template for Animation Studio.
25
+
26
+ To use the Animation Studio, include the following at the top of your Sass file:
27
+
28
+ @import "animation-studio";
29
+
30
+ }
metadata ADDED
@@ -0,0 +1,89 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: animation-studio
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Sam Richard, Rachel Nabors
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2013-08-17 00:00:00 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ prerelease: false
16
+ version_requirements: &id001 !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - ">="
19
+ - !ruby/object:Gem::Version
20
+ version: 3.2.3
21
+ name: sass
22
+ type: :runtime
23
+ requirement: *id001
24
+ - !ruby/object:Gem::Dependency
25
+ prerelease: false
26
+ version_requirements: &id002 !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: 0.13.alpha.4
31
+ name: compass
32
+ type: :runtime
33
+ requirement: *id002
34
+ description: A long description of this awesome compass extension
35
+ email:
36
+ - sam@snug.ug, rachelnabors@gmail.com
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files: []
42
+
43
+ files:
44
+ - lib/animation-studio.rb
45
+ - stylesheets/_animation-studio.scss
46
+ - stylesheets/animation-studio/_animation-sequence.scss
47
+ - templates/project/Gemfile.txt
48
+ - templates/project/manifest.rb
49
+ - templates/project/tuna-walk/tuna-walk_01.png
50
+ - templates/project/tuna-walk/tuna-walk_02.png
51
+ - templates/project/tuna-walk/tuna-walk_03.png
52
+ - templates/project/tuna-walk/tuna-walk_04.png
53
+ - templates/project/tuna-walk/tuna-walk_05.png
54
+ - templates/project/tuna-walk/tuna-walk_06.png
55
+ - templates/project/tuna-walk/tuna-walk_07.png
56
+ - templates/project/tuna-walk/tuna-walk_08.png
57
+ - templates/project/tuna-walk/tuna-walk_09.png
58
+ - templates/project/tuna-walk/tuna-walk_10.png
59
+ - templates/project/tuna-walk/tuna-walk_11.png
60
+ - templates/project/tuna-walk/tuna-walk_12.png
61
+ homepage: https://github.com/team-sass/animation-studio
62
+ licenses:
63
+ - MIT
64
+ metadata: {}
65
+
66
+ post_install_message:
67
+ rdoc_options: []
68
+
69
+ require_paths:
70
+ - lib
71
+ required_ruby_version: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: "0"
76
+ required_rubygems_version: !ruby/object:Gem::Requirement
77
+ requirements:
78
+ - - ">="
79
+ - !ruby/object:Gem::Version
80
+ version: 1.3.6
81
+ requirements: []
82
+
83
+ rubyforge_project: animation-studio
84
+ rubygems_version: 2.0.3
85
+ signing_key:
86
+ specification_version: 4
87
+ summary: A short summary of this awesome compass extension
88
+ test_files: []
89
+