rails_db 0.6 → 0.7
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 +4 -4
- data/Gemfile +24 -0
- data/Gemfile.lock +159 -0
- data/app/assets/images/rails_db/railsdb.png +0 -0
- data/app/assets/images/rails_db/runsql.png +0 -0
- data/app/assets/javascripts/rails_db/application.js +2 -1
- data/app/assets/javascripts/rails_db/foundation.min.js +20 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.abide.js +426 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.accordion.js +125 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.alert.js +43 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.clearing.js +586 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.dropdown.js +468 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.equalizer.js +104 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.interchange.js +360 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.joyride.js +935 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.js +732 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.magellan.js +214 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.offcanvas.js +225 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.orbit.js +476 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.reveal.js +522 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.slider.js +296 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.tab.js +247 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.tooltip.js +348 -0
- data/app/assets/javascripts/rails_db/foundation/foundation.topbar.js +458 -0
- data/app/assets/javascripts/rails_db/sticky.js +4 -16
- data/app/assets/javascripts/rails_db/vendor/fastclick.js +8 -0
- data/app/assets/javascripts/rails_db/vendor/jquery.cookie.js +8 -0
- data/app/assets/javascripts/rails_db/vendor/jquery.js +26 -0
- data/app/assets/javascripts/rails_db/vendor/modernizr.js +8 -0
- data/app/assets/javascripts/rails_db/vendor/placeholder.js +2 -0
- data/app/assets/stylesheets/rails_db/application.css +1 -0
- data/app/assets/stylesheets/rails_db/foundation.css +6579 -0
- data/app/assets/stylesheets/rails_db/foundation.min.css +1 -0
- data/app/assets/stylesheets/rails_db/foundation_and_overrides.css.scss +7 -4
- data/app/assets/stylesheets/rails_db/normalize.css +424 -0
- data/app/views/layouts/rails_db/application.html.erb +0 -1
- data/app/views/rails_db/dashboard/index.html.erb +1 -0
- data/app/views/rails_db/dashboard/standalone.html.erb +19 -0
- data/app/views/rails_db/shared/_footer.html.erb +36 -35
- data/app/views/rails_db/shared/_header.html.erb +7 -0
- data/app/views/rails_db/tables/data.js.erb +3 -1
- data/app/views/rails_db/tables/show.js.erb +3 -1
- data/bin/rails_db +3 -0
- data/bin/railsdb +3 -0
- data/bin/runsql +50 -0
- data/config/routes.rb +1 -1
- data/lib/ext/string_ext.rb +10 -0
- data/lib/libs.rb +24 -0
- data/lib/rails_db.rb +16 -8
- data/lib/rails_db/adapters/base_adapter.rb +21 -2
- data/lib/rails_db/adapters/mysql.rb +8 -0
- data/lib/rails_db/blank_results.rb +8 -0
- data/lib/rails_db/database.rb +12 -0
- data/lib/rails_db/mysql_result.rb +18 -0
- data/lib/rails_db/table.rb +10 -10
- data/lib/rails_db/table_data.rb +4 -4
- data/lib/rails_db/table_pagination.rb +1 -1
- data/lib/rails_db/version.rb +1 -1
- data/lib/standalone.rb +49 -0
- data/rails_db.gemspec +32 -0
- data/test/dashboard_controller_test.rb +3 -0
- data/test/dummy/db/rails_db.sqlite3 +0 -0
- data/test/dummy/db/rails_db_dev.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +40 -40
- data/test/sql_query_test.rb +13 -0
- data/test/standalone/Gemfile +17 -0
- data/test/standalone/Gemfile.lock +138 -0
- data/test/standalone/README.rdoc +28 -0
- data/test/standalone/Rakefile +6 -0
- data/test/standalone/app/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/test/standalone/app/assets/fonts/glyphicons-halflings-regular.svg +288 -0
- data/test/standalone/app/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/test/standalone/app/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/test/standalone/app/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/test/standalone/app/assets/javascripts/application.js +13 -0
- data/test/standalone/app/assets/stylesheets/application.css +15 -0
- data/test/standalone/app/assets/stylesheets/bootstrap-theme.min.css +5 -0
- data/test/standalone/app/assets/stylesheets/bootstrap.min.css +5 -0
- data/test/standalone/app/controllers/application_controller.rb +5 -0
- data/test/standalone/app/controllers/home_controller.rb +7 -0
- data/test/standalone/app/helpers/application_helper.rb +2 -0
- data/test/standalone/app/views/home/index.html.erb +3 -0
- data/test/standalone/app/views/layouts/application.html.erb +16 -0
- data/test/standalone/bin/bundle +3 -0
- data/test/standalone/bin/rails +4 -0
- data/test/standalone/bin/rake +4 -0
- data/test/standalone/bin/setup +29 -0
- data/test/standalone/config.ru +4 -0
- data/test/standalone/config/application.rb +40 -0
- data/test/standalone/config/boot.rb +7 -0
- data/test/standalone/config/database.yml +0 -0
- data/test/standalone/config/environment.rb +5 -0
- data/test/standalone/config/environments/development.rb +43 -0
- data/test/standalone/config/environments/production.rb +82 -0
- data/test/standalone/config/environments/test.rb +46 -0
- data/test/standalone/config/initializers/assets.rb +11 -0
- data/test/standalone/config/initializers/backtrace_silencers.rb +7 -0
- data/test/standalone/config/initializers/cookies_serializer.rb +3 -0
- data/test/standalone/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/standalone/config/initializers/inflections.rb +16 -0
- data/test/standalone/config/initializers/mime_types.rb +4 -0
- data/test/standalone/config/initializers/quite_assets.rb +11 -0
- data/test/standalone/config/initializers/rails_db.rb +23 -0
- data/test/standalone/config/initializers/session_store.rb +3 -0
- data/test/standalone/config/initializers/wrap_parameters.rb +14 -0
- data/test/standalone/config/locales/en.yml +23 -0
- data/test/standalone/config/routes.rb +5 -0
- data/test/standalone/config/secrets.yml +22 -0
- data/test/standalone/public/404.html +67 -0
- data/test/standalone/public/422.html +67 -0
- data/test/standalone/public/500.html +66 -0
- data/test/standalone/public/favicon.ico +0 -0
- metadata +160 -37
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
RailsDb.setup do |config|
|
|
2
|
+
# # enabled or not
|
|
3
|
+
# config.enabled = true
|
|
4
|
+
|
|
5
|
+
# automatic engine routes mouting
|
|
6
|
+
config.automatic_routes_mount = false
|
|
7
|
+
|
|
8
|
+
# set tables which you want to hide ONLY
|
|
9
|
+
# config.black_list_tables = ['users']
|
|
10
|
+
|
|
11
|
+
# set tables which you want to show ONLY
|
|
12
|
+
# config.white_list_tables = ['comments']
|
|
13
|
+
|
|
14
|
+
# # Enable http basic authentication
|
|
15
|
+
# config.http_basic_authentication_enabled = true
|
|
16
|
+
|
|
17
|
+
# # Enable http basic authentication
|
|
18
|
+
# config.http_basic_authentication_user_name = 'rails_db'
|
|
19
|
+
|
|
20
|
+
# # Enable http basic authentication
|
|
21
|
+
# config.http_basic_authentication_password = 'password'
|
|
22
|
+
config.verify_access_proc = proc { |e| true }
|
|
23
|
+
end
|
|
@@ -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] if respond_to?(:wrap_parameters)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
|
13
|
+
# self.include_root_in_json = true
|
|
14
|
+
# end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
|
3
|
+
# than English, add the necessary files in this directory.
|
|
4
|
+
#
|
|
5
|
+
# To use the locales, use `I18n.t`:
|
|
6
|
+
#
|
|
7
|
+
# I18n.t 'hello'
|
|
8
|
+
#
|
|
9
|
+
# In views, this is aliased to just `t`:
|
|
10
|
+
#
|
|
11
|
+
# <%= t('hello') %>
|
|
12
|
+
#
|
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
|
14
|
+
#
|
|
15
|
+
# I18n.locale = :es
|
|
16
|
+
#
|
|
17
|
+
# This would use the information in config/locales/es.yml.
|
|
18
|
+
#
|
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
|
21
|
+
|
|
22
|
+
en:
|
|
23
|
+
hello: "Hello world"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
|
5
|
+
|
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
|
9
|
+
|
|
10
|
+
# Make sure the secrets in this file are kept private
|
|
11
|
+
# if you're sharing your code publicly.
|
|
12
|
+
|
|
13
|
+
development:
|
|
14
|
+
secret_key_base: 10b4b579b688e22e8bbe1d6f98720f2022a058ba9181ab292c106585ce75e865b160bcce0278bdb41a0c0205487840aa499e2df06dee34f6f257337958b9c554
|
|
15
|
+
|
|
16
|
+
test:
|
|
17
|
+
secret_key_base: db7b557a05116db9a314905850cc7fc2d894274e80d25bb2cb2e482ebce27282fe25ae0ad0b7709581c97603b3986f344c76c774d868f614860687a4b67be493
|
|
18
|
+
|
|
19
|
+
# Do not keep production secrets in the repository,
|
|
20
|
+
# instead read values from the environment.
|
|
21
|
+
production:
|
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
background-color: #EFEFEF;
|
|
9
|
+
color: #2E2F30;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: arial, sans-serif;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
div.dialog {
|
|
16
|
+
width: 95%;
|
|
17
|
+
max-width: 33em;
|
|
18
|
+
margin: 4em auto 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
div.dialog > div {
|
|
22
|
+
border: 1px solid #CCC;
|
|
23
|
+
border-right-color: #999;
|
|
24
|
+
border-left-color: #999;
|
|
25
|
+
border-bottom-color: #BBB;
|
|
26
|
+
border-top: #B00100 solid 4px;
|
|
27
|
+
border-top-left-radius: 9px;
|
|
28
|
+
border-top-right-radius: 9px;
|
|
29
|
+
background-color: white;
|
|
30
|
+
padding: 7px 12% 0;
|
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
color: #730E15;
|
|
37
|
+
line-height: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
div.dialog > p {
|
|
41
|
+
margin: 0 0 1em;
|
|
42
|
+
padding: 1em;
|
|
43
|
+
background-color: #F7F7F7;
|
|
44
|
+
border: 1px solid #CCC;
|
|
45
|
+
border-right-color: #999;
|
|
46
|
+
border-left-color: #999;
|
|
47
|
+
border-bottom-color: #999;
|
|
48
|
+
border-bottom-left-radius: 4px;
|
|
49
|
+
border-bottom-right-radius: 4px;
|
|
50
|
+
border-top-color: #DADADA;
|
|
51
|
+
color: #666;
|
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body>
|
|
58
|
+
<!-- This file lives in public/404.html -->
|
|
59
|
+
<div class="dialog">
|
|
60
|
+
<div>
|
|
61
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
|
62
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
|
63
|
+
</div>
|
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
65
|
+
</div>
|
|
66
|
+
</body>
|
|
67
|
+
</html>
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
background-color: #EFEFEF;
|
|
9
|
+
color: #2E2F30;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: arial, sans-serif;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
div.dialog {
|
|
16
|
+
width: 95%;
|
|
17
|
+
max-width: 33em;
|
|
18
|
+
margin: 4em auto 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
div.dialog > div {
|
|
22
|
+
border: 1px solid #CCC;
|
|
23
|
+
border-right-color: #999;
|
|
24
|
+
border-left-color: #999;
|
|
25
|
+
border-bottom-color: #BBB;
|
|
26
|
+
border-top: #B00100 solid 4px;
|
|
27
|
+
border-top-left-radius: 9px;
|
|
28
|
+
border-top-right-radius: 9px;
|
|
29
|
+
background-color: white;
|
|
30
|
+
padding: 7px 12% 0;
|
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
color: #730E15;
|
|
37
|
+
line-height: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
div.dialog > p {
|
|
41
|
+
margin: 0 0 1em;
|
|
42
|
+
padding: 1em;
|
|
43
|
+
background-color: #F7F7F7;
|
|
44
|
+
border: 1px solid #CCC;
|
|
45
|
+
border-right-color: #999;
|
|
46
|
+
border-left-color: #999;
|
|
47
|
+
border-bottom-color: #999;
|
|
48
|
+
border-bottom-left-radius: 4px;
|
|
49
|
+
border-bottom-right-radius: 4px;
|
|
50
|
+
border-top-color: #DADADA;
|
|
51
|
+
color: #666;
|
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body>
|
|
58
|
+
<!-- This file lives in public/422.html -->
|
|
59
|
+
<div class="dialog">
|
|
60
|
+
<div>
|
|
61
|
+
<h1>The change you wanted was rejected.</h1>
|
|
62
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
63
|
+
</div>
|
|
64
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
65
|
+
</div>
|
|
66
|
+
</body>
|
|
67
|
+
</html>
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
+
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
background-color: #EFEFEF;
|
|
9
|
+
color: #2E2F30;
|
|
10
|
+
text-align: center;
|
|
11
|
+
font-family: arial, sans-serif;
|
|
12
|
+
margin: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
div.dialog {
|
|
16
|
+
width: 95%;
|
|
17
|
+
max-width: 33em;
|
|
18
|
+
margin: 4em auto 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
div.dialog > div {
|
|
22
|
+
border: 1px solid #CCC;
|
|
23
|
+
border-right-color: #999;
|
|
24
|
+
border-left-color: #999;
|
|
25
|
+
border-bottom-color: #BBB;
|
|
26
|
+
border-top: #B00100 solid 4px;
|
|
27
|
+
border-top-left-radius: 9px;
|
|
28
|
+
border-top-right-radius: 9px;
|
|
29
|
+
background-color: white;
|
|
30
|
+
padding: 7px 12% 0;
|
|
31
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
h1 {
|
|
35
|
+
font-size: 100%;
|
|
36
|
+
color: #730E15;
|
|
37
|
+
line-height: 1.5em;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
div.dialog > p {
|
|
41
|
+
margin: 0 0 1em;
|
|
42
|
+
padding: 1em;
|
|
43
|
+
background-color: #F7F7F7;
|
|
44
|
+
border: 1px solid #CCC;
|
|
45
|
+
border-right-color: #999;
|
|
46
|
+
border-left-color: #999;
|
|
47
|
+
border-bottom-color: #999;
|
|
48
|
+
border-bottom-left-radius: 4px;
|
|
49
|
+
border-bottom-right-radius: 4px;
|
|
50
|
+
border-top-color: #DADADA;
|
|
51
|
+
color: #666;
|
|
52
|
+
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
|
53
|
+
}
|
|
54
|
+
</style>
|
|
55
|
+
</head>
|
|
56
|
+
|
|
57
|
+
<body>
|
|
58
|
+
<!-- This file lives in public/500.html -->
|
|
59
|
+
<div class="dialog">
|
|
60
|
+
<div>
|
|
61
|
+
<h1>We're sorry, but something went wrong.</h1>
|
|
62
|
+
</div>
|
|
63
|
+
<p>If you are the application owner check the logs for more information.</p>
|
|
64
|
+
</div>
|
|
65
|
+
</body>
|
|
66
|
+
</html>
|
|
File without changes
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails_db
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: '0.
|
|
4
|
+
version: '0.7'
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Igor Kasyanchuk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-11-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -39,7 +39,7 @@ dependencies:
|
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: '0'
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
|
-
name:
|
|
42
|
+
name: sass
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - ">="
|
|
@@ -53,7 +53,7 @@ dependencies:
|
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: '0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: sass
|
|
56
|
+
name: sass-rails
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - ">="
|
|
@@ -67,7 +67,7 @@ dependencies:
|
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: '0'
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
70
|
+
name: jquery-rails
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
73
|
- - ">="
|
|
@@ -81,7 +81,7 @@ dependencies:
|
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '0'
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name:
|
|
84
|
+
name: codemirror-rails
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
87
|
- - ">="
|
|
@@ -95,7 +95,7 @@ dependencies:
|
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: '0'
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
|
-
name:
|
|
98
|
+
name: launchy
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
101
|
- - ">="
|
|
@@ -109,13 +109,13 @@ dependencies:
|
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: '0'
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
|
-
name:
|
|
112
|
+
name: sqlite3
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
|
115
115
|
- - ">="
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
117
|
version: '0'
|
|
118
|
-
type: :
|
|
118
|
+
type: :runtime
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
@@ -123,27 +123,27 @@ dependencies:
|
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '0'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
|
-
name:
|
|
126
|
+
name: mysql2
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
|
-
- - "
|
|
129
|
+
- - "<="
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
|
-
version:
|
|
132
|
-
type: :
|
|
131
|
+
version: 0.3.20
|
|
132
|
+
type: :runtime
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
|
-
- - "
|
|
136
|
+
- - "<="
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
|
-
version:
|
|
138
|
+
version: 0.3.20
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
|
-
name:
|
|
140
|
+
name: pg
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
|
142
142
|
requirements:
|
|
143
143
|
- - ">="
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
145
|
version: '0'
|
|
146
|
-
type: :
|
|
146
|
+
type: :runtime
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
@@ -151,27 +151,13 @@ dependencies:
|
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
152
|
version: '0'
|
|
153
153
|
- !ruby/object:Gem::Dependency
|
|
154
|
-
name:
|
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
|
156
|
-
requirements:
|
|
157
|
-
- - "<="
|
|
158
|
-
- !ruby/object:Gem::Version
|
|
159
|
-
version: 0.3.20
|
|
160
|
-
type: :development
|
|
161
|
-
prerelease: false
|
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
163
|
-
requirements:
|
|
164
|
-
- - "<="
|
|
165
|
-
- !ruby/object:Gem::Version
|
|
166
|
-
version: 0.3.20
|
|
167
|
-
- !ruby/object:Gem::Dependency
|
|
168
|
-
name: pg
|
|
154
|
+
name: terminal-table
|
|
169
155
|
requirement: !ruby/object:Gem::Requirement
|
|
170
156
|
requirements:
|
|
171
157
|
- - ">="
|
|
172
158
|
- !ruby/object:Gem::Version
|
|
173
159
|
version: '0'
|
|
174
|
-
type: :
|
|
160
|
+
type: :runtime
|
|
175
161
|
prerelease: false
|
|
176
162
|
version_requirements: !ruby/object:Gem::Requirement
|
|
177
163
|
requirements:
|
|
@@ -179,13 +165,13 @@ dependencies:
|
|
|
179
165
|
- !ruby/object:Gem::Version
|
|
180
166
|
version: '0'
|
|
181
167
|
- !ruby/object:Gem::Dependency
|
|
182
|
-
name:
|
|
168
|
+
name: therubyracer
|
|
183
169
|
requirement: !ruby/object:Gem::Requirement
|
|
184
170
|
requirements:
|
|
185
171
|
- - ">="
|
|
186
172
|
- !ruby/object:Gem::Version
|
|
187
173
|
version: '0'
|
|
188
|
-
type: :
|
|
174
|
+
type: :runtime
|
|
189
175
|
prerelease: false
|
|
190
176
|
version_requirements: !ruby/object:Gem::Requirement
|
|
191
177
|
requirements:
|
|
@@ -196,10 +182,15 @@ description: Quick way to inspect your Rails database, see content of tables, ex
|
|
|
196
182
|
them to CSV, EXPLAIN SQL and run SQL queries.
|
|
197
183
|
email:
|
|
198
184
|
- igorkasyanchuk@gmail.com
|
|
199
|
-
executables:
|
|
185
|
+
executables:
|
|
186
|
+
- railsdb
|
|
187
|
+
- rails_db
|
|
188
|
+
- runsql
|
|
200
189
|
extensions: []
|
|
201
190
|
extra_rdoc_files: []
|
|
202
191
|
files:
|
|
192
|
+
- Gemfile
|
|
193
|
+
- Gemfile.lock
|
|
203
194
|
- MIT-LICENSE
|
|
204
195
|
- Rakefile
|
|
205
196
|
- app/assets/images/rails_db/data_table.png
|
|
@@ -207,13 +198,41 @@ files:
|
|
|
207
198
|
- app/assets/images/rails_db/down_arrow.gif
|
|
208
199
|
- app/assets/images/rails_db/logo.png
|
|
209
200
|
- app/assets/images/rails_db/logo_mini.png
|
|
201
|
+
- app/assets/images/rails_db/railsdb.png
|
|
202
|
+
- app/assets/images/rails_db/runsql.png
|
|
210
203
|
- app/assets/images/rails_db/up_arrow.gif
|
|
211
204
|
- app/assets/javascripts/rails_db/application.js
|
|
205
|
+
- app/assets/javascripts/rails_db/foundation.min.js
|
|
206
|
+
- app/assets/javascripts/rails_db/foundation/foundation.abide.js
|
|
207
|
+
- app/assets/javascripts/rails_db/foundation/foundation.accordion.js
|
|
208
|
+
- app/assets/javascripts/rails_db/foundation/foundation.alert.js
|
|
209
|
+
- app/assets/javascripts/rails_db/foundation/foundation.clearing.js
|
|
210
|
+
- app/assets/javascripts/rails_db/foundation/foundation.dropdown.js
|
|
211
|
+
- app/assets/javascripts/rails_db/foundation/foundation.equalizer.js
|
|
212
|
+
- app/assets/javascripts/rails_db/foundation/foundation.interchange.js
|
|
213
|
+
- app/assets/javascripts/rails_db/foundation/foundation.joyride.js
|
|
214
|
+
- app/assets/javascripts/rails_db/foundation/foundation.js
|
|
215
|
+
- app/assets/javascripts/rails_db/foundation/foundation.magellan.js
|
|
216
|
+
- app/assets/javascripts/rails_db/foundation/foundation.offcanvas.js
|
|
217
|
+
- app/assets/javascripts/rails_db/foundation/foundation.orbit.js
|
|
218
|
+
- app/assets/javascripts/rails_db/foundation/foundation.reveal.js
|
|
219
|
+
- app/assets/javascripts/rails_db/foundation/foundation.slider.js
|
|
220
|
+
- app/assets/javascripts/rails_db/foundation/foundation.tab.js
|
|
221
|
+
- app/assets/javascripts/rails_db/foundation/foundation.tooltip.js
|
|
222
|
+
- app/assets/javascripts/rails_db/foundation/foundation.topbar.js
|
|
212
223
|
- app/assets/javascripts/rails_db/jquery.cookie.js
|
|
213
224
|
- app/assets/javascripts/rails_db/sticky.js
|
|
225
|
+
- app/assets/javascripts/rails_db/vendor/fastclick.js
|
|
226
|
+
- app/assets/javascripts/rails_db/vendor/jquery.cookie.js
|
|
227
|
+
- app/assets/javascripts/rails_db/vendor/jquery.js
|
|
228
|
+
- app/assets/javascripts/rails_db/vendor/modernizr.js
|
|
229
|
+
- app/assets/javascripts/rails_db/vendor/placeholder.js
|
|
214
230
|
- app/assets/stylesheets/rails_db/app.css.scss
|
|
215
231
|
- app/assets/stylesheets/rails_db/application.css
|
|
232
|
+
- app/assets/stylesheets/rails_db/foundation.css
|
|
233
|
+
- app/assets/stylesheets/rails_db/foundation.min.css
|
|
216
234
|
- app/assets/stylesheets/rails_db/foundation_and_overrides.css.scss
|
|
235
|
+
- app/assets/stylesheets/rails_db/normalize.css
|
|
217
236
|
- app/assets/stylesheets/rails_db/pagination.css.scss
|
|
218
237
|
- app/assets/stylesheets/rails_db/sidebar.css.scss
|
|
219
238
|
- app/assets/stylesheets/rails_db/table.css.scss
|
|
@@ -228,6 +247,7 @@ files:
|
|
|
228
247
|
- app/views/layouts/rails_db/application.html.erb
|
|
229
248
|
- app/views/rails_db/dashboard/data_table.html.erb
|
|
230
249
|
- app/views/rails_db/dashboard/index.html.erb
|
|
250
|
+
- app/views/rails_db/dashboard/standalone.html.erb
|
|
231
251
|
- app/views/rails_db/shared/_data_table.html.erb
|
|
232
252
|
- app/views/rails_db/shared/_exp_col.html.erb
|
|
233
253
|
- app/views/rails_db/shared/_footer.html.erb
|
|
@@ -249,21 +269,28 @@ files:
|
|
|
249
269
|
- app/views/rails_db/tables/index.html.erb
|
|
250
270
|
- app/views/rails_db/tables/show.html.erb
|
|
251
271
|
- app/views/rails_db/tables/show.js.erb
|
|
272
|
+
- bin/rails_db
|
|
273
|
+
- bin/railsdb
|
|
274
|
+
- bin/runsql
|
|
252
275
|
- config/database.travis.yml
|
|
253
276
|
- config/routes.rb
|
|
277
|
+
- lib/ext/string_ext.rb
|
|
254
278
|
- lib/generators/USAGE
|
|
255
279
|
- lib/generators/rails_db_generator.rb
|
|
256
280
|
- lib/generators/templates/rails_db.rb
|
|
281
|
+
- lib/libs.rb
|
|
257
282
|
- lib/rails/routes.rb
|
|
258
283
|
- lib/rails_db.rb
|
|
259
284
|
- lib/rails_db/adapters/base_adapter.rb
|
|
260
285
|
- lib/rails_db/adapters/mysql.rb
|
|
261
286
|
- lib/rails_db/adapters/postgres.rb
|
|
262
287
|
- lib/rails_db/adapters/sqlite.rb
|
|
288
|
+
- lib/rails_db/blank_results.rb
|
|
263
289
|
- lib/rails_db/connection.rb
|
|
264
290
|
- lib/rails_db/database.rb
|
|
265
291
|
- lib/rails_db/engine.rb
|
|
266
292
|
- lib/rails_db/history.rb
|
|
293
|
+
- lib/rails_db/mysql_result.rb
|
|
267
294
|
- lib/rails_db/rails_db_error.rb
|
|
268
295
|
- lib/rails_db/result.rb
|
|
269
296
|
- lib/rails_db/sql_explain.rb
|
|
@@ -274,7 +301,9 @@ files:
|
|
|
274
301
|
- lib/rails_db/table_data.rb
|
|
275
302
|
- lib/rails_db/table_pagination.rb
|
|
276
303
|
- lib/rails_db/version.rb
|
|
304
|
+
- lib/standalone.rb
|
|
277
305
|
- lib/tasks/rails_db_tasks.rake
|
|
306
|
+
- rails_db.gemspec
|
|
278
307
|
- test/dashboard_controller_test.rb
|
|
279
308
|
- test/database_test.rb
|
|
280
309
|
- test/dummy/README.rdoc
|
|
@@ -362,6 +391,53 @@ files:
|
|
|
362
391
|
- test/rails_db_test.rb
|
|
363
392
|
- test/sql_import_test.rb
|
|
364
393
|
- test/sql_query_test.rb
|
|
394
|
+
- test/standalone/Gemfile
|
|
395
|
+
- test/standalone/Gemfile.lock
|
|
396
|
+
- test/standalone/README.rdoc
|
|
397
|
+
- test/standalone/Rakefile
|
|
398
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.eot
|
|
399
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.svg
|
|
400
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.ttf
|
|
401
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.woff
|
|
402
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.woff2
|
|
403
|
+
- test/standalone/app/assets/javascripts/application.js
|
|
404
|
+
- test/standalone/app/assets/stylesheets/application.css
|
|
405
|
+
- test/standalone/app/assets/stylesheets/bootstrap-theme.min.css
|
|
406
|
+
- test/standalone/app/assets/stylesheets/bootstrap.min.css
|
|
407
|
+
- test/standalone/app/controllers/application_controller.rb
|
|
408
|
+
- test/standalone/app/controllers/home_controller.rb
|
|
409
|
+
- test/standalone/app/helpers/application_helper.rb
|
|
410
|
+
- test/standalone/app/views/home/index.html.erb
|
|
411
|
+
- test/standalone/app/views/layouts/application.html.erb
|
|
412
|
+
- test/standalone/bin/bundle
|
|
413
|
+
- test/standalone/bin/rails
|
|
414
|
+
- test/standalone/bin/rake
|
|
415
|
+
- test/standalone/bin/setup
|
|
416
|
+
- test/standalone/config.ru
|
|
417
|
+
- test/standalone/config/application.rb
|
|
418
|
+
- test/standalone/config/boot.rb
|
|
419
|
+
- test/standalone/config/database.yml
|
|
420
|
+
- test/standalone/config/environment.rb
|
|
421
|
+
- test/standalone/config/environments/development.rb
|
|
422
|
+
- test/standalone/config/environments/production.rb
|
|
423
|
+
- test/standalone/config/environments/test.rb
|
|
424
|
+
- test/standalone/config/initializers/assets.rb
|
|
425
|
+
- test/standalone/config/initializers/backtrace_silencers.rb
|
|
426
|
+
- test/standalone/config/initializers/cookies_serializer.rb
|
|
427
|
+
- test/standalone/config/initializers/filter_parameter_logging.rb
|
|
428
|
+
- test/standalone/config/initializers/inflections.rb
|
|
429
|
+
- test/standalone/config/initializers/mime_types.rb
|
|
430
|
+
- test/standalone/config/initializers/quite_assets.rb
|
|
431
|
+
- test/standalone/config/initializers/rails_db.rb
|
|
432
|
+
- test/standalone/config/initializers/session_store.rb
|
|
433
|
+
- test/standalone/config/initializers/wrap_parameters.rb
|
|
434
|
+
- test/standalone/config/locales/en.yml
|
|
435
|
+
- test/standalone/config/routes.rb
|
|
436
|
+
- test/standalone/config/secrets.yml
|
|
437
|
+
- test/standalone/public/404.html
|
|
438
|
+
- test/standalone/public/422.html
|
|
439
|
+
- test/standalone/public/500.html
|
|
440
|
+
- test/standalone/public/favicon.ico
|
|
365
441
|
- test/table_test.rb
|
|
366
442
|
- test/test_helper.rb
|
|
367
443
|
- test/test_sql_mysql.sql
|
|
@@ -387,7 +463,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
387
463
|
version: '0'
|
|
388
464
|
requirements: []
|
|
389
465
|
rubyforge_project:
|
|
390
|
-
rubygems_version: 2.4.
|
|
466
|
+
rubygems_version: 2.4.7
|
|
391
467
|
signing_key:
|
|
392
468
|
specification_version: 4
|
|
393
469
|
summary: Inspect your Rails DB (table content viewer, execute sql queries, export
|
|
@@ -480,6 +556,53 @@ test_files:
|
|
|
480
556
|
- test/rails_db_test.rb
|
|
481
557
|
- test/sql_import_test.rb
|
|
482
558
|
- test/sql_query_test.rb
|
|
559
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.eot
|
|
560
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.svg
|
|
561
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.ttf
|
|
562
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.woff
|
|
563
|
+
- test/standalone/app/assets/fonts/glyphicons-halflings-regular.woff2
|
|
564
|
+
- test/standalone/app/assets/javascripts/application.js
|
|
565
|
+
- test/standalone/app/assets/stylesheets/application.css
|
|
566
|
+
- test/standalone/app/assets/stylesheets/bootstrap-theme.min.css
|
|
567
|
+
- test/standalone/app/assets/stylesheets/bootstrap.min.css
|
|
568
|
+
- test/standalone/app/controllers/application_controller.rb
|
|
569
|
+
- test/standalone/app/controllers/home_controller.rb
|
|
570
|
+
- test/standalone/app/helpers/application_helper.rb
|
|
571
|
+
- test/standalone/app/views/home/index.html.erb
|
|
572
|
+
- test/standalone/app/views/layouts/application.html.erb
|
|
573
|
+
- test/standalone/bin/bundle
|
|
574
|
+
- test/standalone/bin/rails
|
|
575
|
+
- test/standalone/bin/rake
|
|
576
|
+
- test/standalone/bin/setup
|
|
577
|
+
- test/standalone/config/application.rb
|
|
578
|
+
- test/standalone/config/boot.rb
|
|
579
|
+
- test/standalone/config/database.yml
|
|
580
|
+
- test/standalone/config/environment.rb
|
|
581
|
+
- test/standalone/config/environments/development.rb
|
|
582
|
+
- test/standalone/config/environments/production.rb
|
|
583
|
+
- test/standalone/config/environments/test.rb
|
|
584
|
+
- test/standalone/config/initializers/assets.rb
|
|
585
|
+
- test/standalone/config/initializers/backtrace_silencers.rb
|
|
586
|
+
- test/standalone/config/initializers/cookies_serializer.rb
|
|
587
|
+
- test/standalone/config/initializers/filter_parameter_logging.rb
|
|
588
|
+
- test/standalone/config/initializers/inflections.rb
|
|
589
|
+
- test/standalone/config/initializers/mime_types.rb
|
|
590
|
+
- test/standalone/config/initializers/quite_assets.rb
|
|
591
|
+
- test/standalone/config/initializers/rails_db.rb
|
|
592
|
+
- test/standalone/config/initializers/session_store.rb
|
|
593
|
+
- test/standalone/config/initializers/wrap_parameters.rb
|
|
594
|
+
- test/standalone/config/locales/en.yml
|
|
595
|
+
- test/standalone/config/routes.rb
|
|
596
|
+
- test/standalone/config/secrets.yml
|
|
597
|
+
- test/standalone/config.ru
|
|
598
|
+
- test/standalone/Gemfile
|
|
599
|
+
- test/standalone/Gemfile.lock
|
|
600
|
+
- test/standalone/public/404.html
|
|
601
|
+
- test/standalone/public/422.html
|
|
602
|
+
- test/standalone/public/500.html
|
|
603
|
+
- test/standalone/public/favicon.ico
|
|
604
|
+
- test/standalone/Rakefile
|
|
605
|
+
- test/standalone/README.rdoc
|
|
483
606
|
- test/table_test.rb
|
|
484
607
|
- test/test_helper.rb
|
|
485
608
|
- test/test_sql_mysql.sql
|