rails_magic_renamer 2.0.0.pre.alpha
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +2 -0
- data/.ruby-version +1 -0
- data/.travis.yml +6 -0
- data/CHANGELOG +4 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +173 -0
- data/Guardfile +11 -0
- data/Manifest +8 -0
- data/README.md +59 -0
- data/ROADMAP.md +60 -0
- data/Rakefile +2 -0
- data/lib/rails_magic_renamer.rb +343 -0
- data/lib/rails_magic_renamer/exceptions.rb +35 -0
- data/lib/rails_magic_renamer/version.rb +3 -0
- data/rails_magic_renamer.gemspec +36 -0
- data/spec/rails_helper.rb +26 -0
- data/spec/rails_magic_renamer_spec.rb +22 -0
- data/spec/spec_helper.rb +17 -0
- data/spec/support/sample_app_rails_4/.gitignore +19 -0
- data/spec/support/sample_app_rails_4/.rspec +2 -0
- data/spec/support/sample_app_rails_4/Gemfile +58 -0
- data/spec/support/sample_app_rails_4/Gemfile.lock +249 -0
- data/spec/support/sample_app_rails_4/Guardfile +53 -0
- data/spec/support/sample_app_rails_4/LICENSE +21 -0
- data/spec/support/sample_app_rails_4/README.md +25 -0
- data/spec/support/sample_app_rails_4/README.nitrous.md +20 -0
- data/spec/support/sample_app_rails_4/Rakefile +6 -0
- data/spec/support/sample_app_rails_4/app/assets/images/rails.png +0 -0
- data/spec/support/sample_app_rails_4/app/assets/javascripts/application.js +17 -0
- data/spec/support/sample_app_rails_4/app/assets/javascripts/sessions.js.coffee +3 -0
- data/spec/support/sample_app_rails_4/app/assets/javascripts/static_pages.js.coffee +3 -0
- data/spec/support/sample_app_rails_4/app/assets/javascripts/users.js.coffee +3 -0
- data/spec/support/sample_app_rails_4/app/assets/stylesheets/application.css +13 -0
- data/spec/support/sample_app_rails_4/app/assets/stylesheets/custom.css.scss +246 -0
- data/spec/support/sample_app_rails_4/app/assets/stylesheets/sessions.css.scss +3 -0
- data/spec/support/sample_app_rails_4/app/assets/stylesheets/static_pages.css.scss +3 -0
- data/spec/support/sample_app_rails_4/app/assets/stylesheets/users.css.scss +3 -0
- data/spec/support/sample_app_rails_4/app/controllers/application_controller.rb +6 -0
- data/spec/support/sample_app_rails_4/app/controllers/concerns/.keep +0 -0
- data/spec/support/sample_app_rails_4/app/controllers/microposts_controller.rb +31 -0
- data/spec/support/sample_app_rails_4/app/controllers/relationships_controller.rb +21 -0
- data/spec/support/sample_app_rails_4/app/controllers/sessions_controller.rb +21 -0
- data/spec/support/sample_app_rails_4/app/controllers/static_pages_controller.rb +18 -0
- data/spec/support/sample_app_rails_4/app/controllers/users_controller.rb +80 -0
- data/spec/support/sample_app_rails_4/app/helpers/application_helper.rb +12 -0
- data/spec/support/sample_app_rails_4/app/helpers/sessions_helper.rb +49 -0
- data/spec/support/sample_app_rails_4/app/helpers/static_pages_helper.rb +2 -0
- data/spec/support/sample_app_rails_4/app/helpers/users_helper.rb +10 -0
- data/spec/support/sample_app_rails_4/app/mailers/.keep +0 -0
- data/spec/support/sample_app_rails_4/app/models/.keep +0 -0
- data/spec/support/sample_app_rails_4/app/models/comment.rb +5 -0
- data/spec/support/sample_app_rails_4/app/models/concerns/.keep +0 -0
- data/spec/support/sample_app_rails_4/app/models/micropost.rb +14 -0
- data/spec/support/sample_app_rails_4/app/models/organisation.rb +3 -0
- data/spec/support/sample_app_rails_4/app/models/relationship.rb +6 -0
- data/spec/support/sample_app_rails_4/app/models/user.rb +57 -0
- data/spec/support/sample_app_rails_4/app/models/user_comment.rb +5 -0
- data/spec/support/sample_app_rails_4/app/views/layouts/_footer.html.erb +13 -0
- data/spec/support/sample_app_rails_4/app/views/layouts/_header.html.erb +31 -0
- data/spec/support/sample_app_rails_4/app/views/layouts/_shim.html.erb +3 -0
- data/spec/support/sample_app_rails_4/app/views/layouts/application.html.erb +22 -0
- data/spec/support/sample_app_rails_4/app/views/microposts/_micropost.html.erb +11 -0
- data/spec/support/sample_app_rails_4/app/views/relationships/create.js.erb +2 -0
- data/spec/support/sample_app_rails_4/app/views/relationships/destroy.js.erb +2 -0
- data/spec/support/sample_app_rails_4/app/views/sessions/new.html.erb +19 -0
- data/spec/support/sample_app_rails_4/app/views/shared/_error_messages.html.erb +12 -0
- data/spec/support/sample_app_rails_4/app/views/shared/_feed.html.erb +6 -0
- data/spec/support/sample_app_rails_4/app/views/shared/_feed_item.html.erb +15 -0
- data/spec/support/sample_app_rails_4/app/views/shared/_micropost_form.html.erb +7 -0
- data/spec/support/sample_app_rails_4/app/views/shared/_stats.html.erb +15 -0
- data/spec/support/sample_app_rails_4/app/views/shared/_user_info.html.erb +12 -0
- data/spec/support/sample_app_rails_4/app/views/static_pages/about.html.erb +8 -0
- data/spec/support/sample_app_rails_4/app/views/static_pages/contact.html.erb +6 -0
- data/spec/support/sample_app_rails_4/app/views/static_pages/help.html.erb +8 -0
- data/spec/support/sample_app_rails_4/app/views/static_pages/home.html.erb +34 -0
- data/spec/support/sample_app_rails_4/app/views/static_pages/show.html.erb +0 -0
- data/spec/support/sample_app_rails_4/app/views/users/_follow.html.erb +5 -0
- data/spec/support/sample_app_rails_4/app/views/users/_follow_form.html.erb +9 -0
- data/spec/support/sample_app_rails_4/app/views/users/_unfollow.html.erb +5 -0
- data/spec/support/sample_app_rails_4/app/views/users/_user.html.erb +8 -0
- data/spec/support/sample_app_rails_4/app/views/users/edit.html.erb +27 -0
- data/spec/support/sample_app_rails_4/app/views/users/index.html.erb +10 -0
- data/spec/support/sample_app_rails_4/app/views/users/new.html.erb +24 -0
- data/spec/support/sample_app_rails_4/app/views/users/show.html.erb +24 -0
- data/spec/support/sample_app_rails_4/app/views/users/show_follow.html.erb +30 -0
- data/spec/support/sample_app_rails_4/bin/bundle +3 -0
- data/spec/support/sample_app_rails_4/bin/rails +4 -0
- data/spec/support/sample_app_rails_4/bin/rake +4 -0
- data/spec/support/sample_app_rails_4/config.ru +4 -0
- data/spec/support/sample_app_rails_4/config/application.rb +31 -0
- data/spec/support/sample_app_rails_4/config/boot.rb +4 -0
- data/spec/support/sample_app_rails_4/config/cucumber.yml +8 -0
- data/spec/support/sample_app_rails_4/config/database.yml +12 -0
- data/spec/support/sample_app_rails_4/config/environment.rb +7 -0
- data/spec/support/sample_app_rails_4/config/environments/development.rb +27 -0
- data/spec/support/sample_app_rails_4/config/environments/production.rb +79 -0
- data/spec/support/sample_app_rails_4/config/environments/test.rb +39 -0
- data/spec/support/sample_app_rails_4/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/support/sample_app_rails_4/config/initializers/filter_parameter_logging.rb +4 -0
- data/spec/support/sample_app_rails_4/config/initializers/inflections.rb +16 -0
- data/spec/support/sample_app_rails_4/config/initializers/mime_types.rb +5 -0
- data/spec/support/sample_app_rails_4/config/initializers/secret_token.rb +22 -0
- data/spec/support/sample_app_rails_4/config/initializers/session_store.rb +3 -0
- data/spec/support/sample_app_rails_4/config/initializers/wrap_parameters.rb +14 -0
- data/spec/support/sample_app_rails_4/config/locales/en.yml +23 -0
- data/spec/support/sample_app_rails_4/config/routes.rb +17 -0
- data/spec/support/sample_app_rails_4/db/development.sqlite3 +0 -0
- data/spec/support/sample_app_rails_4/db/migrate/20130311191400_create_users.rb +10 -0
- data/spec/support/sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb +5 -0
- data/spec/support/sample_app_rails_4/db/migrate/20130311201841_add_password_digest_to_users.rb +5 -0
- data/spec/support/sample_app_rails_4/db/migrate/20130314184954_add_remember_token_to_users.rb +6 -0
- data/spec/support/sample_app_rails_4/db/migrate/20130315015932_add_admin_to_users.rb +5 -0
- data/spec/support/sample_app_rails_4/db/migrate/20130315175534_create_microposts.rb +11 -0
- data/spec/support/sample_app_rails_4/db/migrate/20130315230445_create_relationships.rb +13 -0
- data/spec/support/sample_app_rails_4/db/migrate/20160424113439_create_comments.rb +8 -0
- data/spec/support/sample_app_rails_4/db/migrate/20160424113451_create_user_comments.rb +8 -0
- data/spec/support/sample_app_rails_4/db/migrate/20160424114701_create_organisations.rb +8 -0
- data/spec/support/sample_app_rails_4/db/migrate/20160424114727_add_organisation_id_to_users.rb +5 -0
- data/spec/support/sample_app_rails_4/db/schema.rb +67 -0
- data/spec/support/sample_app_rails_4/db/seeds.rb +7 -0
- data/spec/support/sample_app_rails_4/db/test.sqlite3 +0 -0
- data/spec/support/sample_app_rails_4/factory_girl.rb +7 -0
- data/spec/support/sample_app_rails_4/features/signing_in.feature +13 -0
- data/spec/support/sample_app_rails_4/features/step_definitions/authentication_steps.rb +30 -0
- data/spec/support/sample_app_rails_4/features/support/env.rb +59 -0
- data/spec/support/sample_app_rails_4/lib/assets/.keep +0 -0
- data/spec/support/sample_app_rails_4/lib/tasks/.keep +0 -0
- data/spec/support/sample_app_rails_4/lib/tasks/cucumber.rake +65 -0
- data/spec/support/sample_app_rails_4/lib/tasks/sample_data.rake +42 -0
- data/spec/support/sample_app_rails_4/log/.keep +0 -0
- data/spec/support/sample_app_rails_4/public/404.html +27 -0
- data/spec/support/sample_app_rails_4/public/422.html +26 -0
- data/spec/support/sample_app_rails_4/public/500.html +26 -0
- data/spec/support/sample_app_rails_4/public/assets/application-4962059d8f80f9bb096692bacc29c4e8.css +5091 -0
- data/spec/support/sample_app_rails_4/public/assets/application-4962059d8f80f9bb096692bacc29c4e8.css.gz +0 -0
- data/spec/support/sample_app_rails_4/public/assets/application-eeb856e3fe2c8f879c91d0e81d59cb40.js +12952 -0
- data/spec/support/sample_app_rails_4/public/assets/application-eeb856e3fe2c8f879c91d0e81d59cb40.js.gz +0 -0
- data/spec/support/sample_app_rails_4/public/assets/glyphicons-halflings-c806376f05e4ccabe2c5315a8e95667c.png +0 -0
- data/spec/support/sample_app_rails_4/public/assets/glyphicons-halflings-white-62b67d9edee3db90d18833087f848d6e.png +0 -0
- data/spec/support/sample_app_rails_4/public/assets/manifest-802de9eb1c853769101852422b620883.json +1 -0
- data/spec/support/sample_app_rails_4/public/assets/rails-231a680f23887d9dd70710ea5efd3c62.png +0 -0
- data/spec/support/sample_app_rails_4/public/favicon.ico +0 -0
- data/spec/support/sample_app_rails_4/public/robots.txt +5 -0
- data/spec/support/sample_app_rails_4/script/cucumber +10 -0
- data/spec/support/sample_app_rails_4/spec/controllers/relationships_controller_spec.rb +42 -0
- data/spec/support/sample_app_rails_4/spec/factories.rb +17 -0
- data/spec/support/sample_app_rails_4/spec/features/authentication_pages_spec.rb +155 -0
- data/spec/support/sample_app_rails_4/spec/features/micropost_pages_spec.rb +45 -0
- data/spec/support/sample_app_rails_4/spec/features/static_pages_spec.rb +64 -0
- data/spec/support/sample_app_rails_4/spec/features/user_pages_spec.rb +239 -0
- data/spec/support/sample_app_rails_4/spec/helpers/application_helper_spec.rb +18 -0
- data/spec/support/sample_app_rails_4/spec/models/comments_spec.rb +5 -0
- data/spec/support/sample_app_rails_4/spec/models/micropost_spec.rb +30 -0
- data/spec/support/sample_app_rails_4/spec/models/organisation_spec.rb +5 -0
- data/spec/support/sample_app_rails_4/spec/models/relationship_spec.rb +36 -0
- data/spec/support/sample_app_rails_4/spec/models/user_comments_spec.rb +5 -0
- data/spec/support/sample_app_rails_4/spec/models/user_spec.rb +108 -0
- data/spec/support/sample_app_rails_4/spec/spec_helper.rb +57 -0
- data/spec/support/sample_app_rails_4/spec/support/utilities.rb +21 -0
- data/spec/support/sample_app_rails_4/vendor/assets/javascripts/.keep +0 -0
- data/spec/support/sample_app_rails_4/vendor/assets/stylesheets/.keep +0 -0
- data/tasks/rspec.rake +4 -0
- metadata +534 -0
@@ -0,0 +1,35 @@
|
|
1
|
+
module RailsMagicRenamer
|
2
|
+
|
3
|
+
class RenamerError < StandardError;
|
4
|
+
end
|
5
|
+
|
6
|
+
class InvalidObjectError < RenamerError
|
7
|
+
def initialize(message = "The object you are trying to rename is invalid.")
|
8
|
+
super(message)
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
class RenameObjectUnderscoredError < RenamerError
|
13
|
+
def initialize(message = "The object you are trying to rename to or from contains underscores. Your models must be formatted in CamelCase (eg MyModel).")
|
14
|
+
super(message)
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
class RenameToObjectExistsError < RenamerError
|
19
|
+
def initialize(message = "The object you are trying to rename to already exists.")
|
20
|
+
super(message)
|
21
|
+
end
|
22
|
+
end
|
23
|
+
|
24
|
+
class RenameFromObjectDoesNotExistError < RenamerError
|
25
|
+
def initialize(message = "The object you are trying to rename from does not exist.")
|
26
|
+
super(message)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
class RootDirectoryError < RenamerError
|
31
|
+
def initialize(message = "RailsMagicRenamer must be run from your root directory.")
|
32
|
+
super(message)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
@@ -0,0 +1,36 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'rails_magic_renamer/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "rails_magic_renamer"
|
8
|
+
spec.version = RailsMagicRenamer::VERSION
|
9
|
+
spec.authors = ["Nick Dowse"]
|
10
|
+
spec.email = ["nm.dowse@gmail.com"]
|
11
|
+
spec.description = %q{Rename rails models, magically. Pre-release, not production ready}
|
12
|
+
spec.summary = %q{Rename rails models, magically}
|
13
|
+
spec.homepage = "https://github.com/nickdowse/RailsMagicRenamer"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
22
|
+
spec.add_development_dependency "guard"
|
23
|
+
spec.add_development_dependency "guard-rspec"
|
24
|
+
|
25
|
+
spec.add_development_dependency "rake"
|
26
|
+
spec.add_development_dependency "rspec"
|
27
|
+
spec.add_development_dependency "spork"
|
28
|
+
spec.add_development_dependency 'factory_girl'
|
29
|
+
spec.add_development_dependency 'factory_girl_rails'
|
30
|
+
spec.add_development_dependency 'rspec-rails'
|
31
|
+
spec.add_development_dependency 'capybara'
|
32
|
+
spec.add_development_dependency "codeclimate-test-reporter"
|
33
|
+
spec.add_development_dependency 'sqlite3'
|
34
|
+
spec.add_development_dependency 'rails', '4.0.13'
|
35
|
+
|
36
|
+
end
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'rails/all'
|
2
|
+
require 'factory_girl'
|
3
|
+
require 'factory_girl_rails'
|
4
|
+
require 'support/sample_app_rails_4/config/environment'
|
5
|
+
require 'rspec/rails'
|
6
|
+
require "codeclimate-test-reporter"
|
7
|
+
CodeClimate::TestReporter.start
|
8
|
+
|
9
|
+
# ActiveRecord::Migration.maintain_test_schema!
|
10
|
+
|
11
|
+
# set up db
|
12
|
+
# be sure to update the schema if required by doing
|
13
|
+
# - cd spec/support/sample_app_rails_4
|
14
|
+
# - rake db:migrate
|
15
|
+
ActiveRecord::Schema.verbose = false
|
16
|
+
load 'support/sample_app_rails_4/db/schema.rb' # use db agnostic schema by default
|
17
|
+
|
18
|
+
require 'support/sample_app_rails_4/factory_girl'
|
19
|
+
# require 'support/sample_app_rails_4/factories'
|
20
|
+
require 'spec_helper'
|
21
|
+
|
22
|
+
RSpec.configure do |config|
|
23
|
+
config.infer_spec_type_from_file_location!
|
24
|
+
config.expose_current_running_example_as :example
|
25
|
+
config.include Capybara::DSL
|
26
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
require 'rails_helper'
|
3
|
+
|
4
|
+
describe RailsMagicRenamer::Renamer do
|
5
|
+
|
6
|
+
it "creates a valid renamer object" do
|
7
|
+
renamer = RailsMagicRenamer::Renamer.new("Micropost", "Marcopost")
|
8
|
+
expect(renamer).to be_kind_of(RailsMagicRenamer::Renamer)
|
9
|
+
end
|
10
|
+
|
11
|
+
it "raises an error if the 'from' class doesn't exist" do
|
12
|
+
expect { RailsMagicRenamer::Renamer.new("DummyFromDoesntExist", "DummyToDoesntExist") }.to raise_error("The object you are trying to rename from does not exist.")
|
13
|
+
end
|
14
|
+
|
15
|
+
it "raises an error if a 'to' class already exists" do
|
16
|
+
expect { RailsMagicRenamer::Renamer.new("Micropost", "User") }.to raise_error("The object you are trying to rename to already exists.")
|
17
|
+
end
|
18
|
+
|
19
|
+
it "Should be able to access microposts!" do
|
20
|
+
expect(Micropost).to respond_to(:from_users_followed_by)
|
21
|
+
end
|
22
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
require 'rails_magic_renamer'
|
2
|
+
require 'rubygems'
|
3
|
+
require 'spork'
|
4
|
+
require 'active_support/all'
|
5
|
+
|
6
|
+
|
7
|
+
Spork.prefork do
|
8
|
+
|
9
|
+
# From rspec generator
|
10
|
+
ENV["RAILS_ENV"] ||= 'test'
|
11
|
+
require 'rspec/autorun'
|
12
|
+
|
13
|
+
RSpec.configure do |config|
|
14
|
+
config.order = "random"
|
15
|
+
end
|
16
|
+
|
17
|
+
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# Ignore bundler config.
|
2
|
+
/.bundle
|
3
|
+
|
4
|
+
# Ignore the default SQLite database.
|
5
|
+
|
6
|
+
# Ignore all logfiles and tempfiles.
|
7
|
+
/log/*.log
|
8
|
+
/tmp
|
9
|
+
|
10
|
+
# Ignore other unneeded files.
|
11
|
+
doc/
|
12
|
+
*.swp
|
13
|
+
*~
|
14
|
+
.project
|
15
|
+
.DS_Store
|
16
|
+
.idea
|
17
|
+
.rvmrc
|
18
|
+
.ruby-*
|
19
|
+
.secret
|
@@ -0,0 +1,58 @@
|
|
1
|
+
source 'https://rubygems.org'
|
2
|
+
ruby '2.0.0'
|
3
|
+
#ruby-gemset=railstutorial_rails_4_0
|
4
|
+
|
5
|
+
gem 'rails', '4.0.13'
|
6
|
+
gem 'bootstrap-sass', '2.3.2.0'
|
7
|
+
gem 'sprockets', '2.11.0'
|
8
|
+
gem 'bcrypt-ruby', '3.1.2'
|
9
|
+
gem 'faker', '1.1.2'
|
10
|
+
gem 'will_paginate', '3.0.4'
|
11
|
+
gem 'bootstrap-will_paginate', '0.0.9'
|
12
|
+
|
13
|
+
group :development, :test do
|
14
|
+
gem 'sqlite3', '1.3.8'
|
15
|
+
gem 'rspec-rails', '2.13.1'
|
16
|
+
# The following optional lines are part of the advanced setup.
|
17
|
+
gem 'guard-rspec', '2.5.0'
|
18
|
+
gem 'spork-rails', '4.0.0'
|
19
|
+
gem 'guard-spork', '1.5.0'
|
20
|
+
gem 'childprocess', '0.3.6'
|
21
|
+
gem 'rails_magic_renamer', path: '../../../'
|
22
|
+
end
|
23
|
+
|
24
|
+
group :test do
|
25
|
+
gem 'selenium-webdriver', '2.35.1'
|
26
|
+
gem 'capybara', '2.1.0'
|
27
|
+
gem 'factory_girl'
|
28
|
+
gem 'factory_girl_rails', '4.2.0'
|
29
|
+
gem 'cucumber-rails', '1.3.0', :require => false
|
30
|
+
gem 'database_cleaner', github: 'bmabey/database_cleaner'
|
31
|
+
|
32
|
+
# Uncomment this line on OS X.
|
33
|
+
gem 'growl', '1.0.3'
|
34
|
+
|
35
|
+
# Uncomment these lines on Linux.
|
36
|
+
# gem 'libnotify', '0.8.0'
|
37
|
+
|
38
|
+
# Uncomment these lines on Windows.
|
39
|
+
# gem 'rb-notifu', '0.0.4'
|
40
|
+
# gem 'win32console', '1.3.2'
|
41
|
+
# gem 'wdm', '0.1.0'
|
42
|
+
end
|
43
|
+
|
44
|
+
gem 'sass-rails', '4.0.1'
|
45
|
+
gem 'uglifier', '2.1.1'
|
46
|
+
gem 'coffee-rails', '4.0.1'
|
47
|
+
gem 'jquery-rails', '3.0.4'
|
48
|
+
gem 'turbolinks', '1.1.1'
|
49
|
+
gem 'jbuilder', '1.0.2'
|
50
|
+
|
51
|
+
group :doc do
|
52
|
+
gem 'sdoc', '0.3.20', require: false
|
53
|
+
end
|
54
|
+
|
55
|
+
group :production do
|
56
|
+
gem 'pg', '0.15.1'
|
57
|
+
gem 'rails_12factor', '0.0.2'
|
58
|
+
end
|
@@ -0,0 +1,249 @@
|
|
1
|
+
GIT
|
2
|
+
remote: git://github.com/bmabey/database_cleaner.git
|
3
|
+
revision: 8d7f72ffc99befd5ce67d333a99e0cf054c24f81
|
4
|
+
specs:
|
5
|
+
database_cleaner (1.3.0)
|
6
|
+
|
7
|
+
PATH
|
8
|
+
remote: ../../../
|
9
|
+
specs:
|
10
|
+
rails_magic_renamer (2.0)
|
11
|
+
|
12
|
+
GEM
|
13
|
+
remote: https://rubygems.org/
|
14
|
+
specs:
|
15
|
+
actionmailer (4.0.13)
|
16
|
+
actionpack (= 4.0.13)
|
17
|
+
mail (~> 2.5, >= 2.5.4)
|
18
|
+
actionpack (4.0.13)
|
19
|
+
activesupport (= 4.0.13)
|
20
|
+
builder (~> 3.1.0)
|
21
|
+
erubis (~> 2.7.0)
|
22
|
+
rack (~> 1.5.2)
|
23
|
+
rack-test (~> 0.6.2)
|
24
|
+
activemodel (4.0.13)
|
25
|
+
activesupport (= 4.0.13)
|
26
|
+
builder (~> 3.1.0)
|
27
|
+
activerecord (4.0.13)
|
28
|
+
activemodel (= 4.0.13)
|
29
|
+
activerecord-deprecated_finders (~> 1.0.2)
|
30
|
+
activesupport (= 4.0.13)
|
31
|
+
arel (~> 4.0.0)
|
32
|
+
activerecord-deprecated_finders (1.0.4)
|
33
|
+
activesupport (4.0.13)
|
34
|
+
i18n (~> 0.6, >= 0.6.9)
|
35
|
+
minitest (~> 4.2)
|
36
|
+
multi_json (~> 1.3)
|
37
|
+
thread_safe (~> 0.1)
|
38
|
+
tzinfo (~> 0.3.37)
|
39
|
+
arel (4.0.2)
|
40
|
+
bcrypt-ruby (3.1.2)
|
41
|
+
bootstrap-sass (2.3.2.0)
|
42
|
+
sass (~> 3.2)
|
43
|
+
bootstrap-will_paginate (0.0.9)
|
44
|
+
will_paginate
|
45
|
+
builder (3.1.4)
|
46
|
+
capybara (2.1.0)
|
47
|
+
mime-types (>= 1.16)
|
48
|
+
nokogiri (>= 1.3.3)
|
49
|
+
rack (>= 1.0.0)
|
50
|
+
rack-test (>= 0.5.4)
|
51
|
+
xpath (~> 2.0)
|
52
|
+
celluloid (0.15.2)
|
53
|
+
timers (~> 1.1.0)
|
54
|
+
childprocess (0.3.6)
|
55
|
+
ffi (~> 1.0, >= 1.0.6)
|
56
|
+
coderay (1.1.0)
|
57
|
+
coffee-rails (4.0.1)
|
58
|
+
coffee-script (>= 2.2.0)
|
59
|
+
railties (>= 4.0.0, < 5.0)
|
60
|
+
coffee-script (2.2.0)
|
61
|
+
coffee-script-source
|
62
|
+
execjs
|
63
|
+
coffee-script-source (1.7.0)
|
64
|
+
cucumber (1.3.15)
|
65
|
+
builder (>= 2.1.2)
|
66
|
+
diff-lcs (>= 1.1.3)
|
67
|
+
gherkin (~> 2.12)
|
68
|
+
multi_json (>= 1.7.5, < 2.0)
|
69
|
+
multi_test (>= 0.1.1)
|
70
|
+
cucumber-rails (1.3.0)
|
71
|
+
capybara (>= 1.1.2)
|
72
|
+
cucumber (>= 1.1.8)
|
73
|
+
nokogiri (>= 1.5.0)
|
74
|
+
diff-lcs (1.2.5)
|
75
|
+
erubis (2.7.0)
|
76
|
+
execjs (2.2.1)
|
77
|
+
factory_girl (4.2.0)
|
78
|
+
activesupport (>= 3.0.0)
|
79
|
+
factory_girl_rails (4.2.0)
|
80
|
+
factory_girl (~> 4.2.0)
|
81
|
+
railties (>= 3.0.0)
|
82
|
+
faker (1.1.2)
|
83
|
+
i18n (~> 0.5)
|
84
|
+
ffi (1.9.3)
|
85
|
+
formatador (0.2.5)
|
86
|
+
gherkin (2.12.2)
|
87
|
+
multi_json (~> 1.3)
|
88
|
+
growl (1.0.3)
|
89
|
+
guard (2.6.1)
|
90
|
+
formatador (>= 0.2.4)
|
91
|
+
listen (~> 2.7)
|
92
|
+
lumberjack (~> 1.0)
|
93
|
+
pry (>= 0.9.12)
|
94
|
+
thor (>= 0.18.1)
|
95
|
+
guard-rspec (2.5.0)
|
96
|
+
guard (>= 1.1)
|
97
|
+
rspec (~> 2.11)
|
98
|
+
guard-spork (1.5.0)
|
99
|
+
childprocess (>= 0.2.3)
|
100
|
+
guard (>= 1.1)
|
101
|
+
spork (>= 0.8.4)
|
102
|
+
hike (1.2.3)
|
103
|
+
i18n (0.7.0)
|
104
|
+
jbuilder (1.0.2)
|
105
|
+
activesupport (>= 3.0.0)
|
106
|
+
jquery-rails (3.0.4)
|
107
|
+
railties (>= 3.0, < 5.0)
|
108
|
+
thor (>= 0.14, < 2.0)
|
109
|
+
json (1.8.1)
|
110
|
+
listen (2.7.9)
|
111
|
+
celluloid (>= 0.15.2)
|
112
|
+
rb-fsevent (>= 0.9.3)
|
113
|
+
rb-inotify (>= 0.9)
|
114
|
+
lumberjack (1.0.9)
|
115
|
+
mail (2.6.3)
|
116
|
+
mime-types (>= 1.16, < 3)
|
117
|
+
method_source (0.8.2)
|
118
|
+
mime-types (2.99.1)
|
119
|
+
mini_portile (0.6.0)
|
120
|
+
minitest (4.7.5)
|
121
|
+
multi_json (1.11.2)
|
122
|
+
multi_test (0.1.1)
|
123
|
+
nokogiri (1.6.2.1)
|
124
|
+
mini_portile (= 0.6.0)
|
125
|
+
pg (0.15.1)
|
126
|
+
pry (0.10.0)
|
127
|
+
coderay (~> 1.1.0)
|
128
|
+
method_source (~> 0.8.1)
|
129
|
+
slop (~> 3.4)
|
130
|
+
rack (1.5.5)
|
131
|
+
rack-test (0.6.3)
|
132
|
+
rack (>= 1.0)
|
133
|
+
rails (4.0.13)
|
134
|
+
actionmailer (= 4.0.13)
|
135
|
+
actionpack (= 4.0.13)
|
136
|
+
activerecord (= 4.0.13)
|
137
|
+
activesupport (= 4.0.13)
|
138
|
+
bundler (>= 1.3.0, < 2.0)
|
139
|
+
railties (= 4.0.13)
|
140
|
+
sprockets-rails (~> 2.0)
|
141
|
+
rails_12factor (0.0.2)
|
142
|
+
rails_serve_static_assets
|
143
|
+
rails_stdout_logging
|
144
|
+
rails_serve_static_assets (0.0.2)
|
145
|
+
rails_stdout_logging (0.0.3)
|
146
|
+
railties (4.0.13)
|
147
|
+
actionpack (= 4.0.13)
|
148
|
+
activesupport (= 4.0.13)
|
149
|
+
rake (>= 0.8.7)
|
150
|
+
thor (>= 0.18.1, < 2.0)
|
151
|
+
rake (10.5.0)
|
152
|
+
rb-fsevent (0.9.4)
|
153
|
+
rb-inotify (0.9.5)
|
154
|
+
ffi (>= 0.5.0)
|
155
|
+
rdoc (3.12.2)
|
156
|
+
json (~> 1.4)
|
157
|
+
rspec (2.13.0)
|
158
|
+
rspec-core (~> 2.13.0)
|
159
|
+
rspec-expectations (~> 2.13.0)
|
160
|
+
rspec-mocks (~> 2.13.0)
|
161
|
+
rspec-core (2.13.1)
|
162
|
+
rspec-expectations (2.13.0)
|
163
|
+
diff-lcs (>= 1.1.3, < 2.0)
|
164
|
+
rspec-mocks (2.13.1)
|
165
|
+
rspec-rails (2.13.1)
|
166
|
+
actionpack (>= 3.0)
|
167
|
+
activesupport (>= 3.0)
|
168
|
+
railties (>= 3.0)
|
169
|
+
rspec-core (~> 2.13.0)
|
170
|
+
rspec-expectations (~> 2.13.0)
|
171
|
+
rspec-mocks (~> 2.13.0)
|
172
|
+
rubyzip (0.9.9)
|
173
|
+
sass (3.3.9)
|
174
|
+
sass-rails (4.0.1)
|
175
|
+
railties (>= 4.0.0, < 5.0)
|
176
|
+
sass (>= 3.1.10)
|
177
|
+
sprockets-rails (~> 2.0.0)
|
178
|
+
sdoc (0.3.20)
|
179
|
+
json (>= 1.1.3)
|
180
|
+
rdoc (~> 3.10)
|
181
|
+
selenium-webdriver (2.35.1)
|
182
|
+
childprocess (>= 0.2.5)
|
183
|
+
multi_json (~> 1.0)
|
184
|
+
rubyzip (< 1.0.0)
|
185
|
+
websocket (~> 1.0.4)
|
186
|
+
slop (3.5.0)
|
187
|
+
spork (1.0.0rc4)
|
188
|
+
spork-rails (4.0.0)
|
189
|
+
rails (>= 3.0.0, < 5)
|
190
|
+
spork (>= 1.0rc0)
|
191
|
+
sprockets (2.11.0)
|
192
|
+
hike (~> 1.2)
|
193
|
+
multi_json (~> 1.0)
|
194
|
+
rack (~> 1.0)
|
195
|
+
tilt (~> 1.1, != 1.3.0)
|
196
|
+
sprockets-rails (2.0.1)
|
197
|
+
actionpack (>= 3.0)
|
198
|
+
activesupport (>= 3.0)
|
199
|
+
sprockets (~> 2.8)
|
200
|
+
sqlite3 (1.3.8)
|
201
|
+
thor (0.19.1)
|
202
|
+
thread_safe (0.3.5)
|
203
|
+
tilt (1.4.1)
|
204
|
+
timers (1.1.0)
|
205
|
+
turbolinks (1.1.1)
|
206
|
+
coffee-rails
|
207
|
+
tzinfo (0.3.46)
|
208
|
+
uglifier (2.1.1)
|
209
|
+
execjs (>= 0.3.0)
|
210
|
+
multi_json (~> 1.0, >= 1.0.2)
|
211
|
+
websocket (1.0.7)
|
212
|
+
will_paginate (3.0.4)
|
213
|
+
xpath (2.0.0)
|
214
|
+
nokogiri (~> 1.3)
|
215
|
+
|
216
|
+
PLATFORMS
|
217
|
+
ruby
|
218
|
+
|
219
|
+
DEPENDENCIES
|
220
|
+
bcrypt-ruby (= 3.1.2)
|
221
|
+
bootstrap-sass (= 2.3.2.0)
|
222
|
+
bootstrap-will_paginate (= 0.0.9)
|
223
|
+
capybara (= 2.1.0)
|
224
|
+
childprocess (= 0.3.6)
|
225
|
+
coffee-rails (= 4.0.1)
|
226
|
+
cucumber-rails (= 1.3.0)
|
227
|
+
database_cleaner!
|
228
|
+
factory_girl
|
229
|
+
factory_girl_rails (= 4.2.0)
|
230
|
+
faker (= 1.1.2)
|
231
|
+
growl (= 1.0.3)
|
232
|
+
guard-rspec (= 2.5.0)
|
233
|
+
guard-spork (= 1.5.0)
|
234
|
+
jbuilder (= 1.0.2)
|
235
|
+
jquery-rails (= 3.0.4)
|
236
|
+
pg (= 0.15.1)
|
237
|
+
rails (= 4.0.13)
|
238
|
+
rails_12factor (= 0.0.2)
|
239
|
+
rails_magic_renamer!
|
240
|
+
rspec-rails (= 2.13.1)
|
241
|
+
sass-rails (= 4.0.1)
|
242
|
+
sdoc (= 0.3.20)
|
243
|
+
selenium-webdriver (= 2.35.1)
|
244
|
+
spork-rails (= 4.0.0)
|
245
|
+
sprockets (= 2.11.0)
|
246
|
+
sqlite3 (= 1.3.8)
|
247
|
+
turbolinks (= 1.1.1)
|
248
|
+
uglifier (= 2.1.1)
|
249
|
+
will_paginate (= 3.0.4)
|