Sha256: ca99583adc5ef00becbec5d2833cdea93f6ebc2bed45fb1c03d551cd0b8fa3b9

Contents?: true

Size: 1.51 KB

Versions: 35

Compression:

Stored size: 1.51 KB

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new('spec')

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end
require 'rake'

require 'jeweler'
Jeweler::Tasks.new do |gem|
  # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
  gem.name = "plissken"
  gem.homepage = "http://github.com/futurechimp/plissken"
  gem.license = "MIT"
  gem.summary = %Q{Snakify your camel keys when working with JSON APIs}
  gem.description = %Q{
    Have you ever needed to automatically convert JSON-style camelBack or
    CamelCase hash keys into more Rubyish snake_case?

    Plissken to the rescue.

    This gem recursively converts all camelBack or CamelCase keys in a hash
    structure to snake_case.
  }
  gem.email = "dave.hrycyszyn@headlondon.com"
  gem.authors = ["Dave Hrycyszyn", "Michael Chrisco"]
  # dependencies defined in Gemfile
end
Jeweler::RubygemsDotOrgTasks.new

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

task :default => :spec

require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "plissken #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

35 entries across 35 versions & 2 rubygems

Version Path
lono-4.2.7 vendor/plissken/Rakefile
lono-4.2.6 vendor/plissken/Rakefile
lono-4.2.5 vendor/plissken/Rakefile
lono-4.2.4 vendor/plissken/Rakefile
lono-4.2.0 vendor/plissken/Rakefile
lono-4.1.0 vendor/plissken/Rakefile
lono-4.0.6 vendor/plissken/Rakefile
lono-4.0.5 vendor/plissken/Rakefile
lono-4.0.4 vendor/plissken/Rakefile
lono-4.0.3 vendor/plissken/Rakefile
lono-4.0.2 vendor/plissken/Rakefile
lono-4.0.1 vendor/plissken/Rakefile
lono-4.0.0 vendor/plissken/Rakefile
lono-3.5.0 vendor/plissken/Rakefile
lono-3.4.1 vendor/plissken/Rakefile
lono-3.4.0 vendor/plissken/Rakefile
lono-3.3.4 vendor/plissken/Rakefile
lono-3.3.2 vendor/plissken/Rakefile
lono-3.3.0 vendor/plissken/Rakefile
lono-3.2.1 vendor/plissken/Rakefile