more consistency across all gems

- rubocop'd for cosmetics
This commit is contained in:
Karl Freeman 2014-03-25 08:50:28 +00:00
parent c5609dc889
commit ce83e502f6
4 changed files with 65 additions and 64 deletions

View file

@ -1,24 +1,24 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__) $LOAD_PATH.push File.expand_path('../lib', __FILE__)
require File.expand_path("../../middleman-core/lib/middleman-core/version.rb", __FILE__) require File.expand_path('../../middleman-core/lib/middleman-core/version.rb', __FILE__)
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "middleman-cli" s.name = 'middleman-cli'
s.version = Middleman::VERSION s.version = Middleman::VERSION
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
s.license = "MIT" s.license = 'MIT'
s.authors = ["Thomas Reynolds", "Ben Hollis"] s.authors = ['Thomas Reynolds', 'Ben Hollis']
s.email = ["me@tdreyno.com", "ben@benhollis.net"] s.email = ['me@tdreyno.com', 'ben@benhollis.net']
s.homepage = "http://middlemanapp.com" s.homepage = 'http://middlemanapp.com'
s.summary = "Hand-crafted frontend development" s.summary = 'Hand-crafted frontend development'
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle." s.description = 'A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle.'
s.files = `git ls-files -z`.split("\0") s.files = `git ls-files -z`.split("\0")
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0") s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
s.executable = "middleman" s.executable = 'middleman'
s.require_path = "lib" s.require_path = 'lib'
s.required_ruby_version = '>= 1.9.3' s.required_ruby_version = '>= 1.9.3'
# CLI # CLI
s.add_dependency("thor", [">= 0.17.0", "< 2.0"]) s.add_dependency('thor', ['>= 0.17.0', '< 2.0'])
end end

View file

@ -1,35 +1,36 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
require File.expand_path("../lib/middleman-core/version", __FILE__) $LOAD_PATH.push File.expand_path('../lib', __FILE__)
require File.expand_path('../lib/middleman-core/version', __FILE__)
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "middleman-core" s.name = 'middleman-core'
s.version = Middleman::VERSION s.version = Middleman::VERSION
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
s.license = "MIT" s.license = 'MIT'
s.authors = ["Thomas Reynolds", "Ben Hollis"] s.authors = ['Thomas Reynolds', 'Ben Hollis']
s.email = ["me@tdreyno.com", "ben@benhollis.net"] s.email = ['me@tdreyno.com', 'ben@benhollis.net']
s.homepage = "http://middlemanapp.com" s.homepage = 'http://middlemanapp.com'
s.summary = "Hand-crafted frontend development" s.summary = 'Hand-crafted frontend development'
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle." s.description = 'A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle.'
s.files = `git ls-files -z`.split("\0") s.files = `git ls-files -z`.split("\0")
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0") s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
s.require_path = "lib" s.require_path = 'lib'
s.required_ruby_version = '>= 1.9.3' s.required_ruby_version = '>= 1.9.3'
# Core # Core
s.add_dependency("bundler", ["~> 1.1"]) s.add_dependency('bundler', ['~> 1.1'])
s.add_dependency("rack", [">= 1.4.5"]) s.add_dependency('rack', ['>= 1.4.5'])
s.add_dependency("tilt", ["~> 1.4.1"]) s.add_dependency('tilt', ['~> 1.4.1'])
s.add_dependency("erubis") s.add_dependency('erubis')
s.add_dependency("hooks", ["~> 0.3"]) s.add_dependency('hooks', ['~> 0.3'])
# Helpers # Helpers
s.add_dependency("activesupport", ["~> 4.0.1"]) s.add_dependency('activesupport', ['~> 4.0.1'])
# Watcher # Watcher
s.add_dependency("listen", ["~> 1.3"]) s.add_dependency('listen', ['~> 1.3'])
# i18n # i18n
s.add_dependency("i18n", ["~> 0.6.9"]) s.add_dependency('i18n', ['~> 0.6.9'])
end end

View file

@ -1,24 +1,24 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__) $LOAD_PATH.push File.expand_path('../lib', __FILE__)
require File.expand_path("../../middleman-core/lib/middleman-core/version.rb", __FILE__) require File.expand_path('../../middleman-core/lib/middleman-core/version.rb', __FILE__)
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "middleman-templates" s.name = 'middleman-templates'
s.version = Middleman::VERSION s.version = Middleman::VERSION
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
s.license = "MIT" s.license = 'MIT'
s.authors = ["Thomas Reynolds", "Ben Hollis", "Karl Freeman"] s.authors = ['Thomas Reynolds', 'Ben Hollis', 'Karl Freeman']
s.email = ["me@tdreyno.com", "ben@benhollis.net", "karlfreeman@gmail.com"] s.email = ['me@tdreyno.com', 'ben@benhollis.net', 'karlfreeman@gmail.com']
s.homepage = "http://middlemanapp.com" s.homepage = 'http://middlemanapp.com'
s.summary = "Hand-crafted frontend development" s.summary = 'Hand-crafted frontend development'
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle." s.description = 'A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle.'
s.files = `git ls-files -z`.split("\0") s.files = `git ls-files -z`.split("\0")
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0") s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
s.executable = "middleman" s.executable = 'middleman'
s.require_path = "lib" s.require_path = 'lib'
s.required_ruby_version = '>= 1.9.3' s.required_ruby_version = '>= 1.9.3'
# Templates # Templates
s.add_dependency("thor", [">= 0.17.0", "< 2.0"]) s.add_dependency('thor', ['>= 0.17.0', '< 2.0'])
end end

View file

@ -1,32 +1,32 @@
# -*- encoding: utf-8 -*- # -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__) $LOAD_PATH.push File.expand_path('../lib', __FILE__)
require File.expand_path("../../middleman-core/lib/middleman-core/version.rb", __FILE__) require File.expand_path('../../middleman-core/lib/middleman-core/version.rb', __FILE__)
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = "middleman" s.name = 'middleman'
s.version = Middleman::VERSION s.version = Middleman::VERSION
s.platform = Gem::Platform::RUBY s.platform = Gem::Platform::RUBY
s.license = "MIT" s.license = 'MIT'
s.authors = ["Thomas Reynolds", "Ben Hollis"] s.authors = ['Thomas Reynolds', 'Ben Hollis']
s.email = ["me@tdreyno.com", "ben@benhollis.net"] s.email = ['me@tdreyno.com', 'ben@benhollis.net']
s.homepage = "http://middlemanapp.com" s.homepage = 'http://middlemanapp.com'
s.summary = "Hand-crafted frontend development" s.summary = 'Hand-crafted frontend development'
s.description = "A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle." s.description = 'A static site generator. Provides dozens of templating languages (Haml, Sass, Compass, Slim, CoffeeScript, and more). Makes minification, compression, cache busting, Yaml data (and more) an easy part of your development cycle.'
s.files = `git ls-files -z`.split("\0") s.files = `git ls-files -z`.split("\0")
s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0") s.test_files = `git ls-files -z -- {fixtures,features}/*`.split("\0")
s.require_paths = ["lib"] s.require_path = 'lib'
s.required_ruby_version = '>= 1.9.3' s.required_ruby_version = '>= 1.9.3'
s.add_dependency("middleman-core", Middleman::VERSION) s.add_dependency('middleman-core', Middleman::VERSION)
s.add_dependency("middleman-cli", Middleman::VERSION) s.add_dependency('middleman-cli', Middleman::VERSION)
s.add_dependency("middleman-templates", Middleman::VERSION) s.add_dependency('middleman-templates', Middleman::VERSION)
s.add_dependency("middleman-sprockets", ">= 3.1.2") s.add_dependency('middleman-sprockets', '>= 3.1.2')
s.add_dependency("haml", [">= 3.1.6"]) s.add_dependency('haml', ['>= 3.1.6'])
s.add_dependency("sass", [">= 3.1.20"]) s.add_dependency('sass', ['>= 3.1.20'])
s.add_dependency("compass", [">= 0.12.2"]) s.add_dependency('compass', ['>= 0.12.2'])
s.add_dependency("uglifier", ["~> 2.4.0"]) s.add_dependency('uglifier', ['~> 2.4.0'])
s.add_dependency("coffee-script", ["~> 2.2.0"]) s.add_dependency('coffee-script', ['~> 2.2.0'])
s.add_dependency("execjs", ["~> 2.0.2"]) s.add_dependency('execjs', ['~> 2.0.2'])
s.add_dependency("kramdown", ["~> 1.2"]) s.add_dependency('kramdown', ['~> 1.2'])
end end