rails_refactor 1.4 → 1.4.1

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.
Files changed (101) hide show
  1. checksums.yaml +4 -4
  2. metadata +13 -119
  3. data/CHANGELOG +0 -5
  4. data/Gemfile +0 -7
  5. data/Gemfile.lock +0 -118
  6. data/Manifest +0 -101
  7. data/README +0 -47
  8. data/Rakefile +0 -8
  9. data/dummy/Gemfile +0 -48
  10. data/dummy/Gemfile.lock +0 -182
  11. data/dummy/README.rdoc +0 -28
  12. data/dummy/Rakefile +0 -6
  13. data/dummy/app/assets/javascripts/application.js +0 -16
  14. data/dummy/app/assets/stylesheets/application.css +0 -15
  15. data/dummy/app/controllers/application_controller.rb +0 -5
  16. data/dummy/app/controllers/dummies_controller.rb +0 -4
  17. data/dummy/app/helpers/application_helper.rb +0 -2
  18. data/dummy/app/helpers/dummies_helper.rb +0 -2
  19. data/dummy/app/models/dummy_model.rb +0 -2
  20. data/dummy/app/views/dummies/index.html.erb +0 -1
  21. data/dummy/app/views/layouts/application.html.erb +0 -14
  22. data/dummy/bin/bundle +0 -3
  23. data/dummy/bin/rails +0 -9
  24. data/dummy/bin/rake +0 -9
  25. data/dummy/bin/setup +0 -29
  26. data/dummy/bin/spring +0 -17
  27. data/dummy/config.ru +0 -4
  28. data/dummy/config/application.rb +0 -26
  29. data/dummy/config/boot.rb +0 -3
  30. data/dummy/config/database.yml +0 -25
  31. data/dummy/config/environment.rb +0 -5
  32. data/dummy/config/environments/development.rb +0 -41
  33. data/dummy/config/environments/production.rb +0 -79
  34. data/dummy/config/environments/test.rb +0 -42
  35. data/dummy/config/initializers/assets.rb +0 -11
  36. data/dummy/config/initializers/backtrace_silencers.rb +0 -7
  37. data/dummy/config/initializers/cookies_serializer.rb +0 -3
  38. data/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  39. data/dummy/config/initializers/inflections.rb +0 -16
  40. data/dummy/config/initializers/mime_types.rb +0 -4
  41. data/dummy/config/initializers/session_store.rb +0 -3
  42. data/dummy/config/initializers/wrap_parameters.rb +0 -14
  43. data/dummy/config/locales/en.yml +0 -23
  44. data/dummy/config/routes.rb +0 -58
  45. data/dummy/config/secrets.yml +0 -22
  46. data/dummy/db/development.sqlite3 +0 -0
  47. data/dummy/db/migrate/20170214234158_create_dummy_models.rb +0 -8
  48. data/dummy/db/schema.rb +0 -21
  49. data/dummy/db/seeds.rb +0 -7
  50. data/dummy/db/test.sqlite3 +0 -0
  51. data/dummy/public/404.html +0 -67
  52. data/dummy/public/422.html +0 -67
  53. data/dummy/public/500.html +0 -66
  54. data/dummy/public/favicon.ico +0 -0
  55. data/dummy/public/robots.txt +0 -5
  56. data/dummy/spec/controllers/dummies_controller_spec.rb +0 -5
  57. data/dummy/spec/helpers/dummies_helper_spec.rb +0 -15
  58. data/dummy/spec/models/dummy_model_spec.rb +0 -5
  59. data/dummy/test/controllers/dummies_controller_test.rb +0 -7
  60. data/dummy/test/test_helper.rb +0 -10
  61. data/dummy/tmp/cache/assets/sprockets/v3.0/0J/0J8Y06zzUR0l-98gVnUiZSMLWIcgvag6JZrSQ-GmMkE.cache +0 -1
  62. data/dummy/tmp/cache/assets/sprockets/v3.0/5L/5Lly_CA8DZvPhQV2jDQx-Y6P_y3Ygra9t5jfSlGhHDA.cache +0 -2
  63. data/dummy/tmp/cache/assets/sprockets/v3.0/5_/5_pSHecLeN6enAq048bTQIyPEeerwPmymDDBzkkUPh8.cache +0 -3
  64. data/dummy/tmp/cache/assets/sprockets/v3.0/6g/6gIGeJ7YOb0mGXuJl0wUP4DKR_t_JayqkocSgkH1juA.cache +0 -3
  65. data/dummy/tmp/cache/assets/sprockets/v3.0/7R/7Ro3YPQDojP1-t-d3Z7XH5fud5RudfD-VykLAH2ryrI.cache +0 -1
  66. data/dummy/tmp/cache/assets/sprockets/v3.0/AP/APY89OAPJx9A3D3xcCoktvEvQUs7NcWChYXnjjjPzz0.cache +0 -2
  67. data/dummy/tmp/cache/assets/sprockets/v3.0/B1/B1GAmsRS-7nrUGTtmGdBxR-f9gl5kBZFy8p3kxTwSTs.cache +0 -0
  68. data/dummy/tmp/cache/assets/sprockets/v3.0/DS/DSOLSc6A5RVSmvM415eEWAWG_AgOvZcLZOXQjsXyWQA.cache +0 -2
  69. data/dummy/tmp/cache/assets/sprockets/v3.0/EB/EBtbhweQl74JQNkwFL3ahZH_9x44ceqa9hOT8lQ_SfM.cache +0 -2
  70. data/dummy/tmp/cache/assets/sprockets/v3.0/EQ/EQMU7OcCaRj7JaYia8OeWraimRFV08I3NajpxItPr_w.cache +0 -0
  71. data/dummy/tmp/cache/assets/sprockets/v3.0/Ei/Eiaf8C3zv64tXNf5ivlq4Xt_e2Y7Qogp6h6u_m4wrf4.cache +0 -3
  72. data/dummy/tmp/cache/assets/sprockets/v3.0/F0/F0RI4bpYPGBeSWP4Z-xOqkBXUDDtYfPU5kjPmlh_vTA.cache +0 -1
  73. data/dummy/tmp/cache/assets/sprockets/v3.0/Fn/FnLIvSU0P0Rr-3KeF2pL7CxFqJ4KOhpvlvlng0Q7scA.cache +0 -1
  74. data/dummy/tmp/cache/assets/sprockets/v3.0/If/If2pWtLkR3jpGhpRfDHDv6Ualti_bgfhSuuBXfpEETU.cache +0 -1
  75. data/dummy/tmp/cache/assets/sprockets/v3.0/J3/J3DjyBJAVYBXic6ylywPlr9zf2GJoNPO4vlBarB0tYE.cache +0 -1
  76. data/dummy/tmp/cache/assets/sprockets/v3.0/JV/JVm8t7ehDHucqDbG2dnfRUSvxgaWqFAtRuaH5MRIFfQ.cache +0 -1
  77. data/dummy/tmp/cache/assets/sprockets/v3.0/NO/NO-TZrEcLyQuB-5piSqbSbplmk8woO8-MItXY1xhQ1o.cache +0 -1
  78. data/dummy/tmp/cache/assets/sprockets/v3.0/OI/OI6uxGcnsKavdWTtwDAasU3wPx8QXhzBgV0X2n1KjMQ.cache +0 -2
  79. data/dummy/tmp/cache/assets/sprockets/v3.0/Ob/ObPHFplxs2zahTFNBoOE3MyzhbEa02fTq6kHwrF_99k.cache +0 -0
  80. data/dummy/tmp/cache/assets/sprockets/v3.0/P-/P-XWFt9GTflkbs5BRhEjQR24IST4x2rHkKKFWEpkzlQ.cache +0 -0
  81. data/dummy/tmp/cache/assets/sprockets/v3.0/P-/P-oAGmeqPPkPtepd3yRW1xcBAyZ9PQCknUSTP_1fTrQ.cache +0 -1
  82. data/dummy/tmp/cache/assets/sprockets/v3.0/UM/UM_H6cyEQXE2u2lO-7guFFdIyuBjYw5RW21t4QuycQA.cache +0 -1
  83. data/dummy/tmp/cache/assets/sprockets/v3.0/Uw/UwU65qhibWAQvgqfEfTBcPEM0bLevORl9_crJGs9V8Q.cache +0 -2
  84. data/dummy/tmp/cache/assets/sprockets/v3.0/Wc/Wcbt_SUiw7SB3-AFGrGfobJl1pJ2v7hh6d-EHtIDyjw.cache +0 -1
  85. data/dummy/tmp/cache/assets/sprockets/v3.0/YI/YI7HlLnxIPnVWHFYzsD15uJqjPns27jfpxmBzrGXxgg.cache +0 -1
  86. data/dummy/tmp/cache/assets/sprockets/v3.0/dc/dck2gjYqgYSFSeqIOUXeSgSL3egPgMN2G3DLwJasyB8.cache +0 -1
  87. data/dummy/tmp/cache/assets/sprockets/v3.0/ee/ee1zuHshHLX_IASgBziKkg4IG8hJbCkDVmtfRAHAsNU.cache +0 -1
  88. data/dummy/tmp/cache/assets/sprockets/v3.0/f3/f3o9-VEcurfcZdAMlf8m6cdb1opLEn0eccuxSGKbKiE.cache +0 -1
  89. data/dummy/tmp/cache/assets/sprockets/v3.0/fA/fAE09zGXw4wj48ZxewRL1pMf7NkgZC7cKMZuVWl5sMI.cache +0 -0
  90. data/dummy/tmp/cache/assets/sprockets/v3.0/fF/fF_7i0aX5AmlsztdZHN_NUINWYFOJy1w-ZP8LtWLpTU.cache +0 -1
  91. data/dummy/tmp/cache/assets/sprockets/v3.0/fi/fiz6eKj5NRr_-GdbbbAjV6KkXc_Z1IRsnmf5Mh1qXSs.cache +0 -0
  92. data/dummy/tmp/cache/assets/sprockets/v3.0/hW/hWIGlqeCSpLpGwWWM2JfMoV_54nmyCWCrsmaoy69rK8.cache +0 -0
  93. data/dummy/tmp/cache/assets/sprockets/v3.0/jf/jfwq8sz6kKFZaz8rPixf5j_e1hZo7_q2QVsfLDzDLNc.cache +0 -0
  94. data/dummy/tmp/cache/assets/sprockets/v3.0/jj/jjUB1ir1Vdt5WLpR9DWUSfHdRTL_Fsfq3nTAf7fJkYg.cache +0 -0
  95. data/dummy/tmp/cache/assets/sprockets/v3.0/kS/kSkCWaAJCcTgZ_AhrRCjZhNtkE12cubiq70uNtditqk.cache +0 -2
  96. data/dummy/tmp/cache/assets/sprockets/v3.0/lp/lp9jvq-ApxVb7qJI6YEaanVXs5zA1rivibtabrOo-D4.cache +0 -0
  97. data/dummy/tmp/cache/assets/sprockets/v3.0/me/meI7L0bxT8qSUwyhKKtPL2OQLGljXQzVkmOSsHwujxI.cache +0 -1
  98. data/dummy/tmp/cache/assets/sprockets/v3.0/wJ/wJC8Mf7f7BE92W-e0i-JuoqCScHOc4XstbsSr49xX5I.cache +0 -1
  99. data/dummy/tmp/cache/assets/sprockets/v3.0/xE/xEWmch8fg9JmWdSpRS-FmtBQvGStIC5iK-luzXf_yiw.cache +0 -1
  100. data/dummy/tmp/cache/assets/sprockets/v3.0/xS/xSlHR2-kW_8ofNDd-wHO3YbK8NBn-Rq--Wkk6SwFQcc.cache +0 -1
  101. data/rails_refactor.gemspec +0 -22
data/Rakefile DELETED
@@ -1,8 +0,0 @@
1
- require 'echoe'
2
-
3
- Echoe.new("rails_refactor") do |p|
4
- p.author = "James Crisp & Ryan Bigg"
5
- p.email = 'james@crispdesign.net'
6
- p.summary = "Simple refactoring like rename class for Rails projects"
7
- p.url = "https://github.com/jcrisp/rails_refactor"
8
- end
@@ -1,48 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
-
4
- # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
5
- gem 'rails', '4.2.7.1'
6
- # Use sqlite3 as the database for Active Record
7
- gem 'sqlite3'
8
- # Use SCSS for stylesheets
9
- gem 'sass-rails', '~> 5.0'
10
- # Use Uglifier as compressor for JavaScript assets
11
- gem 'uglifier', '>= 1.3.0'
12
- # Use CoffeeScript for .coffee assets and views
13
- gem 'coffee-rails', '~> 4.1.0'
14
- # See https://github.com/rails/execjs#readme for more supported runtimes
15
- # gem 'therubyracer', platforms: :ruby
16
-
17
- # Use jquery as the JavaScript library
18
- gem 'jquery-rails'
19
- # Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
20
- gem 'turbolinks'
21
- # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
22
- gem 'jbuilder', '~> 2.0'
23
- # bundle exec rake doc:rails generates the API under doc/api.
24
- gem 'sdoc', '~> 0.4.0', group: :doc
25
-
26
- # Use ActiveModel has_secure_password
27
- # gem 'bcrypt', '~> 3.1.7'
28
-
29
- # Use Unicorn as the app server
30
- # gem 'unicorn'
31
-
32
- # Use Capistrano for deployment
33
- # gem 'capistrano-rails', group: :development
34
-
35
- group :development, :test do
36
- # Call 'byebug' anywhere in the code to stop execution and get a debugger console
37
- gem 'byebug'
38
- gem 'rspec-rails'
39
- end
40
-
41
- group :development do
42
- # Access an IRB console on exception pages or by using <%= console %> in views
43
- gem 'web-console', '~> 2.0'
44
-
45
- # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
46
- gem 'spring'
47
- end
48
-
@@ -1,182 +0,0 @@
1
- GEM
2
- remote: https://rubygems.org/
3
- specs:
4
- actionmailer (4.2.7.1)
5
- actionpack (= 4.2.7.1)
6
- actionview (= 4.2.7.1)
7
- activejob (= 4.2.7.1)
8
- mail (~> 2.5, >= 2.5.4)
9
- rails-dom-testing (~> 1.0, >= 1.0.5)
10
- actionpack (4.2.7.1)
11
- actionview (= 4.2.7.1)
12
- activesupport (= 4.2.7.1)
13
- rack (~> 1.6)
14
- rack-test (~> 0.6.2)
15
- rails-dom-testing (~> 1.0, >= 1.0.5)
16
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
17
- actionview (4.2.7.1)
18
- activesupport (= 4.2.7.1)
19
- builder (~> 3.1)
20
- erubis (~> 2.7.0)
21
- rails-dom-testing (~> 1.0, >= 1.0.5)
22
- rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
- activejob (4.2.7.1)
24
- activesupport (= 4.2.7.1)
25
- globalid (>= 0.3.0)
26
- activemodel (4.2.7.1)
27
- activesupport (= 4.2.7.1)
28
- builder (~> 3.1)
29
- activerecord (4.2.7.1)
30
- activemodel (= 4.2.7.1)
31
- activesupport (= 4.2.7.1)
32
- arel (~> 6.0)
33
- activesupport (4.2.7.1)
34
- i18n (~> 0.7)
35
- json (~> 1.7, >= 1.7.7)
36
- minitest (~> 5.1)
37
- thread_safe (~> 0.3, >= 0.3.4)
38
- tzinfo (~> 1.1)
39
- arel (6.0.4)
40
- binding_of_caller (0.7.2)
41
- debug_inspector (>= 0.0.1)
42
- builder (3.2.3)
43
- byebug (9.0.6)
44
- coffee-rails (4.1.1)
45
- coffee-script (>= 2.2.0)
46
- railties (>= 4.0.0, < 5.1.x)
47
- coffee-script (2.4.1)
48
- coffee-script-source
49
- execjs
50
- coffee-script-source (1.12.2)
51
- concurrent-ruby (1.0.4)
52
- crass (1.0.3)
53
- debug_inspector (0.0.2)
54
- diff-lcs (1.3)
55
- erubis (2.7.0)
56
- execjs (2.7.0)
57
- globalid (0.3.7)
58
- activesupport (>= 4.1.0)
59
- i18n (0.8.0)
60
- jbuilder (2.6.1)
61
- activesupport (>= 3.0.0, < 5.1)
62
- multi_json (~> 1.2)
63
- jquery-rails (4.2.2)
64
- rails-dom-testing (>= 1, < 3)
65
- railties (>= 4.2.0)
66
- thor (>= 0.14, < 2.0)
67
- json (1.8.6)
68
- loofah (2.2.2)
69
- crass (~> 1.0.2)
70
- nokogiri (>= 1.5.9)
71
- mail (2.6.4)
72
- mime-types (>= 1.16, < 4)
73
- mime-types (3.1)
74
- mime-types-data (~> 3.2015)
75
- mime-types-data (3.2016.0521)
76
- mini_portile2 (2.3.0)
77
- minitest (5.10.1)
78
- multi_json (1.12.1)
79
- nokogiri (1.8.2)
80
- mini_portile2 (~> 2.3.0)
81
- rack (1.6.5)
82
- rack-test (0.6.3)
83
- rack (>= 1.0)
84
- rails (4.2.7.1)
85
- actionmailer (= 4.2.7.1)
86
- actionpack (= 4.2.7.1)
87
- actionview (= 4.2.7.1)
88
- activejob (= 4.2.7.1)
89
- activemodel (= 4.2.7.1)
90
- activerecord (= 4.2.7.1)
91
- activesupport (= 4.2.7.1)
92
- bundler (>= 1.3.0, < 2.0)
93
- railties (= 4.2.7.1)
94
- sprockets-rails
95
- rails-deprecated_sanitizer (1.0.3)
96
- activesupport (>= 4.2.0.alpha)
97
- rails-dom-testing (1.0.8)
98
- activesupport (>= 4.2.0.beta, < 5.0)
99
- nokogiri (~> 1.6)
100
- rails-deprecated_sanitizer (>= 1.0.1)
101
- rails-html-sanitizer (1.0.3)
102
- loofah (~> 2.0)
103
- railties (4.2.7.1)
104
- actionpack (= 4.2.7.1)
105
- activesupport (= 4.2.7.1)
106
- rake (>= 0.8.7)
107
- thor (>= 0.18.1, < 2.0)
108
- rake (12.0.0)
109
- rdoc (4.3.0)
110
- rspec-core (3.5.4)
111
- rspec-support (~> 3.5.0)
112
- rspec-expectations (3.5.0)
113
- diff-lcs (>= 1.2.0, < 2.0)
114
- rspec-support (~> 3.5.0)
115
- rspec-mocks (3.5.0)
116
- diff-lcs (>= 1.2.0, < 2.0)
117
- rspec-support (~> 3.5.0)
118
- rspec-rails (3.5.2)
119
- actionpack (>= 3.0)
120
- activesupport (>= 3.0)
121
- railties (>= 3.0)
122
- rspec-core (~> 3.5.0)
123
- rspec-expectations (~> 3.5.0)
124
- rspec-mocks (~> 3.5.0)
125
- rspec-support (~> 3.5.0)
126
- rspec-support (3.5.0)
127
- sass (3.4.23)
128
- sass-rails (5.0.6)
129
- railties (>= 4.0.0, < 6)
130
- sass (~> 3.1)
131
- sprockets (>= 2.8, < 4.0)
132
- sprockets-rails (>= 2.0, < 4.0)
133
- tilt (>= 1.1, < 3)
134
- sdoc (0.4.2)
135
- json (~> 1.7, >= 1.7.7)
136
- rdoc (~> 4.0)
137
- spring (2.0.1)
138
- activesupport (>= 4.2)
139
- sprockets (3.7.1)
140
- concurrent-ruby (~> 1.0)
141
- rack (> 1, < 3)
142
- sprockets-rails (3.2.0)
143
- actionpack (>= 4.0)
144
- activesupport (>= 4.0)
145
- sprockets (>= 3.0.0)
146
- sqlite3 (1.3.13)
147
- thor (0.19.4)
148
- thread_safe (0.3.5)
149
- tilt (2.0.6)
150
- turbolinks (5.0.1)
151
- turbolinks-source (~> 5)
152
- turbolinks-source (5.0.0)
153
- tzinfo (1.2.2)
154
- thread_safe (~> 0.1)
155
- uglifier (3.0.4)
156
- execjs (>= 0.3.0, < 3)
157
- web-console (2.3.0)
158
- activemodel (>= 4.0)
159
- binding_of_caller (>= 0.7.2)
160
- railties (>= 4.0)
161
- sprockets-rails (>= 2.0, < 4.0)
162
-
163
- PLATFORMS
164
- ruby
165
-
166
- DEPENDENCIES
167
- byebug
168
- coffee-rails (~> 4.1.0)
169
- jbuilder (~> 2.0)
170
- jquery-rails
171
- rails (= 4.2.7.1)
172
- rspec-rails
173
- sass-rails (~> 5.0)
174
- sdoc (~> 0.4.0)
175
- spring
176
- sqlite3
177
- turbolinks
178
- uglifier (>= 1.3.0)
179
- web-console (~> 2.0)
180
-
181
- BUNDLED WITH
182
- 1.14.4
@@ -1,28 +0,0 @@
1
- == README
2
-
3
- This README would normally document whatever steps are necessary to get the
4
- application up and running.
5
-
6
- Things you may want to cover:
7
-
8
- * Ruby version
9
-
10
- * System dependencies
11
-
12
- * Configuration
13
-
14
- * Database creation
15
-
16
- * Database initialization
17
-
18
- * How to run the test suite
19
-
20
- * Services (job queues, cache servers, search engines, etc.)
21
-
22
- * Deployment instructions
23
-
24
- * ...
25
-
26
-
27
- Please feel free to use a different markup language if you do not plan to run
28
- <tt>rake doc:app</tt>.
@@ -1,6 +0,0 @@
1
- # Add your own tasks in files placed in lib/tasks ending in .rake,
2
- # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3
-
4
- require File.expand_path('../config/application', __FILE__)
5
-
6
- Rails.application.load_tasks
@@ -1,16 +0,0 @@
1
- // This is a manifest file that'll be compiled into application.js, which will include all the files
2
- // listed below.
3
- //
4
- // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
- // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
- //
7
- // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
- // compiled file.
9
- //
10
- // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
- // about supported directives.
12
- //
13
- //= require jquery
14
- //= require jquery_ujs
15
- //= require turbolinks
16
- //= require_tree .
@@ -1,15 +0,0 @@
1
- /*
2
- * This is a manifest file that'll be compiled into application.css, which will include all the files
3
- * listed below.
4
- *
5
- * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
- * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
- *
8
- * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
- * compiled file so the styles you add here take precedence over styles defined in any styles
10
- * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
- * file per style scope.
12
- *
13
- *= require_tree .
14
- *= require_self
15
- */
@@ -1,5 +0,0 @@
1
- class ApplicationController < ActionController::Base
2
- # Prevent CSRF attacks by raising an exception.
3
- # For APIs, you may want to use :null_session instead.
4
- protect_from_forgery with: :exception
5
- end
@@ -1,4 +0,0 @@
1
- class DummiesController < ApplicationController
2
- def index
3
- end
4
- end
@@ -1,2 +0,0 @@
1
- module ApplicationHelper
2
- end
@@ -1,2 +0,0 @@
1
- module DummiesHelper
2
- end
@@ -1,2 +0,0 @@
1
- class DummyModel < ActiveRecord::Base
2
- end
@@ -1 +0,0 @@
1
- Sample index
@@ -1,14 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Dummy</title>
5
- <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
6
- <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
7
- <%= csrf_meta_tags %>
8
- </head>
9
- <body>
10
-
11
- <%= yield %>
12
-
13
- </body>
14
- </html>
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env ruby
2
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
3
- load Gem.bin_path('bundler', 'bundle')
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env ruby
2
- begin
3
- load File.expand_path('../spring', __FILE__)
4
- rescue LoadError => e
5
- raise unless e.message.include?('spring')
6
- end
7
- APP_PATH = File.expand_path('../../config/application', __FILE__)
8
- require_relative '../config/boot'
9
- require 'rails/commands'
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env ruby
2
- begin
3
- load File.expand_path('../spring', __FILE__)
4
- rescue LoadError => e
5
- raise unless e.message.include?('spring')
6
- end
7
- require_relative '../config/boot'
8
- require 'rake'
9
- Rake.application.run
@@ -1,29 +0,0 @@
1
- #!/usr/bin/env ruby
2
- require 'pathname'
3
-
4
- # path to your application root.
5
- APP_ROOT = Pathname.new File.expand_path('../../', __FILE__)
6
-
7
- Dir.chdir APP_ROOT do
8
- # This script is a starting point to setup your application.
9
- # Add necessary setup steps to this file:
10
-
11
- puts "== Installing dependencies =="
12
- system "gem install bundler --conservative"
13
- system "bundle check || bundle install"
14
-
15
- # puts "\n== Copying sample files =="
16
- # unless File.exist?("config/database.yml")
17
- # system "cp config/database.yml.sample config/database.yml"
18
- # end
19
-
20
- puts "\n== Preparing database =="
21
- system "bin/rake db:setup"
22
-
23
- puts "\n== Removing old logs and tempfiles =="
24
- system "rm -f log/*"
25
- system "rm -rf tmp/cache"
26
-
27
- puts "\n== Restarting application server =="
28
- system "touch tmp/restart.txt"
29
- end
@@ -1,17 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- # This file loads spring without using Bundler, in order to be fast.
4
- # It gets overwritten when you run the `spring binstub` command.
5
-
6
- unless defined?(Spring)
7
- require 'rubygems'
8
- require 'bundler'
9
-
10
- lockfile = Bundler::LockfileParser.new(Bundler.default_lockfile.read)
11
- spring = lockfile.specs.detect { |spec| spec.name == "spring" }
12
- if spring
13
- Gem.use_paths Gem.dir, Bundler.bundle_path.to_s, *Gem.path
14
- gem 'spring', spring.version
15
- require 'spring/binstub'
16
- end
17
- end
@@ -1,4 +0,0 @@
1
- # This file is used by Rack-based servers to start the application.
2
-
3
- require ::File.expand_path('../config/environment', __FILE__)
4
- run Rails.application
@@ -1,26 +0,0 @@
1
- require File.expand_path('../boot', __FILE__)
2
-
3
- require 'rails/all'
4
-
5
- # Require the gems listed in Gemfile, including any gems
6
- # you've limited to :test, :development, or :production.
7
- Bundler.require(*Rails.groups)
8
-
9
- module Dummy
10
- class Application < Rails::Application
11
- # Settings in config/environments/* take precedence over those specified here.
12
- # Application configuration should go into files in config/initializers
13
- # -- all .rb files in that directory are automatically loaded.
14
-
15
- # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
16
- # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
17
- # config.time_zone = 'Central Time (US & Canada)'
18
-
19
- # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
20
- # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
21
- # config.i18n.default_locale = :de
22
-
23
- # Do not swallow errors in after_commit/after_rollback callbacks.
24
- config.active_record.raise_in_transactional_callbacks = true
25
- end
26
- end