animation-studio 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -20,8 +20,8 @@ Compass::Frameworks.register('animation-studio', :stylesheets_directory => style
20
20
  # a prerelease version
21
21
  # Date is in the form of YYYY-MM-DD
22
22
  module AnimationStudio
23
- VERSION = "0.1.1"
24
- DATE = "2013-08-17"
23
+ VERSION = "0.1.2"
24
+ DATE = "2013-09-02"
25
25
  end
26
26
 
27
27
  # This is where any custom SassScript should be placed. The functions will be
@@ -1,11 +1,11 @@
1
1
  @import "compass/utilities/sprites";
2
2
  @import "compass/css3/animation";
3
3
 
4
- $animation-sequence-name: 'walk-cycle' !default;
4
+ $animation-sequence-name: "walk-cycle" !default;
5
5
  $animation-sequence-extend: true !default;
6
6
 
7
7
  @mixin animation-sequence-sprite-generator($folder, $generate-extendable: $animation-sequence-extend) {
8
- $png-path: $folder + '/*.png';
8
+ $png-path: $folder + "/*.png";
9
9
  $png-path: sprite-map($png-path);
10
10
 
11
11
  @if $generate-extendable {
@@ -20,7 +20,7 @@ $animation-sequence-extend: true !default;
20
20
  }
21
21
 
22
22
  @mixin animation-sequence($folder, $time, $animation:$animation-sequence-name, $extend: $animation-sequence-extend) {
23
- $png-path: $folder + '/*.png';
23
+ $png-path: $folder + "/*.png";
24
24
  $sprite-map: sprite-map($png-path);
25
25
  $sprite-path: sprite-path($sprite-map);
26
26
 
@@ -43,17 +43,20 @@ $animation-sequence-extend: true !default;
43
43
  }
44
44
 
45
45
  @mixin animation-sequence-keyframes($folder, $name: $animation-sequence-name) {
46
- $png-path: $folder + '/*.png';
46
+ $png-path: $folder + "/*.png";
47
47
  $sprite-map: sprite-map($png-path);
48
48
  $sprite-path: sprite-path($sprite-map);
49
49
  $height: image-height($sprite-path);
50
+ $steps: length(sprite-names($sprite-map));
51
+
52
+ $height: percentage($height / ($height - ($height / $steps)));
50
53
 
51
54
  @include keyframes($name) {
52
55
  0% {
53
56
  background-position: 0 0;
54
57
  }
55
58
  100% {
56
- background-position: 0 $height * -1;
59
+ background-position: 0 $height;
57
60
  }
58
61
  }
59
62
  }
@@ -3,4 +3,4 @@ source 'https://rubygems.org'
3
3
  gem 'sass', '>=3.2.3'
4
4
  gem 'compass', '>=0.13.alpha.4'
5
5
 
6
- gem 'Animation Studio', '~>0.1.1'
6
+ gem 'Animation Studio', '~>0.1.2'
Binary file
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: animation-studio
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 2
9
+ version: 0.1.2
5
10
  platform: ruby
6
11
  authors:
7
12
  - Sam Richard, Rachel Nabors
@@ -9,28 +14,38 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2013-08-17 00:00:00 Z
17
+ date: 2013-09-02 00:00:00 -04:00
18
+ default_executable:
13
19
  dependencies:
14
20
  - !ruby/object:Gem::Dependency
15
- prerelease: false
21
+ type: :runtime
16
22
  version_requirements: &id001 !ruby/object:Gem::Requirement
17
23
  requirements:
18
24
  - - ">="
19
25
  - !ruby/object:Gem::Version
26
+ segments:
27
+ - 3
28
+ - 2
29
+ - 3
20
30
  version: 3.2.3
21
31
  name: sass
22
- type: :runtime
23
32
  requirement: *id001
24
- - !ruby/object:Gem::Dependency
25
33
  prerelease: false
34
+ - !ruby/object:Gem::Dependency
35
+ type: :runtime
26
36
  version_requirements: &id002 !ruby/object:Gem::Requirement
27
37
  requirements:
28
38
  - - ">="
29
39
  - !ruby/object:Gem::Version
40
+ segments:
41
+ - 0
42
+ - 13
43
+ - alpha
44
+ - 4
30
45
  version: 0.13.alpha.4
31
46
  name: compass
32
- type: :runtime
33
47
  requirement: *id002
48
+ prerelease: false
34
49
  description: A long description of this awesome compass extension
35
50
  email:
36
51
  - sam@snug.ug, rachelnabors@gmail.com
@@ -44,8 +59,10 @@ files:
44
59
  - lib/animation-studio.rb
45
60
  - stylesheets/_animation-studio.scss
46
61
  - stylesheets/animation-studio/_animation-sequence.scss
62
+ - templates/project/eyes/eyes_01.png
63
+ - templates/project/eyes/eyes_02.png
64
+ - templates/project/eyes/eyes_03.png
47
65
  - templates/project/Gemfile.txt
48
- - templates/project/manifest.rb
49
66
  - templates/project/tuna-walk/tuna-walk_01.png
50
67
  - templates/project/tuna-walk/tuna-walk_02.png
51
68
  - templates/project/tuna-walk/tuna-walk_03.png
@@ -58,11 +75,11 @@ files:
58
75
  - templates/project/tuna-walk/tuna-walk_10.png
59
76
  - templates/project/tuna-walk/tuna-walk_11.png
60
77
  - templates/project/tuna-walk/tuna-walk_12.png
78
+ - templates/project/tuna-walk-s77788462e5.png
79
+ has_rdoc: true
61
80
  homepage: https://github.com/team-sass/animation-studio
62
81
  licenses:
63
82
  - MIT
64
- metadata: {}
65
-
66
83
  post_install_message:
67
84
  rdoc_options: []
68
85
 
@@ -72,18 +89,24 @@ required_ruby_version: !ruby/object:Gem::Requirement
72
89
  requirements:
73
90
  - - ">="
74
91
  - !ruby/object:Gem::Version
92
+ segments:
93
+ - 0
75
94
  version: "0"
76
95
  required_rubygems_version: !ruby/object:Gem::Requirement
77
96
  requirements:
78
97
  - - ">="
79
98
  - !ruby/object:Gem::Version
99
+ segments:
100
+ - 1
101
+ - 3
102
+ - 6
80
103
  version: 1.3.6
81
104
  requirements: []
82
105
 
83
106
  rubyforge_project: animation-studio
84
- rubygems_version: 2.0.3
107
+ rubygems_version: 1.3.6
85
108
  signing_key:
86
- specification_version: 4
109
+ specification_version: 3
87
110
  summary: A short summary of this awesome compass extension
88
111
  test_files: []
89
112
 
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA512:
3
- metadata.gz: df8bd64a630927ce031c299e21ec7e9e9916306d00d50ace074d4fe8039d776dc005a035604f4c8125313a522e15660b0cf610831c01bfa5f4805b1faf8f8db2
4
- data.tar.gz: 6eefaf8d2e1f68e2bb81cbb7831976f27aef3a58dfc49a81e1b3567a7591e98895971978180bffb8191961249e29f364facbb44e42840f6b6c6b7ff9e58282e6
5
- SHA1:
6
- metadata.gz: cb025bcb7a5d3322c39237864f98930097cf39a5
7
- data.tar.gz: 550b3a795d8e9dd43286b6f3f5ebca1f3514cacb
@@ -1,30 +0,0 @@
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
- }