mirror of
https://github.com/meineerde/rackstash.git
synced 2025-10-17 14:01:01 +00:00
Use single-quotes and check line-length to 80 chars
This commit is contained in:
parent
063f2fc53f
commit
572b95c580
4
Rakefile
4
Rakefile
@ -3,8 +3,8 @@
|
||||
# This software may be modified and distributed under the terms
|
||||
# of the MIT license. See the LICENSE.txt file for details.
|
||||
|
||||
require "bundler/gem_tasks"
|
||||
require "rspec/core/rake_task"
|
||||
require 'bundler/gem_tasks'
|
||||
require 'rspec/core/rake_task'
|
||||
|
||||
RSpec::Core::RakeTask.new(:spec)
|
||||
|
||||
|
||||
@ -4,15 +4,15 @@
|
||||
# This software may be modified and distributed under the terms
|
||||
# of the MIT license. See the LICENSE.txt file for details.
|
||||
|
||||
require "bundler/setup"
|
||||
require "rackstash"
|
||||
require 'bundler/setup'
|
||||
require 'rackstash'
|
||||
|
||||
# You can add fixtures and/or initialization code here to make experimenting
|
||||
# with your gem easier. You can also use a different console, if you like.
|
||||
|
||||
# (If you use this, don't forget to add pry to your Gemfile!)
|
||||
# require "pry"
|
||||
# require 'pry'
|
||||
# Pry.start
|
||||
|
||||
require "irb"
|
||||
require 'irb'
|
||||
IRB.start
|
||||
|
||||
@ -4,4 +4,4 @@
|
||||
# This software may be modified and distributed under the terms
|
||||
# of the MIT license. See the LICENSE.txt file for details.
|
||||
|
||||
require "rackstash"
|
||||
require 'rackstash'
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
# This software may be modified and distributed under the terms
|
||||
# of the MIT license. See the LICENSE.txt file for details.
|
||||
|
||||
require "rackstash/version"
|
||||
require 'rackstash/version'
|
||||
|
||||
module Rackstash
|
||||
# Your code goes here...
|
||||
|
||||
@ -4,5 +4,5 @@
|
||||
# of the MIT license. See the LICENSE.txt file for details.
|
||||
|
||||
module Rackstash
|
||||
VERSION = "0.1.0"
|
||||
VERSION = '0.1.0'
|
||||
end
|
||||
|
||||
@ -9,9 +9,9 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
||||
require 'rackstash/version'
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "rackstash"
|
||||
spec.name = 'rackstash'
|
||||
spec.version = Rackstash::VERSION
|
||||
spec.authors = ["Holger Just"]
|
||||
spec.authors = ['Holger Just']
|
||||
|
||||
spec.summary = 'Easy structured logging for Ruby applications'
|
||||
spec.description = <<-TXT.gsub(/\s+|\n/, ' ').strip
|
||||
@ -20,15 +20,15 @@ Gem::Specification.new do |spec|
|
||||
frameworks. It works best with a log receiver like Logstash or Graylog.
|
||||
TXT
|
||||
spec.homepage = 'https://github.com/meineerde/rackstash'
|
||||
spec.license = "MIT"
|
||||
spec.license = 'MIT'
|
||||
|
||||
|
||||
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
||||
spec.bindir = "exe"
|
||||
files = `git ls-files -z`.split("\x0")
|
||||
spec.files = files.reject { |f| f.match(%r{^(test|spec|features)/}) }
|
||||
spec.bindir = 'exe'
|
||||
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
||||
spec.require_paths = ["lib"]
|
||||
spec.require_paths = ['lib']
|
||||
|
||||
spec.add_development_dependency "bundler", "~> 1.12"
|
||||
spec.add_development_dependency "rake", "~> 10.0"
|
||||
spec.add_development_dependency "rspec", "~> 3.0"
|
||||
spec.add_development_dependency 'bundler', '~> 1.12'
|
||||
spec.add_development_dependency 'rake', '~> 10.0'
|
||||
spec.add_development_dependency 'rspec', '~> 3.0'
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user