multiinsert 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (153) hide show
  1. data/.gitignore +17 -15
  2. data/Gemfile +3 -48
  3. data/LICENSE.txt +22 -0
  4. data/README.md +28 -3
  5. data/Rakefile +1 -7
  6. data/lib/multiinsert.rb +38 -0
  7. data/lib/multiinsert/version.rb +3 -0
  8. data/multiinsert.gemspec +23 -0
  9. metadata +8 -180
  10. data/Gemfile.lock +0 -182
  11. data/README.rdoc +0 -261
  12. data/app/assets/images/Dashboard.jpg +0 -0
  13. data/app/assets/images/black.png +0 -0
  14. data/app/assets/images/giff.gif +0 -0
  15. data/app/assets/images/rails.png +0 -0
  16. data/app/assets/images/sprites.png +0 -0
  17. data/app/assets/javascripts/application.js +0 -15
  18. data/app/assets/javascripts/effects.js +0 -9
  19. data/app/assets/javascripts/evaluations.js.coffee +0 -3
  20. data/app/assets/javascripts/tabs_old.js +0 -42
  21. data/app/assets/stylesheets/application.css +0 -13
  22. data/app/assets/stylesheets/evaluations.css.scss +0 -3
  23. data/app/assets/stylesheets/style.css +0 -477
  24. data/app/assets/stylesheets/tab.css +0 -190
  25. data/app/controllers/application_controller.rb +0 -15
  26. data/app/controllers/employee_heirarchies_controller.rb +0 -2
  27. data/app/controllers/evaluations_controller.rb +0 -80
  28. data/app/controllers/sessions_controller.rb +0 -48
  29. data/app/helpers/application_helper.rb +0 -2
  30. data/app/helpers/employee_heirarchies_helper.rb +0 -2
  31. data/app/helpers/evaluations_helper.rb +0 -2
  32. data/app/mailers/.gitkeep +0 -0
  33. data/app/models/.gitkeep +0 -0
  34. data/app/models/employee.rb +0 -5
  35. data/app/models/employee_heirarchy.rb +0 -6
  36. data/app/models/evaluation.rb +0 -6
  37. data/app/models/evaluation_interval.rb +0 -5
  38. data/app/models/evaluation_period.rb +0 -6
  39. data/app/models/interval_format.rb +0 -4
  40. data/app/models/role.rb +0 -7
  41. data/app/models/score.rb +0 -3
  42. data/app/models/team.rb +0 -10
  43. data/app/models/team.rb~ +0 -10
  44. data/app/models/team_value.rb +0 -5
  45. data/app/models/user.rb +0 -49
  46. data/app/models/user.rb~ +0 -11
  47. data/app/models/user_history.rb +0 -6
  48. data/app/models/user_role.rb +0 -5
  49. data/app/models/value.rb +0 -8
  50. data/app/models/value.rb~ +0 -7
  51. data/app/views/devise/confirmations/new.html.erb +0 -12
  52. data/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
  53. data/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
  54. data/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
  55. data/app/views/devise/passwords/edit.html.erb +0 -16
  56. data/app/views/devise/passwords/new.html.erb +0 -12
  57. data/app/views/devise/registrations/edit.html.erb +0 -29
  58. data/app/views/devise/registrations/new.html.erb +0 -36
  59. data/app/views/devise/sessions/new.html.erb +0 -17
  60. data/app/views/devise/shared/_links.erb +0 -25
  61. data/app/views/devise/unlocks/new.html.erb +0 -12
  62. data/app/views/evaluations/edit.html.erb +0 -21
  63. data/app/views/evaluations/first.html.erb +0 -5
  64. data/app/views/evaluations/index.html.erb +0 -7
  65. data/app/views/evaluations/new.html.erb +0 -15
  66. data/app/views/evaluations/show.html.erb +0 -21
  67. data/app/views/layouts/application.html.erb +0 -87
  68. data/config.ru +0 -4
  69. data/config/application.rb +0 -63
  70. data/config/boot.rb +0 -6
  71. data/config/database.yml +0 -31
  72. data/config/database.yml~ +0 -31
  73. data/config/environment.rb +0 -5
  74. data/config/environments/development.rb +0 -37
  75. data/config/environments/production.rb +0 -67
  76. data/config/environments/test.rb +0 -37
  77. data/config/initializers/backtrace_silencers.rb +0 -7
  78. data/config/initializers/devise.rb +0 -240
  79. data/config/initializers/inflections.rb +0 -15
  80. data/config/initializers/mime_types.rb +0 -5
  81. data/config/initializers/rails_admin.rb +0 -116
  82. data/config/initializers/secret_token.rb +0 -7
  83. data/config/initializers/session_store.rb +0 -8
  84. data/config/initializers/wrap_parameters.rb +0 -14
  85. data/config/locales/devise.en.yml +0 -59
  86. data/config/locales/en.yml +0 -5
  87. data/config/routes.rb +0 -70
  88. data/db/migrate/20130220053413_devise_create_users.rb +0 -52
  89. data/db/migrate/20130220055237_create_rails_admin_histories_table.rb +0 -18
  90. data/db/migrate/20130220060116_create_values.rb +0 -9
  91. data/db/migrate/20130220060116_create_values.rb~ +0 -8
  92. data/db/migrate/20130220060206_create_scores.rb +0 -9
  93. data/db/migrate/20130220060258_create_teams.rb +0 -8
  94. data/db/migrate/20130220060347_create_team_values.rb +0 -9
  95. data/db/migrate/20130220060347_create_team_values.rb~ +0 -10
  96. data/db/migrate/20130220060427_create_roles.rb +0 -8
  97. data/db/migrate/20130220060605_create_evaluation_periods.rb +0 -10
  98. data/db/migrate/20130220060807_create_evaluation_intervals.rb +0 -9
  99. data/db/migrate/20130220060902_create_interval_formats.rb +0 -9
  100. data/db/migrate/20130220061022_create_user_histories.rb +0 -13
  101. data/db/migrate/20130220061242_create_evaluations.rb +0 -16
  102. data/db/migrate/20130305063738_create_user_roles.rb +0 -9
  103. data/db/migrate/20130305091849_create_employees.rb +0 -12
  104. data/db/migrate/20130305144125_create_employee_heirarchies.rb +0 -13
  105. data/db/migrate/20130305150244_add_foreign_keys_to_employee_heirarchies.rb +0 -6
  106. data/db/migrate/20130307035139_addmanagerid_to_evaluations.rb +0 -9
  107. data/db/schema.rb +0 -175
  108. data/db/seeds.rb +0 -7
  109. data/doc/README_FOR_APP +0 -2
  110. data/lib/assets/.gitkeep +0 -0
  111. data/lib/tasks/.gitkeep +0 -0
  112. data/log/.gitkeep +0 -0
  113. data/public/404.html +0 -26
  114. data/public/422.html +0 -26
  115. data/public/500.html +0 -25
  116. data/public/favicon.ico +0 -0
  117. data/public/robots.txt +0 -5
  118. data/script/rails +0 -6
  119. data/test/fixtures/.gitkeep +0 -0
  120. data/test/fixtures/evaluation_intervals.yml +0 -9
  121. data/test/fixtures/evaluation_periods.yml +0 -11
  122. data/test/fixtures/evaluations.yml +0 -19
  123. data/test/fixtures/interval_formats.yml +0 -7
  124. data/test/fixtures/roles.yml +0 -7
  125. data/test/fixtures/scores.yml +0 -9
  126. data/test/fixtures/team_values.yml +0 -9
  127. data/test/fixtures/teams.yml +0 -9
  128. data/test/fixtures/user_histories.yml +0 -15
  129. data/test/fixtures/users.yml +0 -11
  130. data/test/fixtures/values.yml +0 -7
  131. data/test/functional/.gitkeep +0 -0
  132. data/test/functional/employee_heirarchies_controller_test.rb +0 -7
  133. data/test/functional/evaluations_controller_test.rb +0 -7
  134. data/test/integration/.gitkeep +0 -0
  135. data/test/performance/browsing_test.rb +0 -12
  136. data/test/test_helper.rb +0 -13
  137. data/test/unit/.gitkeep +0 -0
  138. data/test/unit/evaluation_interval_test.rb +0 -7
  139. data/test/unit/evaluation_period_test.rb +0 -7
  140. data/test/unit/evaluation_test.rb +0 -7
  141. data/test/unit/helpers/employee_heirarchies_helper_test.rb +0 -4
  142. data/test/unit/helpers/evaluations_helper_test.rb +0 -4
  143. data/test/unit/interval_format_test.rb +0 -7
  144. data/test/unit/role_test.rb +0 -7
  145. data/test/unit/score_test.rb +0 -7
  146. data/test/unit/team_test.rb +0 -7
  147. data/test/unit/team_value_test.rb +0 -7
  148. data/test/unit/user_history_test.rb +0 -7
  149. data/test/unit/user_test.rb +0 -7
  150. data/test/unit/value_test.rb +0 -7
  151. data/vendor/assets/javascripts/.gitkeep +0 -0
  152. data/vendor/assets/stylesheets/.gitkeep +0 -0
  153. data/vendor/plugins/.gitkeep +0 -0
@@ -1,19 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- one:
4
- self_points: 1
5
- manager_points: 1
6
- self_comments: MyText
7
- manager_comments: MyText
8
- evaluation_period_id: 1
9
- value_id: 1
10
- user_id: 1
11
-
12
- two:
13
- self_points: 1
14
- manager_points: 1
15
- self_comments: MyText
16
- manager_comments: MyText
17
- evaluation_period_id: 1
18
- value_id: 1
19
- user_id: 1
@@ -1,7 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- one:
4
- frequency: 2013-02-20 11:39:02
5
-
6
- two:
7
- frequency: 2013-02-20 11:39:02
@@ -1,7 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- one:
4
- role: MyString
5
-
6
- two:
7
- role: MyString
@@ -1,9 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- one:
4
- score_level: 1
5
- description: MyText
6
-
7
- two:
8
- score_level: 1
9
- description: MyText
@@ -1,9 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- one:
4
- team_id: 1
5
- value_id: 1
6
-
7
- two:
8
- team_id: 1
9
- value_id: 1
@@ -1,9 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- one:
4
- name: MyString
5
- designation: MyText
6
-
7
- two:
8
- name: MyString
9
- designation: MyText
@@ -1,15 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- one:
4
- team_id: 1
5
- user_id: 1
6
- evaluation_period_id: 1
7
- date: 2013-02-20 11:40:22
8
- totalpoints: 1
9
-
10
- two:
11
- team_id: 1
12
- user_id: 1
13
- evaluation_period_id: 1
14
- date: 2013-02-20 11:40:22
15
- totalpoints: 1
@@ -1,11 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- # This model initially had no columns defined. If you add columns to the
4
- # model remove the '{}' from the fixture names and add the columns immediately
5
- # below each fixture, per the syntax in the comments below
6
- #
7
- one: {}
8
- # column: value
9
- #
10
- two: {}
11
- # column: value
@@ -1,7 +0,0 @@
1
- # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
2
-
3
- one:
4
- description: MyText
5
-
6
- two:
7
- description: MyText
File without changes
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class EmployeeHeirarchiesControllerTest < ActionController::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class EvaluationsControllerTest < ActionController::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
File without changes
@@ -1,12 +0,0 @@
1
- require 'test_helper'
2
- require 'rails/performance_test_help'
3
-
4
- class BrowsingTest < ActionDispatch::PerformanceTest
5
- # Refer to the documentation for all available options
6
- # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
7
- # :output => 'tmp/performance', :formats => [:flat] }
8
-
9
- def test_homepage
10
- get '/'
11
- end
12
- end
@@ -1,13 +0,0 @@
1
- ENV["RAILS_ENV"] = "test"
2
- require File.expand_path('../../config/environment', __FILE__)
3
- require 'rails/test_help'
4
-
5
- class ActiveSupport::TestCase
6
- # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
7
- #
8
- # Note: You'll currently still have to declare fixtures explicitly in integration tests
9
- # -- they do not yet inherit this setting
10
- fixtures :all
11
-
12
- # Add more helper methods to be used by all tests here...
13
- end
File without changes
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class EvaluationIntervalTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class EvaluationPeriodTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class EvaluationTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,4 +0,0 @@
1
- require 'test_helper'
2
-
3
- class EmployeeHeirarchiesHelperTest < ActionView::TestCase
4
- end
@@ -1,4 +0,0 @@
1
- require 'test_helper'
2
-
3
- class EvaluationsHelperTest < ActionView::TestCase
4
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class IntervalFormatTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class RoleTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class ScoreTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class TeamTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class TeamValueTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class UserHistoryTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class UserTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
@@ -1,7 +0,0 @@
1
- require 'test_helper'
2
-
3
- class ValueTest < ActiveSupport::TestCase
4
- # test "the truth" do
5
- # assert true
6
- # end
7
- end
File without changes
File without changes
File without changes