table_renamable 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/README.rdoc +3 -1
- data/Rakefile +32 -0
- data/lib/table_renamable.rb +6 -15
- data/lib/table_renamable/connection_adapters.rb +8 -2
- data/lib/table_renamable/connection_adapters/mysql2_adapter.rb +21 -29
- data/lib/table_renamable/connection_adapters/sqlite3_adapter.rb +62 -0
- data/lib/table_renamable/engine.rb +22 -0
- data/lib/table_renamable/model.rb +5 -3
- data/lib/table_renamable/version.rb +1 -1
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +3 -6
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +1 -8
- data/spec/dummy/app/helpers/application_helper.rb +0 -1
- data/spec/dummy/app/models/post.rb +1 -3
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +65 -0
- data/spec/dummy/config/boot.rb +7 -111
- data/spec/dummy/config/database.yml +3 -3
- data/spec/dummy/config/environment.rb +4 -40
- data/spec/dummy/config/environments/development.rb +33 -13
- data/spec/dummy/config/environments/production.rb +59 -20
- data/spec/dummy/config/environments/test.rb +37 -28
- data/spec/dummy/config/initializers/backtrace_silencers.rb +2 -2
- data/spec/dummy/config/initializers/inflections.rb +6 -1
- data/spec/dummy/config/initializers/{cookie_verification_secret.rb → secret_token.rb} +2 -2
- data/spec/dummy/config/initializers/session_store.rb +3 -10
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +2 -2
- data/spec/dummy/config/routes.rb +2 -41
- data/spec/dummy/public/404.html +15 -19
- data/spec/dummy/public/422.html +15 -19
- data/spec/dummy/public/500.html +14 -19
- data/spec/dummy/script/rails +6 -0
- data/spec/spec_helper.rb +29 -3
- metadata +34 -76
- data/spec/dummy/README +0 -243
- data/spec/dummy/config/initializers/new_rails_defaults.rb +0 -21
- data/spec/dummy/db/seeds.rb +0 -7
- data/spec/dummy/doc/README_FOR_APP +0 -2
- data/spec/dummy/public/images/rails.png +0 -0
- data/spec/dummy/public/index.html +0 -275
- data/spec/dummy/public/javascripts/application.js +0 -2
- data/spec/dummy/public/javascripts/controls.js +0 -963
- data/spec/dummy/public/javascripts/dragdrop.js +0 -973
- data/spec/dummy/public/javascripts/effects.js +0 -1128
- data/spec/dummy/public/javascripts/prototype.js +0 -4320
- data/spec/dummy/public/robots.txt +0 -5
- data/spec/dummy/script/about +0 -4
- data/spec/dummy/script/console +0 -3
- data/spec/dummy/script/dbconsole +0 -3
- data/spec/dummy/script/destroy +0 -3
- data/spec/dummy/script/generate +0 -3
- data/spec/dummy/script/performance/benchmarker +0 -3
- data/spec/dummy/script/performance/profiler +0 -3
- data/spec/dummy/script/plugin +0 -3
- data/spec/dummy/script/runner +0 -3
- data/spec/dummy/script/server +0 -3
- data/spec/dummy/test/performance/browsing_test.rb +0 -9
- data/spec/dummy/test/test_helper.rb +0 -38
@@ -1,28 +1,37 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
# test
|
5
|
-
#
|
6
|
-
#
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
config.
|
16
|
-
|
17
|
-
#
|
18
|
-
config.
|
19
|
-
|
20
|
-
|
21
|
-
#
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
#
|
28
|
-
#
|
1
|
+
Dummy::Application.configure do
|
2
|
+
# Settings specified here will take precedence over those in config/application.rb
|
3
|
+
|
4
|
+
# The test environment is used exclusively to run your application's
|
5
|
+
# test suite. You never need to work with it otherwise. Remember that
|
6
|
+
# your test database is "scratch space" for the test suite and is wiped
|
7
|
+
# and recreated between test runs. Don't rely on the data there!
|
8
|
+
config.cache_classes = true
|
9
|
+
|
10
|
+
# Configure static asset server for tests with Cache-Control for performance
|
11
|
+
config.serve_static_assets = true
|
12
|
+
config.static_cache_control = "public, max-age=3600"
|
13
|
+
|
14
|
+
# Log error messages when you accidentally call methods on nil
|
15
|
+
config.whiny_nils = true
|
16
|
+
|
17
|
+
# Show full error reports and disable caching
|
18
|
+
config.consider_all_requests_local = true
|
19
|
+
config.action_controller.perform_caching = false
|
20
|
+
|
21
|
+
# Raise exceptions instead of rendering exception templates
|
22
|
+
config.action_dispatch.show_exceptions = false
|
23
|
+
|
24
|
+
# Disable request forgery protection in test environment
|
25
|
+
config.action_controller.allow_forgery_protection = false
|
26
|
+
|
27
|
+
# Tell Action Mailer not to deliver emails to the real world.
|
28
|
+
# The :test delivery method accumulates sent emails in the
|
29
|
+
# ActionMailer::Base.deliveries array.
|
30
|
+
config.action_mailer.delivery_method = :test
|
31
|
+
|
32
|
+
# Raise exception on mass assignment protection for Active Record models
|
33
|
+
config.active_record.mass_assignment_sanitizer = :strict
|
34
|
+
|
35
|
+
# Print deprecation notices to the stderr
|
36
|
+
config.active_support.deprecation = :stderr
|
37
|
+
end
|
@@ -3,5 +3,5 @@
|
|
3
3
|
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
4
4
|
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
5
5
|
|
6
|
-
# You can also remove all the silencers if you're trying
|
7
|
-
# Rails.backtrace_cleaner.remove_silencers!
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
# Add new inflection rules using the following format
|
3
|
+
# Add new inflection rules using the following format
|
4
4
|
# (all these examples are active by default):
|
5
5
|
# ActiveSupport::Inflector.inflections do |inflect|
|
6
6
|
# inflect.plural /^(ox)$/i, '\1en'
|
@@ -8,3 +8,8 @@
|
|
8
8
|
# inflect.irregular 'person', 'people'
|
9
9
|
# inflect.uncountable %w( fish sheep )
|
10
10
|
# end
|
11
|
+
#
|
12
|
+
# These inflection rules are supported but not enabled by default:
|
13
|
+
# ActiveSupport::Inflector.inflections do |inflect|
|
14
|
+
# inflect.acronym 'RESTful'
|
15
|
+
# end
|
@@ -2,6 +2,6 @@
|
|
2
2
|
|
3
3
|
# Your secret key for verifying the integrity of signed cookies.
|
4
4
|
# If you change this key, all old signed cookies will become invalid!
|
5
|
-
# Make sure the secret is at least 30 characters and all random,
|
5
|
+
# Make sure the secret is at least 30 characters and all random,
|
6
6
|
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
|
7
|
+
Dummy::Application.config.secret_token = '379c79fbed5cfdff4bdbe7b0ef552173f64e75d498efba43c61a31e69e551f9b167b141f5627825a8921be7cda634678bb2e89f712f0a8cc9bfaba0fe4bdac8e'
|
@@ -1,15 +1,8 @@
|
|
1
1
|
# Be sure to restart your server when you modify this file.
|
2
2
|
|
3
|
-
|
4
|
-
# If you change this key, all old sessions will become invalid!
|
5
|
-
# Make sure the secret is at least 30 characters and all random,
|
6
|
-
# no regular words or you'll be exposed to dictionary attacks.
|
7
|
-
ActionController::Base.session = {
|
8
|
-
:key => '_dummy_session',
|
9
|
-
:secret => '1081d6b765043bae662204dc1961c01fe6c150c901e69522d07527c05dc99bf2897a37850efed536530f5a60ef5718c536e21913665f5606e91ca1170fe406ce'
|
10
|
-
}
|
3
|
+
Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
|
11
4
|
|
12
5
|
# Use the database for sessions instead of the cookie-based default,
|
13
6
|
# which shouldn't be used to store highly confidential information
|
14
|
-
# (create the session table with "
|
15
|
-
#
|
7
|
+
# (create the session table with "rails generate session_migration")
|
8
|
+
# Dummy::Application.config.session_store :active_record_store
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
2
|
+
#
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
4
|
+
# is enabled by default.
|
5
|
+
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
8
|
+
wrap_parameters format: [:json]
|
9
|
+
end
|
10
|
+
|
11
|
+
# Disable root element in JSON by default.
|
12
|
+
ActiveSupport.on_load(:active_record) do
|
13
|
+
self.include_root_in_json = false
|
14
|
+
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# Sample localization file for English. Add more files in this directory for other locales.
|
2
|
-
# See
|
2
|
+
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
3
|
|
4
4
|
en:
|
5
|
-
hello: "Hello world"
|
5
|
+
hello: "Hello world"
|
data/spec/dummy/config/routes.rb
CHANGED
@@ -1,43 +1,4 @@
|
|
1
|
-
|
2
|
-
# The priority is based upon order of creation: first created -> highest priority.
|
1
|
+
Rails.application.routes.draw do
|
3
2
|
|
4
|
-
|
5
|
-
# map.connect 'products/:id', :controller => 'catalog', :action => 'view'
|
6
|
-
# Keep in mind you can assign values other than :controller and :action
|
7
|
-
|
8
|
-
# Sample of named route:
|
9
|
-
# map.purchase 'products/:id/purchase', :controller => 'catalog', :action => 'purchase'
|
10
|
-
# This route can be invoked with purchase_url(:id => product.id)
|
11
|
-
|
12
|
-
# Sample resource route (maps HTTP verbs to controller actions automatically):
|
13
|
-
# map.resources :products
|
14
|
-
|
15
|
-
# Sample resource route with options:
|
16
|
-
# map.resources :products, :member => { :short => :get, :toggle => :post }, :collection => { :sold => :get }
|
17
|
-
|
18
|
-
# Sample resource route with sub-resources:
|
19
|
-
# map.resources :products, :has_many => [ :comments, :sales ], :has_one => :seller
|
20
|
-
|
21
|
-
# Sample resource route with more complex sub-resources
|
22
|
-
# map.resources :products do |products|
|
23
|
-
# products.resources :comments
|
24
|
-
# products.resources :sales, :collection => { :recent => :get }
|
25
|
-
# end
|
26
|
-
|
27
|
-
# Sample resource route within a namespace:
|
28
|
-
# map.namespace :admin do |admin|
|
29
|
-
# # Directs /admin/products/* to Admin::ProductsController (app/controllers/admin/products_controller.rb)
|
30
|
-
# admin.resources :products
|
31
|
-
# end
|
32
|
-
|
33
|
-
# You can have the root of your site routed with map.root -- just remember to delete public/index.html.
|
34
|
-
# map.root :controller => "welcome"
|
35
|
-
|
36
|
-
# See how all your routes lay out with "rake routes"
|
37
|
-
|
38
|
-
# Install the default routes as the lowest priority.
|
39
|
-
# Note: These default routes make all actions in every controller accessible via GET requests. You should
|
40
|
-
# consider removing or commenting them out if you're using named routes and resources.
|
41
|
-
map.connect ':controller/:action/:id'
|
42
|
-
map.connect ':controller/:action/:id.:format'
|
3
|
+
mount TableRenamable::Engine => "/table_renamable"
|
43
4
|
end
|
data/spec/dummy/public/404.html
CHANGED
@@ -1,23 +1,19 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
6
3
|
<head>
|
7
|
-
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
4
|
<title>The page you were looking for doesn't exist (404)</title>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
21
17
|
</head>
|
22
18
|
|
23
19
|
<body>
|
@@ -27,4 +23,4 @@
|
|
27
23
|
<p>You may have mistyped the address or the page may have moved.</p>
|
28
24
|
</div>
|
29
25
|
</body>
|
30
|
-
</html>
|
26
|
+
</html>
|
data/spec/dummy/public/422.html
CHANGED
@@ -1,23 +1,19 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
6
3
|
<head>
|
7
|
-
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
4
|
<title>The change you wanted was rejected (422)</title>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
21
17
|
</head>
|
22
18
|
|
23
19
|
<body>
|
@@ -27,4 +23,4 @@
|
|
27
23
|
<p>Maybe you tried to change something you didn't have access to.</p>
|
28
24
|
</div>
|
29
25
|
</body>
|
30
|
-
</html>
|
26
|
+
</html>
|
data/spec/dummy/public/500.html
CHANGED
@@ -1,30 +1,25 @@
|
|
1
|
-
<!DOCTYPE html
|
2
|
-
|
3
|
-
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
6
3
|
<head>
|
7
|
-
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
|
8
4
|
<title>We're sorry, but something went wrong (500)</title>
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
21
17
|
</head>
|
22
18
|
|
23
19
|
<body>
|
24
20
|
<!-- This file lives in public/500.html -->
|
25
21
|
<div class="dialog">
|
26
22
|
<h1>We're sorry, but something went wrong.</h1>
|
27
|
-
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
28
23
|
</div>
|
29
24
|
</body>
|
30
25
|
</html>
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
data/spec/spec_helper.rb
CHANGED
@@ -1,14 +1,40 @@
|
|
1
1
|
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
2
2
|
ENV["RAILS_ENV"] ||= 'test'
|
3
|
-
|
4
3
|
require File.expand_path("../dummy/config/environment", __FILE__)
|
5
|
-
require '
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'rspec/autorun'
|
6
6
|
|
7
7
|
# Requires supporting ruby files with custom matchers and macros, etc,
|
8
8
|
# in spec/support/ and its subdirectories.
|
9
9
|
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
|
10
10
|
|
11
|
-
|
11
|
+
RSpec.configure do |config|
|
12
|
+
# ## Mock Framework
|
13
|
+
#
|
14
|
+
# If you prefer to use mocha, flexmock or RR, uncomment the appropriate line:
|
15
|
+
#
|
16
|
+
# config.mock_with :mocha
|
17
|
+
# config.mock_with :flexmock
|
18
|
+
# config.mock_with :rr
|
19
|
+
|
20
|
+
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
|
21
|
+
config.fixture_path = "#{::Rails.root}/spec/fixtures"
|
22
|
+
|
23
|
+
# If you're not using ActiveRecord, or you'd prefer not to run each of your
|
24
|
+
# examples within a transaction, remove the following line or assign false
|
25
|
+
# instead of true.
|
26
|
+
config.use_transactional_fixtures = true
|
27
|
+
|
28
|
+
# If true, the base class of anonymous controllers will be inferred
|
29
|
+
# automatically. This will be the default behavior in future versions of
|
30
|
+
# rspec-rails.
|
31
|
+
config.infer_base_class_for_anonymous_controllers = false
|
32
|
+
|
33
|
+
# Run specs in random order to surface order dependencies. If you find an
|
34
|
+
# order dependency and want to debug it, you can fix the order by providing
|
35
|
+
# the seed, which is printed after each run.
|
36
|
+
# --seed 1234
|
37
|
+
config.order = "random"
|
12
38
|
|
13
39
|
|
14
40
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: table_renamable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Dan Langevin
|
@@ -14,35 +13,31 @@ dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
21
|
-
version: 2.
|
19
|
+
version: 3.2.14
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
29
|
-
version: 2.
|
26
|
+
version: 3.2.14
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
|
-
name:
|
28
|
+
name: sqlite3
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
|
-
- -
|
31
|
+
- - '>='
|
36
32
|
- !ruby/object:Gem::Version
|
37
|
-
version: '0
|
38
|
-
type: :
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
|
-
- -
|
38
|
+
- - '>='
|
44
39
|
- !ruby/object:Gem::Version
|
45
|
-
version: '0
|
40
|
+
version: '0'
|
46
41
|
description: Gem to support live renaming of tables columns
|
47
42
|
email:
|
48
43
|
- dan.langevin@lifebooker.com
|
@@ -57,8 +52,10 @@ files:
|
|
57
52
|
- app/views/layouts/table_renamable/application.html.erb
|
58
53
|
- config/routes.rb
|
59
54
|
- lib/table_renamable/connection_adapters/mysql2_adapter.rb
|
55
|
+
- lib/table_renamable/connection_adapters/sqlite3_adapter.rb
|
60
56
|
- lib/table_renamable/connection_adapters.rb
|
61
57
|
- lib/table_renamable/deprecated_table.rb
|
58
|
+
- lib/table_renamable/engine.rb
|
62
59
|
- lib/table_renamable/model.rb
|
63
60
|
- lib/table_renamable/version.rb
|
64
61
|
- lib/table_renamable.rb
|
@@ -66,10 +63,14 @@ files:
|
|
66
63
|
- MIT-LICENSE
|
67
64
|
- Rakefile
|
68
65
|
- README.rdoc
|
66
|
+
- spec/dummy/app/assets/javascripts/application.js
|
67
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
69
68
|
- spec/dummy/app/controllers/application_controller.rb
|
70
69
|
- spec/dummy/app/helpers/application_helper.rb
|
71
70
|
- spec/dummy/app/models/post.rb
|
72
71
|
- spec/dummy/app/models/user.rb
|
72
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
73
|
+
- spec/dummy/config/application.rb
|
73
74
|
- spec/dummy/config/boot.rb
|
74
75
|
- spec/dummy/config/database.yml
|
75
76
|
- spec/dummy/config/environment.rb
|
@@ -77,15 +78,14 @@ files:
|
|
77
78
|
- spec/dummy/config/environments/production.rb
|
78
79
|
- spec/dummy/config/environments/test.rb
|
79
80
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
80
|
-
- spec/dummy/config/initializers/cookie_verification_secret.rb
|
81
81
|
- spec/dummy/config/initializers/inflections.rb
|
82
82
|
- spec/dummy/config/initializers/mime_types.rb
|
83
|
-
- spec/dummy/config/initializers/
|
83
|
+
- spec/dummy/config/initializers/secret_token.rb
|
84
84
|
- spec/dummy/config/initializers/session_store.rb
|
85
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
85
86
|
- spec/dummy/config/locales/en.yml
|
86
87
|
- spec/dummy/config/routes.rb
|
87
|
-
- spec/dummy/
|
88
|
-
- spec/dummy/doc/README_FOR_APP
|
88
|
+
- spec/dummy/config.ru
|
89
89
|
- spec/dummy/log/development.log
|
90
90
|
- spec/dummy/log/production.log
|
91
91
|
- spec/dummy/log/server.log
|
@@ -94,65 +94,43 @@ files:
|
|
94
94
|
- spec/dummy/public/422.html
|
95
95
|
- spec/dummy/public/500.html
|
96
96
|
- spec/dummy/public/favicon.ico
|
97
|
-
- spec/dummy/public/images/rails.png
|
98
|
-
- spec/dummy/public/index.html
|
99
|
-
- spec/dummy/public/javascripts/application.js
|
100
|
-
- spec/dummy/public/javascripts/controls.js
|
101
|
-
- spec/dummy/public/javascripts/dragdrop.js
|
102
|
-
- spec/dummy/public/javascripts/effects.js
|
103
|
-
- spec/dummy/public/javascripts/prototype.js
|
104
|
-
- spec/dummy/public/robots.txt
|
105
97
|
- spec/dummy/Rakefile
|
106
|
-
- spec/dummy/README
|
107
|
-
- spec/dummy/script/
|
108
|
-
- spec/dummy/script/console
|
109
|
-
- spec/dummy/script/dbconsole
|
110
|
-
- spec/dummy/script/destroy
|
111
|
-
- spec/dummy/script/generate
|
112
|
-
- spec/dummy/script/performance/benchmarker
|
113
|
-
- spec/dummy/script/performance/profiler
|
114
|
-
- spec/dummy/script/plugin
|
115
|
-
- spec/dummy/script/runner
|
116
|
-
- spec/dummy/script/server
|
117
|
-
- spec/dummy/test/performance/browsing_test.rb
|
118
|
-
- spec/dummy/test/test_helper.rb
|
98
|
+
- spec/dummy/README.rdoc
|
99
|
+
- spec/dummy/script/rails
|
119
100
|
- spec/lib/table_renamable/model_spec.rb
|
120
101
|
- spec/spec_helper.rb
|
121
102
|
homepage: http://github.com/LifebookerInc/table_renamable
|
122
103
|
licenses: []
|
104
|
+
metadata: {}
|
123
105
|
post_install_message:
|
124
106
|
rdoc_options: []
|
125
107
|
require_paths:
|
126
108
|
- lib
|
127
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
128
|
-
none: false
|
129
110
|
requirements:
|
130
|
-
- -
|
111
|
+
- - '>='
|
131
112
|
- !ruby/object:Gem::Version
|
132
113
|
version: '0'
|
133
|
-
segments:
|
134
|
-
- 0
|
135
|
-
hash: -2936871622749901878
|
136
114
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
115
|
requirements:
|
139
|
-
- -
|
116
|
+
- - '>='
|
140
117
|
- !ruby/object:Gem::Version
|
141
118
|
version: '0'
|
142
|
-
segments:
|
143
|
-
- 0
|
144
|
-
hash: -2936871622749901878
|
145
119
|
requirements: []
|
146
120
|
rubyforge_project:
|
147
|
-
rubygems_version:
|
121
|
+
rubygems_version: 2.0.3
|
148
122
|
signing_key:
|
149
|
-
specification_version:
|
123
|
+
specification_version: 4
|
150
124
|
summary: Renaming tables and columns
|
151
125
|
test_files:
|
126
|
+
- spec/dummy/app/assets/javascripts/application.js
|
127
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
152
128
|
- spec/dummy/app/controllers/application_controller.rb
|
153
129
|
- spec/dummy/app/helpers/application_helper.rb
|
154
130
|
- spec/dummy/app/models/post.rb
|
155
131
|
- spec/dummy/app/models/user.rb
|
132
|
+
- spec/dummy/app/views/layouts/application.html.erb
|
133
|
+
- spec/dummy/config/application.rb
|
156
134
|
- spec/dummy/config/boot.rb
|
157
135
|
- spec/dummy/config/database.yml
|
158
136
|
- spec/dummy/config/environment.rb
|
@@ -160,15 +138,14 @@ test_files:
|
|
160
138
|
- spec/dummy/config/environments/production.rb
|
161
139
|
- spec/dummy/config/environments/test.rb
|
162
140
|
- spec/dummy/config/initializers/backtrace_silencers.rb
|
163
|
-
- spec/dummy/config/initializers/cookie_verification_secret.rb
|
164
141
|
- spec/dummy/config/initializers/inflections.rb
|
165
142
|
- spec/dummy/config/initializers/mime_types.rb
|
166
|
-
- spec/dummy/config/initializers/
|
143
|
+
- spec/dummy/config/initializers/secret_token.rb
|
167
144
|
- spec/dummy/config/initializers/session_store.rb
|
145
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
168
146
|
- spec/dummy/config/locales/en.yml
|
169
147
|
- spec/dummy/config/routes.rb
|
170
|
-
- spec/dummy/
|
171
|
-
- spec/dummy/doc/README_FOR_APP
|
148
|
+
- spec/dummy/config.ru
|
172
149
|
- spec/dummy/log/development.log
|
173
150
|
- spec/dummy/log/production.log
|
174
151
|
- spec/dummy/log/server.log
|
@@ -177,27 +154,8 @@ test_files:
|
|
177
154
|
- spec/dummy/public/422.html
|
178
155
|
- spec/dummy/public/500.html
|
179
156
|
- spec/dummy/public/favicon.ico
|
180
|
-
- spec/dummy/public/images/rails.png
|
181
|
-
- spec/dummy/public/index.html
|
182
|
-
- spec/dummy/public/javascripts/application.js
|
183
|
-
- spec/dummy/public/javascripts/controls.js
|
184
|
-
- spec/dummy/public/javascripts/dragdrop.js
|
185
|
-
- spec/dummy/public/javascripts/effects.js
|
186
|
-
- spec/dummy/public/javascripts/prototype.js
|
187
|
-
- spec/dummy/public/robots.txt
|
188
157
|
- spec/dummy/Rakefile
|
189
|
-
- spec/dummy/README
|
190
|
-
- spec/dummy/script/
|
191
|
-
- spec/dummy/script/console
|
192
|
-
- spec/dummy/script/dbconsole
|
193
|
-
- spec/dummy/script/destroy
|
194
|
-
- spec/dummy/script/generate
|
195
|
-
- spec/dummy/script/performance/benchmarker
|
196
|
-
- spec/dummy/script/performance/profiler
|
197
|
-
- spec/dummy/script/plugin
|
198
|
-
- spec/dummy/script/runner
|
199
|
-
- spec/dummy/script/server
|
200
|
-
- spec/dummy/test/performance/browsing_test.rb
|
201
|
-
- spec/dummy/test/test_helper.rb
|
158
|
+
- spec/dummy/README.rdoc
|
159
|
+
- spec/dummy/script/rails
|
202
160
|
- spec/lib/table_renamable/model_spec.rb
|
203
161
|
- spec/spec_helper.rb
|