Permalink
Browse files

Moved from jeweler to bundler

  • Loading branch information...
pyromaniac committed Nov 26, 2011
1 parent 5457eff commit 3e0f57d80c99a2e1377eeda203d81b42b180eebd
Showing with 51 additions and 243 deletions.
  1. +2 −23 Gemfile
  2. +12 −11 Gemfile.lock
  3. +1 −11 Rakefile
  4. +0 −1 VERSION
  5. +3 −0 lib/puffer_pages/version.rb
  6. +31 −195 puffer_pages.gemspec
  7. +2 −2 spec/spec_helper.rb
View
25 Gemfile
@@ -1,26 +1,5 @@
source "http://rubygems.org"
-gem 'rails', '~> 3.1.0'
-gem 'puffer', :git => 'git://github.com/puffer/puffer.git'
-
-gem 'liquid'
-gem 'nested_set'
-
-group :development, :test, :pg_test do
- gem "sqlite3-ruby", :require => "sqlite3"
- gem "pg"
- gem "mysql"
-
- gem "rspec-rails"
- gem "capybara", ">= 0.4.0"
- gem 'database_cleaner'
-
- gem 'guard'
- gem 'libnotify'
- gem 'guard-rspec'
-
- gem 'forgery'
- gem 'fabrication'
- gem "jeweler"
-end
+gemspec
+gem 'puffer', :git => 'git://github.com/puffer/puffer.git'
View
@@ -1,12 +1,21 @@
GIT
remote: git://github.com/puffer/puffer.git
- revision: 6df1280c332486fc55e0eefac7f5bc98f87eff28
+ revision: cdbcc66e5b205cd8f95a48e84568c6748640f349
specs:
- puffer (0.0.32)
+ puffer (0.1.0)
kaminari
orm_adapter
rails (~> 3.1.0)
+PATH
+ remote: .
+ specs:
+ puffer_pages (0.1.0)
+ liquid
+ nested_set
+ puffer
+ rails (~> 3.1.0)
+
GEM
remote: http://rubygems.org/
specs:
@@ -55,17 +64,12 @@ GEM
fabrication (1.1.0)
ffi (1.0.9)
forgery (0.5.0)
- git (1.2.5)
guard (0.6.3)
thor (~> 0.14.6)
guard-rspec (0.4.5)
guard (>= 0.4.0)
hike (1.2.1)
i18n (0.6.0)
- jeweler (1.6.4)
- bundler (~> 1.0)
- git (>= 1.2.5)
- rake
json (1.6.1)
json_pure (1.6.0)
kaminari (0.12.4)
@@ -158,13 +162,10 @@ DEPENDENCIES
forgery
guard
guard-rspec
- jeweler
libnotify
- liquid
mysql
- nested_set
pg
puffer!
- rails (~> 3.1.0)
+ puffer_pages!
rspec-rails
sqlite3-ruby
View
@@ -24,14 +24,4 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('lib/**/*.rb')
end
-require 'jeweler'
-
-Jeweler::Tasks.new do |gem|
- gem.name = "puffer_pages"
- gem.summary = %Q{Content management system}
- gem.description = %Q{Puffer pages is integratable rails CMS with puffer admin interface}
- gem.email = "kinwizard@gmail.com"
- gem.homepage = "http://github.com/puffer/puffer_pages"
- gem.authors = ["pyromaniac"]
-end
-Jeweler::GemcutterTasks.new
+require "bundler/gem_tasks"
View
@@ -1 +0,0 @@
-0.0.19
@@ -0,0 +1,3 @@
+module PufferPages
+ VERSION = "0.1.0"
+end
View
@@ -1,202 +1,38 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "puffer_pages/version"
Gem::Specification.new do |s|
- s.name = %q{puffer_pages}
- s.version = "0.0.19"
-
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
- s.authors = [%q{pyromaniac}]
- s.date = %q{2011-11-17}
+ s.name = "puffer_pages"
+ s.version = PufferPages::VERSION
+ s.authors = ["pyromaniac"]
+ s.email = ["kinwizard@gmail.com"]
+ s.homepage = "http://github.com/puffer/puffer_pages"
+ s.summary = %q{Content Management System}
s.description = %q{Puffer pages is integratable rails CMS with puffer admin interface}
- s.email = %q{kinwizard@gmail.com}
- s.extra_rdoc_files = [
- "README.md"
- ]
- s.files = [
- ".rspec",
- "Gemfile",
- "Gemfile.lock",
- "Guardfile",
- "MIT-LICENSE",
- "README.md",
- "Rakefile",
- "VERSION",
- "app/assets/javascripts/puffer/codemirror.js",
- "app/assets/javascripts/puffer/codemirror/css.js",
- "app/assets/javascripts/puffer/codemirror/htmlmixed.js",
- "app/assets/javascripts/puffer/codemirror/javascript.js",
- "app/assets/javascripts/puffer/codemirror/xml.js",
- "app/assets/javascripts/puffer/overlay.js",
- "app/assets/javascripts/puffer/puffer_pages.js",
- "app/assets/javascripts/puffer/right-tabs-src.js",
- "app/assets/stylesheets/puffer/codemirror.css",
- "app/assets/stylesheets/puffer/codemirror/cobalt.css",
- "app/assets/stylesheets/puffer/codemirror/default.css",
- "app/assets/stylesheets/puffer/codemirror/eclipse.css",
- "app/assets/stylesheets/puffer/codemirror/elegant.css",
- "app/assets/stylesheets/puffer/codemirror/neat.css",
- "app/assets/stylesheets/puffer/codemirror/night.css",
- "app/assets/stylesheets/puffer/puffer_pages.css",
- "app/components/page_part_body/form.html.erb",
- "app/components/page_part_body_component.rb",
- "app/components/page_parts/form.html.erb",
- "app/components/page_parts_component.rb",
- "app/components/render/_tree_page.html.erb",
- "app/controllers/admin/layouts_controller.rb",
- "app/controllers/admin/pages_controller.rb",
- "app/controllers/admin/snippets_controller.rb",
- "app/controllers/pages_controller.rb",
- "app/controllers/puffer_pages/layouts_base.rb",
- "app/controllers/puffer_pages/pages_base.rb",
- "app/controllers/puffer_pages/snippets_base.rb",
- "app/helpers/puffer_pages_helper.rb",
- "app/models/layout.rb",
- "app/models/page.rb",
- "app/models/page_part.rb",
- "app/models/puffer_pages/layout.rb",
- "app/models/puffer_pages/page.rb",
- "app/models/puffer_pages/page_part.rb",
- "app/models/puffer_pages/snippet.rb",
- "app/models/snippet.rb",
- "app/views/layouts/puffer_pages_layout.html.erb",
- "config/locales/en.yml",
- "config/puffer_routes.rb",
- "db/migrate/20090422092419_create_pages.rb",
- "db/migrate/20090504132337_create_page_parts.rb",
- "db/migrate/20090506102004_create_layouts.rb",
- "db/migrate/20090510121824_create_snippets.rb",
- "lib/puffer_pages.rb",
- "lib/puffer_pages/engine.rb",
- "lib/puffer_pages/extensions/controller.rb",
- "lib/puffer_pages/extensions/core.rb",
- "lib/puffer_pages/extensions/mapper.rb",
- "lib/puffer_pages/liquid/file_system.rb",
- "lib/puffer_pages/liquid/page_drop.rb",
- "lib/puffer_pages/liquid/tags/javascripts.rb",
- "lib/puffer_pages/liquid/tags/stylesheets.rb",
- "lib/puffer_pages/liquid/tags/yield.rb",
- "lib/puffer_pages/liquid/tracker.rb",
- "puffer_pages.gemspec",
- "spec/controllers/articles_controller_spec.rb",
- "spec/dummy/Rakefile",
- "spec/dummy/app/assets/images/rails.png",
- "spec/dummy/app/assets/javascripts/application.js",
- "spec/dummy/app/assets/stylesheets/application.css",
- "spec/dummy/app/controllers/admin/articles_controller.rb",
- "spec/dummy/app/controllers/application_controller.rb",
- "spec/dummy/app/controllers/articles_controller.rb",
- "spec/dummy/app/helpers/application_helper.rb",
- "spec/dummy/app/models/article.rb",
- "spec/dummy/app/views/articles/show.html.erb",
- "spec/dummy/app/views/layouts/application.html.erb",
- "spec/dummy/app/views/layouts/articles.html.erb",
- "spec/dummy/config.ru",
- "spec/dummy/config/application.rb",
- "spec/dummy/config/boot.rb",
- "spec/dummy/config/boot.rb.orig",
- "spec/dummy/config/database.yml",
- "spec/dummy/config/environment.rb",
- "spec/dummy/config/environments/development.rb",
- "spec/dummy/config/environments/pg_test.rb",
- "spec/dummy/config/environments/production.rb",
- "spec/dummy/config/environments/test.rb",
- "spec/dummy/config/initializers/backtrace_silencers.rb",
- "spec/dummy/config/initializers/inflections.rb",
- "spec/dummy/config/initializers/mime_types.rb",
- "spec/dummy/config/initializers/secret_token.rb",
- "spec/dummy/config/initializers/session_store.rb",
- "spec/dummy/config/initializers/wrap_parameters.rb",
- "spec/dummy/config/locales/en.yml",
- "spec/dummy/config/routes.rb",
- "spec/dummy/db/migrate/20090422092419_create_pages.rb",
- "spec/dummy/db/migrate/20090504132337_create_page_parts.rb",
- "spec/dummy/db/migrate/20090506102004_create_layouts.rb",
- "spec/dummy/db/migrate/20090510121824_create_snippets.rb",
- "spec/dummy/db/migrate/20111117081813_create_articles.rb",
- "spec/dummy/db/schema.rb",
- "spec/dummy/db/seeds.rb",
- "spec/dummy/public/404.html",
- "spec/dummy/public/422.html",
- "spec/dummy/public/500.html",
- "spec/dummy/public/favicon.ico",
- "spec/dummy/public/robots.txt",
- "spec/dummy/script/rails",
- "spec/fabricators/articles_fabricator.rb",
- "spec/fabricators/layouts_fabricator.rb",
- "spec/fabricators/page_parts_fabricator.rb",
- "spec/fabricators/pages_fabricator.rb",
- "spec/fabricators/snippets_fabricator.rb",
- "spec/integration/navigation_spec.rb",
- "spec/lib/core_spec.rb",
- "spec/lib/drops_spec.rb",
- "spec/lib/tags_spec.rb",
- "spec/models/page_spec.rb",
- "spec/puffer_pages_spec.rb",
- "spec/spec_helper.rb"
- ]
- s.homepage = %q{http://github.com/puffer/puffer_pages}
- s.require_paths = [%q{lib}]
- s.rubygems_version = %q{1.8.6}
- s.summary = %q{Content management system}
- if s.respond_to? :specification_version then
- s.specification_version = 3
+ s.rubyforge_project = "puffer_pages"
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<rails>, ["~> 3.1.0"])
- s.add_runtime_dependency(%q<puffer>, [">= 0"])
- s.add_runtime_dependency(%q<liquid>, [">= 0"])
- s.add_runtime_dependency(%q<nested_set>, [">= 0"])
- s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
- s.add_development_dependency(%q<pg>, [">= 0"])
- s.add_development_dependency(%q<mysql>, [">= 0"])
- s.add_development_dependency(%q<rspec-rails>, [">= 0"])
- s.add_development_dependency(%q<capybara>, [">= 0.4.0"])
- s.add_development_dependency(%q<database_cleaner>, [">= 0"])
- s.add_development_dependency(%q<guard>, [">= 0"])
- s.add_development_dependency(%q<libnotify>, [">= 0"])
- s.add_development_dependency(%q<guard-rspec>, [">= 0"])
- s.add_development_dependency(%q<forgery>, [">= 0"])
- s.add_development_dependency(%q<fabrication>, [">= 0"])
- s.add_development_dependency(%q<jeweler>, [">= 0"])
- else
- s.add_dependency(%q<rails>, ["~> 3.1.0"])
- s.add_dependency(%q<puffer>, [">= 0"])
- s.add_dependency(%q<liquid>, [">= 0"])
- s.add_dependency(%q<nested_set>, [">= 0"])
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
- s.add_dependency(%q<pg>, [">= 0"])
- s.add_dependency(%q<mysql>, [">= 0"])
- s.add_dependency(%q<rspec-rails>, [">= 0"])
- s.add_dependency(%q<capybara>, [">= 0.4.0"])
- s.add_dependency(%q<database_cleaner>, [">= 0"])
- s.add_dependency(%q<guard>, [">= 0"])
- s.add_dependency(%q<libnotify>, [">= 0"])
- s.add_dependency(%q<guard-rspec>, [">= 0"])
- s.add_dependency(%q<forgery>, [">= 0"])
- s.add_dependency(%q<fabrication>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
- end
- else
- s.add_dependency(%q<rails>, ["~> 3.1.0"])
- s.add_dependency(%q<puffer>, [">= 0"])
- s.add_dependency(%q<liquid>, [">= 0"])
- s.add_dependency(%q<nested_set>, [">= 0"])
- s.add_dependency(%q<sqlite3-ruby>, [">= 0"])
- s.add_dependency(%q<pg>, [">= 0"])
- s.add_dependency(%q<mysql>, [">= 0"])
- s.add_dependency(%q<rspec-rails>, [">= 0"])
- s.add_dependency(%q<capybara>, [">= 0.4.0"])
- s.add_dependency(%q<database_cleaner>, [">= 0"])
- s.add_dependency(%q<guard>, [">= 0"])
- s.add_dependency(%q<libnotify>, [">= 0"])
- s.add_dependency(%q<guard-rspec>, [">= 0"])
- s.add_dependency(%q<forgery>, [">= 0"])
- s.add_dependency(%q<fabrication>, [">= 0"])
- s.add_dependency(%q<jeweler>, [">= 0"])
- end
-end
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
+ # specify any dependencies here; for example:
+ s.add_runtime_dependency(%q<rails>, ["~> 3.1.0"])
+ s.add_runtime_dependency(%q<puffer>, [">= 0"])
+ s.add_runtime_dependency(%q<liquid>, [">= 0"])
+ s.add_runtime_dependency(%q<nested_set>, [">= 0"])
+
+ s.add_development_dependency(%q<sqlite3-ruby>, [">= 0"])
+ s.add_development_dependency(%q<pg>, [">= 0"])
+ s.add_development_dependency(%q<mysql>, [">= 0"])
+ s.add_development_dependency(%q<rspec-rails>, [">= 0"])
+ s.add_development_dependency(%q<capybara>, [">= 0.4.0"])
+ s.add_development_dependency(%q<database_cleaner>, [">= 0"])
+ s.add_development_dependency(%q<guard>, [">= 0"])
+ s.add_development_dependency(%q<libnotify>, [">= 0"])
+ s.add_development_dependency(%q<guard-rspec>, [">= 0"])
+ s.add_development_dependency(%q<forgery>, [">= 0"])
+ s.add_development_dependency(%q<fabrication>, [">= 0"])
+end
View
@@ -5,7 +5,7 @@
require "rails/test_help"
require "rspec/rails"
-Bundler.require(:default, ENV["RAILS_ENV"])
+Bundler.require :development
ActionMailer::Base.delivery_method = :test
ActionMailer::Base.perform_deliveries = true
@@ -37,8 +37,8 @@
config.use_transactional_fixtures = false
config.before(:suite) do
- DatabaseCleaner.strategy = :transaction
DatabaseCleaner.clean_with(:truncation)
+ DatabaseCleaner.strategy = :transaction
end
config.before(:each) do

0 comments on commit 3e0f57d

Please sign in to comment.