rails_pitfall 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. metadata +2 -34
  2. data/.gitignore +0 -18
  3. data/.rvmrc +0 -48
  4. data/Gemfile +0 -4
  5. data/LICENSE.txt +0 -1
  6. data/README.md +0 -45
  7. data/Rakefile +0 -1
  8. data/lib/rails_pitfall/version.rb +0 -3
  9. data/lib/rails_pitfall.rb +0 -18
  10. data/rails_pitfall.gemspec +0 -25
  11. data/vendor/assets/images/backgrounds/wild_oliva.png +0 -0
  12. data/vendor/assets/images/backgrounds/wild_oliva_@2X.png +0 -0
  13. data/vendor/assets/images/backgrounds/wild_oliva_blue_dark.png +0 -0
  14. data/vendor/assets/images/backgrounds/wild_oliva_blue_light.png +0 -0
  15. data/vendor/assets/images/backgrounds/wild_oliva_dark.png +0 -0
  16. data/vendor/assets/images/backgrounds/wild_oliva_light.png +0 -0
  17. data/vendor/assets/images/backgrounds/wild_oliva_light_head.png +0 -0
  18. data/vendor/assets/images/ui.totop.png +0 -0
  19. data/vendor/assets/javascript/easing.js +0 -141
  20. data/vendor/assets/javascript/isotope/jquery.isotope.js +0 -1407
  21. data/vendor/assets/javascript/jquery.ui/jquery.ui.totop.js +0 -55
  22. data/vendor/assets/javascript/rails_strap.js +0 -9
  23. data/vendor/assets/javascript/rails_strap_modernizer.js +0 -4
  24. data/vendor/assets/javascript/restart_theme.js +0 -213
  25. data/vendor/assets/stylesheets/animate/animate.css +0 -3263
  26. data/vendor/assets/stylesheets/bootstrap_customization.less +0 -2
  27. data/vendor/assets/stylesheets/custom_variables.less +0 -301
  28. data/vendor/assets/stylesheets/flexslider_customization.css +0 -20
  29. data/vendor/assets/stylesheets/font-awesome-ie7.min.css +0 -22
  30. data/vendor/assets/stylesheets/fontawesome_customization.less +0 -6
  31. data/vendor/assets/stylesheets/isotope/css/style.css +0 -77
  32. data/vendor/assets/stylesheets/rails_strap.css.scss +0 -11
  33. data/vendor/assets/stylesheets/style.less +0 -1726
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_pitfall
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -129,39 +129,7 @@ email:
129
129
  executables: []
130
130
  extensions: []
131
131
  extra_rdoc_files: []
132
- files:
133
- - .gitignore
134
- - .rvmrc
135
- - Gemfile
136
- - LICENSE.txt
137
- - README.md
138
- - Rakefile
139
- - lib/rails_pitfall.rb
140
- - lib/rails_pitfall/version.rb
141
- - rails_pitfall.gemspec
142
- - vendor/assets/images/backgrounds/wild_oliva.png
143
- - vendor/assets/images/backgrounds/wild_oliva_@2X.png
144
- - vendor/assets/images/backgrounds/wild_oliva_blue_dark.png
145
- - vendor/assets/images/backgrounds/wild_oliva_blue_light.png
146
- - vendor/assets/images/backgrounds/wild_oliva_dark.png
147
- - vendor/assets/images/backgrounds/wild_oliva_light.png
148
- - vendor/assets/images/backgrounds/wild_oliva_light_head.png
149
- - vendor/assets/images/ui.totop.png
150
- - vendor/assets/javascript/easing.js
151
- - vendor/assets/javascript/isotope/jquery.isotope.js
152
- - vendor/assets/javascript/jquery.ui/jquery.ui.totop.js
153
- - vendor/assets/javascript/rails_strap.js
154
- - vendor/assets/javascript/rails_strap_modernizer.js
155
- - vendor/assets/javascript/restart_theme.js
156
- - vendor/assets/stylesheets/animate/animate.css
157
- - vendor/assets/stylesheets/bootstrap_customization.less
158
- - vendor/assets/stylesheets/custom_variables.less
159
- - vendor/assets/stylesheets/flexslider_customization.css
160
- - vendor/assets/stylesheets/font-awesome-ie7.min.css
161
- - vendor/assets/stylesheets/fontawesome_customization.less
162
- - vendor/assets/stylesheets/isotope/css/style.css
163
- - vendor/assets/stylesheets/rails_strap.css.scss
164
- - vendor/assets/stylesheets/style.less
132
+ files: []
165
133
  homepage: ''
166
134
  licenses:
167
135
  - MIT
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .git
4
- .bundle
5
- .config
6
- .yardoc
7
- Gemfile.lock
8
- InstalledFiles
9
- _yardoc
10
- coverage
11
- doc/
12
- lib/bundler/man
13
- pkg
14
- rdoc
15
- spec/reports
16
- test/tmp
17
- test/version_tmp
18
- tmp
data/.rvmrc DELETED
@@ -1,48 +0,0 @@
1
- #!/usr/bin/env bash
2
-
3
- # This is an RVM Project .rvmrc file, used to automatically load the ruby
4
- # development environment upon cd'ing into the directory
5
-
6
- # First we specify our desired <ruby>[@<gemset>], the @gemset name is optional,
7
- # Only full ruby name is supported here, for short names use:
8
- # echo "rvm use 1.9.3" > .rvmrc
9
- environment_id="ruby-1.9.3@rails_pitfall"
10
-
11
- # Uncomment the following lines if you want to verify rvm version per project
12
- # rvmrc_rvm_version="1.18.21 (stable)" # 1.10.1 seams as a safe start
13
- # eval "$(echo ${rvm_version}.${rvmrc_rvm_version} | awk -F. '{print "[[ "$1*65536+$2*256+$3" -ge "$4*65536+$5*256+$6" ]]"}' )" || {
14
- # echo "This .rvmrc file requires at least RVM ${rvmrc_rvm_version}, aborting loading."
15
- # return 1
16
- # }
17
-
18
- # First we attempt to load the desired environment directly from the environment
19
- # file. This is very fast and efficient compared to running through the entire
20
- # CLI and selector. If you want feedback on which environment was used then
21
- # insert the word 'use' after --create as this triggers verbose mode.
22
- if [[ -d "${rvm_path:-$HOME/.rvm}/environments"
23
- && -s "${rvm_path:-$HOME/.rvm}/environments/$environment_id" ]]
24
- then
25
- \. "${rvm_path:-$HOME/.rvm}/environments/$environment_id"
26
- [[ -s "${rvm_path:-$HOME/.rvm}/hooks/after_use" ]] &&
27
- \. "${rvm_path:-$HOME/.rvm}/hooks/after_use" || true
28
- else
29
- # If the environment file has not yet been created, use the RVM CLI to select.
30
- rvm --create "$environment_id" || {
31
- echo "Failed to create RVM environment '${environment_id}'."
32
- return 1
33
- }
34
- fi
35
-
36
- # If you use bundler, this might be useful to you:
37
- # if [[ -s Gemfile ]] && {
38
- # ! builtin command -v bundle >/dev/null ||
39
- # builtin command -v bundle | GREP_OPTIONS= \grep $rvm_path/bin/bundle >/dev/null
40
- # }
41
- # then
42
- # printf "%b" "The rubygem 'bundler' is not installed. Installing it now.\n"
43
- # gem install bundler
44
- # fi
45
- # if [[ -s Gemfile ]] && builtin command -v bundle >/dev/null
46
- # then
47
- # bundle install | GREP_OPTIONS= \grep -vE '^Using|Your bundle is complete'
48
- # fi
data/Gemfile DELETED
@@ -1,4 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- # Specify your gem's dependencies in rails_pitfall.gemspec
4
- gemspec
data/LICENSE.txt DELETED
@@ -1 +0,0 @@
1
- Copyright (c) 2013 by leonart.gr & wintersolutions.de
data/README.md DELETED
@@ -1,45 +0,0 @@
1
- # RailsPitfall
2
-
3
- Multipurpose HTML Template based on twitter bootstrap.
4
-
5
- ## Installation
6
-
7
- Install the Gem yourself by executing:
8
-
9
- $ gem install rails_pitfall
10
-
11
- in the directory you downloaded the Gem.
12
-
13
-
14
- Add this line to your application's Gemfile:
15
-
16
- gem 'rails_pitfall'
17
-
18
- And then execute:
19
-
20
- $ bundle
21
-
22
- Then add this to app/assets/javascripts/application.js
23
-
24
- //= require rails_pitfall
25
-
26
- And this to app/assets/stylesheets/application.css
27
-
28
- *= require rails_pitfall
29
-
30
- ## Features
31
- * Clean, Responsive Design
32
- * Good typography and large photography
33
- * Built with {less}
34
- * Subtle animations & a fresh collapsing header effect
35
-
36
-
37
- * jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
38
- * Bootstrap v3.0
39
- * Font Awesome 3.0.2
40
- * Modernizr 2.6.2 (Custom Build)
41
- * Animate.css * http://daneden.me/animate
42
- * Isotope v1.5.25 jQuery plugin http://isotope.metafizzy.co (Commercial Licence)
43
- * UItoTop jQuery Plugin 1.2 by Matt Varone
44
- * Background pattern by Subtle Patterns (http://subtlepatterns.com/)
45
- * Google OpenSans Webfont
data/Rakefile DELETED
@@ -1 +0,0 @@
1
- require "bundler/gem_tasks"
@@ -1,3 +0,0 @@
1
- module RailsPitfall
2
- VERSION = "0.0.1"
3
- end
data/lib/rails_pitfall.rb DELETED
@@ -1,18 +0,0 @@
1
- require "rails_pitfall/version"
2
-
3
- module RailsPitfall
4
- class Engine < ::Rails::Engine
5
- # see http://stackoverflow.com/questions/12256291/dependency-included-in-gemspec-not-added-to-asset-pipeline-in-rails-engine
6
- require "twitter-bootstrap-rails"
7
- require "flexslider"
8
- require "prettyphoto-rails"
9
- require "jquery-rails"
10
- require "less-rails"
11
-
12
- if Rails.version >= '3.1'
13
- initializer :assets do |config|
14
- Rails.application.config.assets.precompile += %w( font-awesome-ie7.min.css rails_pitfall_modernizer.js )
15
- end
16
- end
17
- end
18
- end
@@ -1,25 +0,0 @@
1
- # coding: utf-8
2
- lib = File.expand_path('../lib', __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require 'rails_pitfall/version'
5
- Gem::Specification.new do |spec|
6
- spec.name = "rails_pitfall"
7
- spec.version = RailsPitfall::VERSION
8
- spec.authors = ["Oscar Quiroz"]
9
- spec.email = ["oscaryunue@gmail.com"]
10
- spec.description = %q{bundle of components, for a core application.}
11
- spec.summary = %q{install and configure all you need for a multipurpose applications.}
12
- spec.homepage = ""
13
- spec.license = "MIT"
14
- spec.files = `git ls-files`.split($/)
15
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
16
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
17
- spec.require_paths = ["lib"]
18
- spec.add_dependency "twitter-bootstrap-rails", " ~> 2.2"
19
- spec.add_dependency "flexslider", "2.0.2"
20
- spec.add_dependency "prettyphoto-rails", "0.2.0"
21
- spec.add_dependency "jquery-rails", "~> 2.0"
22
- spec.add_dependency "less-rails", "~> 2.2"
23
- spec.add_development_dependency "bundler", "~> 1.3"
24
- spec.add_development_dependency "rake"
25
- end
Binary file
@@ -1,141 +0,0 @@
1
- /*
2
- * jQuery EasIng v1.1.2 - http://gsgd.co.uk/sandbox/jquery.easIng.php
3
- *
4
- * Uses the built In easIng capabilities added In jQuery 1.1
5
- * to offer multiple easIng options
6
- *
7
- * Copyright (c) 2007 George Smith
8
- * Licensed under the MIT License:
9
- * http://www.opensource.org/licenses/mit-license.php
10
- */
11
-
12
- // t: current time, b: begInnIng value, c: change In value, d: duration
13
-
14
- jQuery.extend( jQuery.easing,
15
- {
16
- easeInQuad: function (x, t, b, c, d) {
17
- return c*(t/=d)*t + b;
18
- },
19
- easeOutQuad: function (x, t, b, c, d) {
20
- return -c *(t/=d)*(t-2) + b;
21
- },
22
- easeInOutQuad: function (x, t, b, c, d) {
23
- if ((t/=d/2) < 1) return c/2*t*t + b;
24
- return -c/2 * ((--t)*(t-2) - 1) + b;
25
- },
26
- easeInCubic: function (x, t, b, c, d) {
27
- return c*(t/=d)*t*t + b;
28
- },
29
- easeOutCubic: function (x, t, b, c, d) {
30
- return c*((t=t/d-1)*t*t + 1) + b;
31
- },
32
- easeInOutCubic: function (x, t, b, c, d) {
33
- if ((t/=d/2) < 1) return c/2*t*t*t + b;
34
- return c/2*((t-=2)*t*t + 2) + b;
35
- },
36
- easeInQuart: function (x, t, b, c, d) {
37
- return c*(t/=d)*t*t*t + b;
38
- },
39
- easeOutQuart: function (x, t, b, c, d) {
40
- return -c * ((t=t/d-1)*t*t*t - 1) + b;
41
- },
42
- easeInOutQuart: function (x, t, b, c, d) {
43
- if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
44
- return -c/2 * ((t-=2)*t*t*t - 2) + b;
45
- },
46
- easeInQuint: function (x, t, b, c, d) {
47
- return c*(t/=d)*t*t*t*t + b;
48
- },
49
- easeOutQuint: function (x, t, b, c, d) {
50
- return c*((t=t/d-1)*t*t*t*t + 1) + b;
51
- },
52
- easeInOutQuint: function (x, t, b, c, d) {
53
- if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
54
- return c/2*((t-=2)*t*t*t*t + 2) + b;
55
- },
56
- easeInSine: function (x, t, b, c, d) {
57
- return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
58
- },
59
- easeOutSine: function (x, t, b, c, d) {
60
- return c * Math.sin(t/d * (Math.PI/2)) + b;
61
- },
62
- easeInOutSine: function (x, t, b, c, d) {
63
- return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
64
- },
65
- easeInExpo: function (x, t, b, c, d) {
66
- return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
67
- },
68
- easeOutExpo: function (x, t, b, c, d) {
69
- return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
70
- },
71
- easeInOutExpo: function (x, t, b, c, d) {
72
- if (t==0) return b;
73
- if (t==d) return b+c;
74
- if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
75
- return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
76
- },
77
- easeInCirc: function (x, t, b, c, d) {
78
- return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
79
- },
80
- easeOutCirc: function (x, t, b, c, d) {
81
- return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
82
- },
83
- easeInOutCirc: function (x, t, b, c, d) {
84
- if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
85
- return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
86
- },
87
- easeInElastic: function (x, t, b, c, d) {
88
- var s=1.70158;var p=0;var a=c;
89
- if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
90
- if (a < Math.abs(c)) { a=c; var s=p/4; }
91
- else var s = p/(2*Math.PI) * Math.asin (c/a);
92
- return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
93
- },
94
- easeOutElastic: function (x, t, b, c, d) {
95
- var s=1.70158;var p=0;var a=c;
96
- if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3;
97
- if (a < Math.abs(c)) { a=c; var s=p/4; }
98
- else var s = p/(2*Math.PI) * Math.asin (c/a);
99
- return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
100
- },
101
- easeInOutElastic: function (x, t, b, c, d) {
102
- var s=1.70158;var p=0;var a=c;
103
- if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5);
104
- if (a < Math.abs(c)) { a=c; var s=p/4; }
105
- else var s = p/(2*Math.PI) * Math.asin (c/a);
106
- if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
107
- return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
108
- },
109
- easeInBack: function (x, t, b, c, d, s) {
110
- if (s == undefined) s = 1.70158;
111
- return c*(t/=d)*t*((s+1)*t - s) + b;
112
- },
113
- easeOutBack: function (x, t, b, c, d, s) {
114
- if (s == undefined) s = 1.70158;
115
- return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
116
- },
117
- easeInOutBack: function (x, t, b, c, d, s) {
118
- if (s == undefined) s = 1.70158;
119
- if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
120
- return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
121
- },
122
- easeInBounce: function (x, t, b, c, d) {
123
- return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
124
- },
125
- easeOutBounce: function (x, t, b, c, d) {
126
- if ((t/=d) < (1/2.75)) {
127
- return c*(7.5625*t*t) + b;
128
- } else if (t < (2/2.75)) {
129
- return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
130
- } else if (t < (2.5/2.75)) {
131
- return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
132
- } else {
133
- return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
134
- }
135
- },
136
- easeInOutBounce: function (x, t, b, c, d) {
137
- if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
138
- return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
139
- }
140
- });
141
-