schema_designer 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +34 -0
  4. data/app/assets/javascripts/schema_designer/_potential_schema.js.coffee +31 -0
  5. data/app/assets/javascripts/schema_designer/application.js +16 -0
  6. data/app/assets/javascripts/schema_designer/backbone.js +1581 -0
  7. data/app/assets/javascripts/schema_designer/jquery.autocomplete.js +645 -0
  8. data/app/assets/javascripts/schema_designer/schema.js +181 -0
  9. data/app/assets/javascripts/schema_designer/springy.js +697 -0
  10. data/app/assets/javascripts/schema_designer/underscore.js +1276 -0
  11. data/app/assets/stylesheets/schema_designer/application.css +13 -0
  12. data/app/assets/stylesheets/schema_designer/schema.css +35 -0
  13. data/app/controllers/schema_designer/application_controller.rb +6 -0
  14. data/app/controllers/schema_designer/schema_controller.rb +137 -0
  15. data/app/views/layouts/schema_designer/application.html.erb +14 -0
  16. data/app/views/schema_designer/schema/index.html.erb +19 -0
  17. data/config/routes.rb +10 -0
  18. data/lib/schema_designer.rb +4 -0
  19. data/lib/schema_designer/engine.rb +5 -0
  20. data/lib/schema_designer/version.rb +3 -0
  21. data/test/controllers/schema_designer/schema_controller_test.rb +11 -0
  22. data/test/dummy/README.rdoc +28 -0
  23. data/test/dummy/Rakefile +6 -0
  24. data/test/dummy/app/assets/javascripts/application.js +13 -0
  25. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  26. data/test/dummy/app/controllers/application_controller.rb +5 -0
  27. data/test/dummy/app/helpers/application_helper.rb +2 -0
  28. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  29. data/test/dummy/bin/bundle +3 -0
  30. data/test/dummy/bin/rails +4 -0
  31. data/test/dummy/bin/rake +4 -0
  32. data/test/dummy/config.ru +4 -0
  33. data/test/dummy/config/application.rb +23 -0
  34. data/test/dummy/config/boot.rb +5 -0
  35. data/test/dummy/config/database.yml +25 -0
  36. data/test/dummy/config/environment.rb +5 -0
  37. data/test/dummy/config/environments/development.rb +29 -0
  38. data/test/dummy/config/environments/production.rb +80 -0
  39. data/test/dummy/config/environments/test.rb +36 -0
  40. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  41. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  42. data/test/dummy/config/initializers/inflections.rb +16 -0
  43. data/test/dummy/config/initializers/mime_types.rb +5 -0
  44. data/test/dummy/config/initializers/secret_token.rb +12 -0
  45. data/test/dummy/config/initializers/session_store.rb +3 -0
  46. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  47. data/test/dummy/config/locales/en.yml +23 -0
  48. data/test/dummy/config/routes.rb +4 -0
  49. data/test/dummy/public/404.html +58 -0
  50. data/test/dummy/public/422.html +58 -0
  51. data/test/dummy/public/500.html +57 -0
  52. data/test/dummy/public/favicon.ico +0 -0
  53. data/test/helpers/schema_designer/schema_helper_test.rb +6 -0
  54. data/test/integration/navigation_test.rb +10 -0
  55. data/test/schema_designer_test.rb +7 -0
  56. data/test/test_helper.rb +15 -0
  57. metadata +163 -0
@@ -0,0 +1,10 @@
1
+ require 'test_helper'
2
+
3
+ class NavigationTest < ActionDispatch::IntegrationTest
4
+ fixtures :all
5
+
6
+ # test "the truth" do
7
+ # assert true
8
+ # end
9
+ end
10
+
@@ -0,0 +1,7 @@
1
+ require 'test_helper'
2
+
3
+ class SchemaDesignerTest < ActiveSupport::TestCase
4
+ test "truth" do
5
+ assert_kind_of Module, SchemaDesigner
6
+ end
7
+ end
@@ -0,0 +1,15 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
5
+ require "rails/test_help"
6
+
7
+ Rails.backtrace_cleaner.remove_silencers!
8
+
9
+ # Load support files
10
+ Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
11
+
12
+ # Load fixtures from the engine
13
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
14
+ ActiveSupport::TestCase.fixture_path = File.expand_path("../fixtures", __FILE__)
15
+ end
metadata ADDED
@@ -0,0 +1,163 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: schema_designer
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Jakub Hampl
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2013-11-07 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: 4.0.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: 4.0.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '>='
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ description: Create active recode migrations through a visual database tool that is
42
+ based on Rails conventions.
43
+ email:
44
+ - honitom@seznam.cz
45
+ executables: []
46
+ extensions: []
47
+ extra_rdoc_files: []
48
+ files:
49
+ - app/assets/javascripts/schema_designer/_potential_schema.js.coffee
50
+ - app/assets/javascripts/schema_designer/application.js
51
+ - app/assets/javascripts/schema_designer/backbone.js
52
+ - app/assets/javascripts/schema_designer/jquery.autocomplete.js
53
+ - app/assets/javascripts/schema_designer/schema.js
54
+ - app/assets/javascripts/schema_designer/springy.js
55
+ - app/assets/javascripts/schema_designer/underscore.js
56
+ - app/assets/stylesheets/schema_designer/application.css
57
+ - app/assets/stylesheets/schema_designer/schema.css
58
+ - app/controllers/schema_designer/application_controller.rb
59
+ - app/controllers/schema_designer/schema_controller.rb
60
+ - app/views/layouts/schema_designer/application.html.erb
61
+ - app/views/schema_designer/schema/index.html.erb
62
+ - config/routes.rb
63
+ - lib/schema_designer/engine.rb
64
+ - lib/schema_designer/version.rb
65
+ - lib/schema_designer.rb
66
+ - MIT-LICENSE
67
+ - Rakefile
68
+ - test/controllers/schema_designer/schema_controller_test.rb
69
+ - test/dummy/app/assets/javascripts/application.js
70
+ - test/dummy/app/assets/stylesheets/application.css
71
+ - test/dummy/app/controllers/application_controller.rb
72
+ - test/dummy/app/helpers/application_helper.rb
73
+ - test/dummy/app/views/layouts/application.html.erb
74
+ - test/dummy/bin/bundle
75
+ - test/dummy/bin/rails
76
+ - test/dummy/bin/rake
77
+ - test/dummy/config/application.rb
78
+ - test/dummy/config/boot.rb
79
+ - test/dummy/config/database.yml
80
+ - test/dummy/config/environment.rb
81
+ - test/dummy/config/environments/development.rb
82
+ - test/dummy/config/environments/production.rb
83
+ - test/dummy/config/environments/test.rb
84
+ - test/dummy/config/initializers/backtrace_silencers.rb
85
+ - test/dummy/config/initializers/filter_parameter_logging.rb
86
+ - test/dummy/config/initializers/inflections.rb
87
+ - test/dummy/config/initializers/mime_types.rb
88
+ - test/dummy/config/initializers/secret_token.rb
89
+ - test/dummy/config/initializers/session_store.rb
90
+ - test/dummy/config/initializers/wrap_parameters.rb
91
+ - test/dummy/config/locales/en.yml
92
+ - test/dummy/config/routes.rb
93
+ - test/dummy/config.ru
94
+ - test/dummy/public/404.html
95
+ - test/dummy/public/422.html
96
+ - test/dummy/public/500.html
97
+ - test/dummy/public/favicon.ico
98
+ - test/dummy/Rakefile
99
+ - test/dummy/README.rdoc
100
+ - test/helpers/schema_designer/schema_helper_test.rb
101
+ - test/integration/navigation_test.rb
102
+ - test/schema_designer_test.rb
103
+ - test/test_helper.rb
104
+ homepage: http://code.gampleman.eu/schema_designer
105
+ licenses: []
106
+ metadata: {}
107
+ post_install_message:
108
+ rdoc_options: []
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - '>='
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
121
+ requirements: []
122
+ rubyforge_project:
123
+ rubygems_version: 2.0.6
124
+ signing_key:
125
+ specification_version: 4
126
+ summary: Visual aid for making migrations.
127
+ test_files:
128
+ - test/controllers/schema_designer/schema_controller_test.rb
129
+ - test/dummy/app/assets/javascripts/application.js
130
+ - test/dummy/app/assets/stylesheets/application.css
131
+ - test/dummy/app/controllers/application_controller.rb
132
+ - test/dummy/app/helpers/application_helper.rb
133
+ - test/dummy/app/views/layouts/application.html.erb
134
+ - test/dummy/bin/bundle
135
+ - test/dummy/bin/rails
136
+ - test/dummy/bin/rake
137
+ - test/dummy/config/application.rb
138
+ - test/dummy/config/boot.rb
139
+ - test/dummy/config/database.yml
140
+ - test/dummy/config/environment.rb
141
+ - test/dummy/config/environments/development.rb
142
+ - test/dummy/config/environments/production.rb
143
+ - test/dummy/config/environments/test.rb
144
+ - test/dummy/config/initializers/backtrace_silencers.rb
145
+ - test/dummy/config/initializers/filter_parameter_logging.rb
146
+ - test/dummy/config/initializers/inflections.rb
147
+ - test/dummy/config/initializers/mime_types.rb
148
+ - test/dummy/config/initializers/secret_token.rb
149
+ - test/dummy/config/initializers/session_store.rb
150
+ - test/dummy/config/initializers/wrap_parameters.rb
151
+ - test/dummy/config/locales/en.yml
152
+ - test/dummy/config/routes.rb
153
+ - test/dummy/config.ru
154
+ - test/dummy/public/404.html
155
+ - test/dummy/public/422.html
156
+ - test/dummy/public/500.html
157
+ - test/dummy/public/favicon.ico
158
+ - test/dummy/Rakefile
159
+ - test/dummy/README.rdoc
160
+ - test/helpers/schema_designer/schema_helper_test.rb
161
+ - test/integration/navigation_test.rb
162
+ - test/schema_designer_test.rb
163
+ - test/test_helper.rb