Permalink
Browse files

Update to 2.0 compatibility, all original specs passing

  • Loading branch information...
1 parent 735c8f1 commit c8e2087115ec7fd907e3b9a631d17076974f32fe @joemsak joemsak committed May 30, 2012
Showing with 3,895 additions and 471 deletions.
  1. +79 −1 .gitignore
  2. +68 −1 Gemfile
  3. +195 −119 Gemfile.lock
  4. +27 −0 Guardfile
  5. +12 −1 Rakefile
  6. +19 −0 app/controllers/refinery/calendar/admin/events_controller.rb
  7. +14 −0 app/controllers/refinery/calendar/admin/venues_controller.rb
  8. +32 −0 app/controllers/refinery/calendar/events_controller.rb
  9. +6 −0 app/controllers/refinery/calendar/venues_controller.rb
  10. 0 app/decorators/controllers/refinery/.gitkeep
  11. 0 app/decorators/models/refinery/.gitkeep
  12. +36 −0 app/models/refinery/calendar/event.rb
  13. +9 −0 app/models/refinery/calendar/venue.rb
  14. +26 −0 app/views/refinery/calendar/admin/events/_actions.html.erb
  15. +20 −0 app/views/refinery/calendar/admin/events/_event.html.erb
  16. +2 −0 app/views/refinery/calendar/admin/events/_events.html.erb
  17. +85 −0 app/views/refinery/calendar/admin/events/_form.html.erb
  18. +18 −0 app/views/refinery/calendar/admin/events/_records.html.erb
  19. +5 −0 app/views/refinery/calendar/admin/events/_sortable_list.html.erb
  20. +1 −0 app/views/refinery/calendar/admin/events/edit.html.erb
  21. +8 −0 app/views/refinery/calendar/admin/events/index.html.erb
  22. +1 −0 app/views/refinery/calendar/admin/events/new.html.erb
  23. +8 −0 app/views/refinery/calendar/admin/shared/_links.html.erb
  24. +26 −0 app/views/refinery/calendar/admin/venues/_actions.html.erb
  25. +35 −0 app/views/refinery/calendar/admin/venues/_form.html.erb
  26. +18 −0 app/views/refinery/calendar/admin/venues/_records.html.erb
  27. +5 −0 app/views/refinery/calendar/admin/venues/_sortable_list.html.erb
  28. +20 −0 app/views/refinery/calendar/admin/venues/_venue.html.erb
  29. +2 −0 app/views/refinery/calendar/admin/venues/_venues.html.erb
  30. +1 −0 app/views/refinery/calendar/admin/venues/edit.html.erb
  31. +8 −0 app/views/refinery/calendar/admin/venues/index.html.erb
  32. +1 −0 app/views/refinery/calendar/admin/venues/new.html.erb
  33. +8 −0 app/views/refinery/calendar/events/_event.html.erb
  34. +9 −0 app/views/refinery/calendar/events/index.html.erb
  35. +28 −0 app/views/refinery/calendar/events/show.html.erb
  36. +11 −0 app/views/refinery/calendar/venues/index.html.erb
  37. +45 −0 app/views/refinery/calendar/venues/show.html.erb
  38. +25 −0 app/views/sitemap/index.xml.builder
  39. +20 −0 config/database.yml.mysql
  40. +58 −0 config/database.yml.postgresql
  41. +18 −0 config/database.yml.sqlite3
  42. +4 −0 config/initializers/refinery/authentication.rb
  43. +48 −0 config/initializers/refinery/core.rb
  44. +44 −0 config/initializers/refinery/images.rb
  45. +52 −0 config/initializers/refinery/pages.rb
  46. +26 −0 config/initializers/refinery/resources.rb
  47. +57 −62 config/locales/en.yml
  48. +57 −59 config/locales/es.yml
  49. +55 −58 config/locales/fr.yml
  50. +57 −18 config/locales/nb.yml
  51. +55 −61 config/locales/nl.yml
  52. +33 −9 config/routes.rb
  53. +34 −0 db/migrate/1_create_calendar_events.rb
  54. +29 −0 db/migrate/2_create_calendar_venues.rb
  55. +26 −0 db/seeds.rb
  56. +19 −0 lib/generators/refinery/calendar_generator.rb
  57. +21 −0 lib/refinery/events.rb
  58. +26 −0 lib/refinery/events/engine.rb
  59. +21 −0 lib/refinery/venues.rb
  60. +14 −0 lib/refinery/venues/engine.rb
  61. +2 −24 lib/refinerycms-calendar.rb
  62. +13 −0 lib/tasks/refinery/calendar.rake
  63. +7 −46 readme.md
  64. +11 −12 refinerycms-calendar.gemspec
  65. +10 −0 script/rails
  66. +79 −0 spec/dummy/.gitignore
  67. +261 −0 spec/dummy/README.rdoc
  68. +7 −0 spec/dummy/Rakefile
  69. +15 −0 spec/dummy/app/assets/javascripts/application.js
  70. +13 −0 spec/dummy/app/assets/stylesheets/application.css
  71. +3 −0 spec/dummy/app/controllers/application_controller.rb
  72. 0 spec/dummy/app/decorators/controllers/refinery/.gitkeep
  73. 0 spec/dummy/app/decorators/models/refinery/.gitkeep
  74. +2 −0 spec/dummy/app/helpers/application_helper.rb
  75. 0 spec/dummy/app/mailers/.gitkeep
  76. 0 spec/dummy/app/models/.gitkeep
  77. +25 −0 spec/dummy/app/views/sitemap/index.xml.builder
  78. +4 −0 spec/dummy/config.ru
  79. +62 −0 spec/dummy/config/application.rb
  80. +6 −0 spec/dummy/config/boot.rb
  81. +18 −0 spec/dummy/config/database.yml
  82. +20 −0 spec/dummy/config/database.yml.mysql
  83. +58 −0 spec/dummy/config/database.yml.postgresql
  84. +18 −0 spec/dummy/config/database.yml.sqlite3
  85. +5 −0 spec/dummy/config/environment.rb
  86. +37 −0 spec/dummy/config/environments/development.rb
  87. +67 −0 spec/dummy/config/environments/production.rb
  88. +37 −0 spec/dummy/config/environments/test.rb
  89. +7 −0 spec/dummy/config/initializers/backtrace_silencers.rb
  90. +15 −0 spec/dummy/config/initializers/inflections.rb
  91. +5 −0 spec/dummy/config/initializers/mime_types.rb
  92. +4 −0 spec/dummy/config/initializers/refinery/authentication.rb
  93. +48 −0 spec/dummy/config/initializers/refinery/core.rb
  94. +44 −0 spec/dummy/config/initializers/refinery/images.rb
  95. +52 −0 spec/dummy/config/initializers/refinery/pages.rb
  96. +26 −0 spec/dummy/config/initializers/refinery/resources.rb
  97. +7 −0 spec/dummy/config/initializers/secret_token.rb
  98. +8 −0 spec/dummy/config/initializers/session_store.rb
  99. +14 −0 spec/dummy/config/initializers/wrap_parameters.rb
  100. +5 −0 spec/dummy/config/locales/en.yml
  101. +3 −0 spec/dummy/config/routes.rb
  102. +35 −0 spec/dummy/db/migrate/20120530151425_create_calendar_events.refinery_calendar.rb
  103. +30 −0 spec/dummy/db/migrate/20120530151426_create_calendar_venues.refinery_calendar.rb
  104. +44 −0 ...mmy/db/migrate/20120530151427_create_refinerycms_authentication_schema.refinery_authentication.rb
  105. +16 −0 spec/dummy/db/migrate/20120530151428_create_refinerycms_images_schema.refinery_images.rb
  106. +14 −0 spec/dummy/db/migrate/20120530151429_create_refinerycms_resources_schema.refinery_resources.rb
  107. +59 −0 spec/dummy/db/migrate/20120530151430_create_refinerycms_pages_schema.refinery_pages.rb
  108. +24 −0 spec/dummy/db/migrate/20120530151431_create_seo_meta.seo_meta_engine.rb
  109. +177 −0 spec/dummy/db/schema.rb
  110. +10 −0 spec/dummy/db/seeds.rb
  111. BIN spec/dummy/dummy_dev
  112. BIN spec/dummy/dummy_test
  113. 0 spec/dummy/lib/assets/.gitkeep
  114. 0 spec/dummy/log/.gitkeep
  115. +26 −0 spec/dummy/public/404.html
  116. +26 −0 spec/dummy/public/422.html
  117. +25 −0 spec/dummy/public/500.html
  118. 0 spec/dummy/public/favicon.ico
  119. +6 −0 spec/dummy/script/rails
  120. +18 −0 spec/models/refinery/calendar/event_spec.rb
  121. +18 −0 spec/models/refinery/calendar/venue_spec.rb
  122. +101 −0 spec/requests/refinery/calendar/admin/events_spec.rb
  123. +101 −0 spec/requests/refinery/calendar/admin/venues_spec.rb
  124. +50 −0 spec/spec_helper.rb
  125. +7 −0 spec/support/factories/refinery/events.rb
  126. +7 −0 spec/support/factories/refinery/venues.rb
  127. +6 −0 tasks/rspec.rake
  128. +8 −0 tasks/testing.rake
  129. BIN vendor/assets/images/chosen-sprite.png
  130. +10 −0 vendor/assets/javascripts/chosen.jquery.min.js
  131. +372 −0 vendor/assets/stylesheets/chosen.css
View
@@ -1 +1,79 @@
-*.gem
+*.gem# Rails
+.bundle
+db/*.sqlite3
+db/*.sqlite3-journal
+*.log
+tmp
+tmp/**/*
+
+# Documentation
+doc/api
+doc/app
+.yardoc
+.yardopts
+coverage
+
+# Public Uploads
+public/system/*
+public/themes/*
+
+# Public Cache
+public/javascripts/cache
+public/stylesheets/cache
+
+# Vendor Cache
+vendor/cache
+
+# Acts as Indexed
+index/**/*
+
+# Refinery Specific
+*.tmproj
+*.autobackupbyrefinery.*
+refinerycms-*.gem
+
+# Mac
+.DS_Store
+
+# Windows
+Thumbs.db
+
+# NetBeans
+nbproject
+
+# Eclipse
+.project
+
+# Redcar
+.redcar
+
+# Rubinius
+*.rbc
+
+# Vim
+*.swp
+*.swo
+
+# RubyMine
+.idea
+
+# E-texteditor
+.eprj
+
+# Backup
+*~
+
+# Capybara Bug
+capybara-*html
+
+# sass
+.sass-cache
+.sass-cache/*
+
+#rvm
+.rvmrc
+.rvmrc.*
+
+# vendor/extensions dummy applications.
+vendor/extensions/**/spec/dummy
+
View
69 Gemfile
@@ -1,4 +1,71 @@
source "http://rubygems.org"
-# Specify your gem's dependencies in cxensory.gemspec
gemspec
+
+gem 'refinerycms', '~> 2.0.0'
+
+# Refinery/rails should pull in the proper versions of these
+group :assets do
+ gem 'sass-rails'
+ gem 'coffee-rails'
+ gem 'uglifier'
+end
+
+gem 'jquery-rails'
+
+group :development, :test do
+ gem 'refinerycms-testing', '~> 2.0.0'
+ gem 'factory_girl_rails'
+ gem 'generator_spec'
+
+ require 'rbconfig'
+
+ platforms :jruby do
+ gem 'activerecord-jdbcsqlite3-adapter'
+ gem 'activerecord-jdbcmysql-adapter'
+ gem 'activerecord-jdbcpostgresql-adapter'
+ gem 'jruby-openssl'
+ end
+
+ unless defined?(JRUBY_VERSION)
+ group :development, :test do
+ gem 'sqlite3'
+end
+ gem 'mysql2'
+ gem 'pg'
+ end
+
+ platforms :mswin, :mingw do
+ gem 'win32console'
+ gem 'rb-fchange', '~> 0.0.5'
+ gem 'rb-notifu', '~> 0.0.4'
+ end
+
+ platforms :ruby do
+ gem 'spork', '0.9.0.rc9'
+ gem 'guard-spork'
+
+ unless ENV['TRAVIS']
+ if RbConfig::CONFIG['target_os'] =~ /darwin/i
+ gem 'rb-fsevent', '>= 0.3.9'
+ gem 'growl', '~> 1.0.3'
+ end
+ if RbConfig::CONFIG['target_os'] =~ /linux/i
+ gem 'rb-inotify', '>= 0.5.1'
+ gem 'libnotify', '~> 0.1.3'
+ end
+ end
+ end
+
+ platforms :jruby do
+ unless ENV['TRAVIS']
+ if RbConfig::CONFIG['target_os'] =~ /darwin/i
+ gem 'growl', '~> 1.0.3'
+ end
+ if RbConfig::CONFIG['target_os'] =~ /linux/i
+ gem 'rb-inotify', '>= 0.5.1'
+ gem 'libnotify', '~> 0.1.3'
+ end
+ end
+ end
+end
Oops, something went wrong.

0 comments on commit c8e2087

Please sign in to comment.