middleman-bourbon 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'http://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in middleman-bourbon.gemspec
4
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,20 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ middleman-bourbon (0.0.1)
5
+ bourbon (>= 2.1.0)
6
+
7
+ GEM
8
+ remote: http://rubygems.org/
9
+ specs:
10
+ bourbon (2.1.2)
11
+ sass (>= 3.2)
12
+ thor
13
+ sass (3.2.3)
14
+ thor (0.16.0)
15
+
16
+ PLATFORMS
17
+ ruby
18
+
19
+ DEPENDENCIES
20
+ middleman-bourbon!
data/Rakefile ADDED
@@ -0,0 +1,20 @@
1
+ #!/usr/bin/env rake
2
+ require "bundler/gem_tasks"
3
+
4
+ $LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
5
+ require "middleman-bourbon/version"
6
+
7
+ task :gem => :build
8
+ task :build do
9
+ system "gem build middleman-bourbon.gemspec"
10
+ end
11
+
12
+ task :install => :build do
13
+ system "gem install middleman-bourbon-#{MiddleManBourbon::VERSION}.gem"
14
+ end
15
+
16
+ task :release => :build do
17
+ system "git tag -a v#{MiddleManBourbon::VERSION} -m 'Tagging #{MiddleManBourbon::VERSION}'"
18
+ system "git push --tags"
19
+ system "gem push middleman-bourbon-#{MiddleManBourbon::VERSION}.gem"
20
+ end
data/Readme.md ADDED
@@ -0,0 +1,20 @@
1
+ # Middleman Bourbon
2
+
3
+ Middleman extension to allow you to quickly and easily use the [Bourbon](http://thoughtbot.com/bourbon/) sass mixins
4
+
5
+ ## Installation instructions
6
+
7
+ 1) In your middleman project's `Gemfile`:
8
+
9
+ gem "middleman-bourbon"
10
+
11
+
12
+ 2) In your middleman project's `config.rb`:
13
+
14
+ activate :bourbon
15
+
16
+
17
+ 3) Import bourbon in your sass files
18
+
19
+ @import "bourbon"
20
+
@@ -0,0 +1,3 @@
1
+ module MiddlemanBourbon
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,20 @@
1
+ require 'middleman-bourbon/version'
2
+
3
+ module MiddlemanBourbon
4
+
5
+ class << self
6
+ def registered(app)
7
+ require "bourbon"
8
+
9
+ gem_dir = Gem::Specification.find_by_name("bourbon").gem_dir
10
+
11
+ # add bourbon to sass load path
12
+ Sass.load_paths << File.expand_path("./app/assets/stylesheets", gem_dir)
13
+
14
+ puts "Bourbon loaded"
15
+ end
16
+ alias :included :registered
17
+ end
18
+ end
19
+
20
+ ::Middleman::Extensions.register(:bourbon, MiddlemanBourbon)
@@ -0,0 +1,19 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/middleman-bourbon/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["Jacques Crocker"]
6
+ gem.email = ["railsjedi@gmail.com"]
7
+ gem.description = %q{Bourbon extension for Middleman}
8
+ gem.summary = %q{Bourbon extension for Middleman}
9
+ gem.homepage = "https://github.com/railsjedi/middleman-bourbon"
10
+
11
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
12
+ gem.files = `git ls-files`.split("\n")
13
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
14
+ gem.name = "middleman-bourbon"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = MiddlemanBourbon::VERSION
17
+
18
+ gem.add_dependency 'bourbon', '>= 2.1.0'
19
+ end
metadata ADDED
@@ -0,0 +1,69 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: middleman-bourbon
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Jacques Crocker
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-11-20 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: bourbon
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: 2.1.0
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ! '>='
28
+ - !ruby/object:Gem::Version
29
+ version: 2.1.0
30
+ description: Bourbon extension for Middleman
31
+ email:
32
+ - railsjedi@gmail.com
33
+ executables: []
34
+ extensions: []
35
+ extra_rdoc_files: []
36
+ files:
37
+ - Gemfile
38
+ - Gemfile.lock
39
+ - Rakefile
40
+ - Readme.md
41
+ - lib/middleman-bourbon.rb
42
+ - lib/middleman-bourbon/version.rb
43
+ - middleman-bourbon.gemspec
44
+ homepage: https://github.com/railsjedi/middleman-bourbon
45
+ licenses: []
46
+ post_install_message:
47
+ rdoc_options: []
48
+ require_paths:
49
+ - lib
50
+ required_ruby_version: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: '0'
56
+ required_rubygems_version: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ! '>='
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ requirements: []
63
+ rubyforge_project:
64
+ rubygems_version: 1.8.21
65
+ signing_key:
66
+ specification_version: 3
67
+ summary: Bourbon extension for Middleman
68
+ test_files: []
69
+ has_rdoc: