Permalink
Browse files

bundler test

  • Loading branch information...
1 parent 611765f commit 0677938476ea3f51c92244f74a6f23202b5bad52 Jared Hardy committed Jan 8, 2013
View
@@ -1,2 +1,17 @@
-ceaser-easing-*.gem
-
+*.gem
+*.rbc
+.bundle
+.config
+.yardoc
+Gemfile.lock
+InstalledFiles
+_yardoc
+coverage
+doc/
+lib/bundler/man
+pkg
+rdoc
+spec/reports
+test/tmp
+test/version_tmp
+tmp
View
@@ -0,0 +1,4 @@
+source 'https://rubygems.org'
+
+# Specify your gem's dependencies in compass-ceaser-easing.gemspec
+gemspec
View
@@ -0,0 +1,22 @@
+Copyright (c) 2013 Jared Hardy
+
+MIT License
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
@@ -0,0 +1,29 @@
+# Compass::Ceaser::Easing
+
+TODO: Write a gem description
+
+## Installation
+
+Add this line to your application's Gemfile:
+
+ gem 'compass-ceaser-easing'
+
+And then execute:
+
+ $ bundle
+
+Or install it yourself as:
+
+ $ gem install compass-ceaser-easing
+
+## Usage
+
+TODO: Write usage instructions here
+
+## Contributing
+
+1. Fork it
+2. Create your feature branch (`git checkout -b my-new-feature`)
+3. Commit your changes (`git commit -am 'Added some feature'`)
+4. Push to the branch (`git push origin my-new-feature`)
+5. Create new Pull Request
View
@@ -0,0 +1,2 @@
+#!/usr/bin/env rake
+require "bundler/gem_tasks"
View
37 ceaser-easing.gemspec 100755 → 100644
@@ -1,25 +1,18 @@
-Gem::Specification.new do |s|
- # Release Specific Information
- s.version = "0.4"
- s.date = "2012-04-13"
+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/compass-ceaser-easing/version', __FILE__)
- # Gem Details
- s.name = "ceaser-easing"
- s.authors = ["Jared Hardy"]
- s.summary = %q{a css transition implementation of the Penner equations based on @matthewlein css conversions for compass}
- s.description = %q{a css transition implementation of the Penner equations based on @matthewlein css conversions for compass}
- s.email = "jared@jaredhardy.com"
- s.homepage = "http://www.jaredhardy.com/"
+Gem::Specification.new do |gem|
+ gem.authors = ["Jared Hardy"]
+ gem.email = ["jared@jaredhardy.com"]
+ gem.description = %q{a css transition implementation of the Penner equations based on @matthewlein css conversions for compass}
+ gem.summary = %q{a css transition implementation of the Penner equations based on @matthewlein css conversions for compass}
+ gem.homepage = "https://github.com/jhardy/compass-ceaser-easing"
- # Gem Files
- s.files = %w(README.mkdn)
- s.files += Dir.glob("lib/**/*.*")
- s.files += Dir.glob("stylesheets/**/*.*")
- s.files += Dir.glob("templates/**/*.*")
-
- # Gem Bookkeeping
- s.has_rdoc = false
- s.rubygems_version = %q{1.3.6}
- s.add_dependency("compass", [">= 0.12"])
+ gem.files = `git ls-files`.split($\)
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.name = "compass-ceaser-easing"
+ gem.require_paths = ["lib"]
+ gem.version = CeaserEasing::VERSION
+ gem.add_dependency("compass", [">= 0.12.2"])
end
-
@@ -0,0 +1,17 @@
+# -*- encoding: utf-8 -*-
+require File.expand_path('../lib/compass-ceaser-easing/version', __FILE__)
+
+Gem::Specification.new do |gem|
+ gem.authors = ["Jared Hardy"]
+ gem.email = ["jhardy@groupon.com"]
+ gem.description = %q{TODO: Write a gem description}
+ gem.summary = %q{TODO: Write a gem summary}
+ gem.homepage = ""
+
+ gem.files = `git ls-files`.split($\)
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
+ gem.name = "compass-ceaser-easing"
+ gem.require_paths = ["lib"]
+ gem.version = Compass::Ceaser::Easing::VERSION
+end
@@ -0,0 +1,3 @@
+module CeaserEasing
+ VERSION = "0.6"
+end
@@ -0,0 +1,9 @@
+require "compass-ceaser-easing/version"
+
+module Compass
+ module Ceaser
+ module Easing
+ # Your code goes here...
+ end
+ end
+end
@@ -0,0 +1,7 @@
+module Compass
+ module Ceaser
+ module Easing
+ VERSION = "0.0.1"
+ end
+ end
+end
@@ -1,13 +1,19 @@
@import "compass/css3/transition"
@import "ease-types"
-@function ceaser($type: "ease")
- $easingValue: returnEaseType($type)
- @return cubic-bezier(unquote($easingValue))
+$legacy = false !default
+@function ceaser($type: $ease)
+ @if $legacy
+ $easingValue: returnEaseType($type)
+ @return cubic-bezier(unquote($easingValue))
+ @else
+ @return cubic-bezier(unquote($type))
-
-@mixin ceaser-transition($type: "ease", $properties: all, $duration: 500ms, $delay: 0)
- $easingValue : returnEaseType($type)
- @include transition($properties $duration cubic-bezier(unquote($easingValue)) $delay)
+@mixin ceaser-transition($type: $ease, $properties: all, $duration: 500ms, $delay: 0ms)
+ @if $legacy
+ $easingValue : returnEaseType($type)
+ @include transition($properties $duration cubic-bezier(unquote($easingValue)) $delay)
+ @else
+ @include transition($properties $duration cubic-bezier(unquote($type)) $delay)
@@ -29,7 +29,6 @@
$easingValue: "0.600, -0.280, 0.735, 0.045"
-
@else if $type == "easeOutQuad"
$easingValue: "0.250, 0.460, 0.450, 0.940"
@else if $type == "easeOutCubic"
@@ -48,7 +47,6 @@
$easingValue: "0.175, 0.885, 0.320, 1.275"
-
@else if $type == "easeInOutQuad"
$easingValue: "0.455, 0.030, 0.515, 0.955"
@else if $type == "easeInOutCubic"
@@ -66,4 +64,5 @@
@else if $type == "easeInOutBack"
$easingValue: "0.680, -0.550, 0.265, 1.550"
- @return $easingValue
+
+@return $easingValue
@@ -0,0 +1,32 @@
+$linear = "0.250, 0.250, 0.750, 0.750" !default
+$ease = "0.250, 0.100, 0.250, 1.000"
+$ease-in = "0.420, 0.000, 1.000, 1.000" !default
+$ease-out = "0.000, 0.000, 0.580, 1.000" !default
+$ease-in-out = "0.420, 0.000, 0.580, 1.000" !default
+
+$easeInQuad = "0.550, 0.085, 0.680, 0.530" !default
+$easeInCubic = "0.550, 0.055, 0.675, 0.190" !default
+$easeInQuart = "0.895, 0.030, 0.685, 0.220" !default
+$easeInQuint = "0.755, 0.050, 0.855, 0.060" !default
+$easeInSine = "0.470, 0.000, 0.745, 0.715" !default
+$easeInExpo = "0.950, 0.050, 0.795, 0.035" !default
+$easeInCirc = "0.600, 0.040, 0.980, 0.335" !default
+$easeInBack = "0.600, -0.280, 0.735, 0.045" !default
+
+$easeOutQuad = "0.250, 0.460, 0.450, 0.940" !default
+$easeOutCubic = "0.215, 0.610, 0.355, 1.000" !default
+$easeOutQuart = "0.165, 0.840, 0.440, 1.000" !default
+$easeOutQuint = "0.230, 1.000, 0.320, 1.000" !default
+$easeOutSine = "0.390, 0.575, 0.565, 1.000" !default
+$easeOutExpo = "0.190, 1.000, 0.220, 1.000" !default
+$easeOutCirc = "0.075, 0.820, 0.165, 1.000" !default
+$easeOutBack = "0.175, 0.885, 0.320, 1.275" !default
+
+$easeInOutQuad = "0.455, 0.030, 0.515, 0.955" !default
+$easeInOutCubic = "0.645, 0.045, 0.355, 1.000" !default
+$easeInOutQuart = "0.770, 0.000, 0.175, 1.000" !default
+$easeInOutQuint = "0.860, 0.000, 0.070, 1.000" !default
+$easeInOutSine = "0.445, 0.050, 0.550, 0.950" !default
+$easeInOutExpo = "1.000, 0.000, 0.000, 1.000" !default
+$easeInOutCirc = "0.785, 0.135, 0.150, 0.860" !default
+$easeInOutBack = "0.680, -0.550, 0.265, 1.550" !default

0 comments on commit 0677938

Please sign in to comment.