imgix-optimizer 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/dist/main.css ADDED
@@ -0,0 +1,10 @@
1
+ img {
2
+ position: relative;
3
+ width: 100%;
4
+ }
5
+
6
+ .jumbotron {
7
+ background-size: cover;
8
+ background-repeat: no-repeat;
9
+ background-position: center;
10
+ }
@@ -0,0 +1,17 @@
1
+ lib = File.expand_path('../lib', __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require 'imgix-optimizer/version'
4
+
5
+ Gem::Specification.new do |s|
6
+ s.name = 'imgix-optimizer'
7
+ s.version = Imgix::Optimizer::VERSION
8
+ s.authors = ['Sean C Davis']
9
+ s.email = 'sean@helloample.com'
10
+ s.summary = ''
11
+ s.homepage = 'https://www.ample.co/'
12
+ s.license = 'MIT'
13
+ s.require_paths = ['lib']
14
+ s.files = `git ls-files`.split($/)
15
+
16
+ s.add_development_dependency 'rake'
17
+ end
@@ -0,0 +1,6 @@
1
+ module Imgix
2
+ module Rails
3
+ class Engine < ::Rails::Engine
4
+ end
5
+ end
6
+ end
@@ -0,0 +1,6 @@
1
+ require 'imgix-optimizer/rails/engine'
2
+
3
+ module Imgix
4
+ module Rails
5
+ end
6
+ end
@@ -0,0 +1,8 @@
1
+ require 'json'
2
+
3
+ module Imgix
4
+ module Optimizer
5
+ package_file = File.expand_path('../../package.json', __dir__)
6
+ VERSION = JSON.parse(File.read(package_file))['version']
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ module Imgix
2
+ module Optimizer
3
+ require 'imgix-optimizer/rails' if defined?(Rails)
4
+ end
5
+ end