orthodox 0.1.0 → 0.2.0

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 (74) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/dummy/.gitignore +30 -0
  4. data/dummy/.ruby-version +1 -0
  5. data/dummy/Gemfile +64 -0
  6. data/dummy/Gemfile.lock +234 -0
  7. data/dummy/README.md +24 -0
  8. data/dummy/Rakefile +6 -0
  9. data/dummy/app/channels/application_cable/channel.rb +4 -0
  10. data/dummy/app/channels/application_cable/connection.rb +4 -0
  11. data/dummy/app/controllers/application_controller.rb +2 -0
  12. data/dummy/app/controllers/concerns/.keep +0 -0
  13. data/dummy/app/helpers/application_helper.rb +2 -0
  14. data/dummy/app/jobs/application_job.rb +2 -0
  15. data/dummy/app/mailers/application_mailer.rb +4 -0
  16. data/dummy/app/models/application_record.rb +3 -0
  17. data/dummy/app/models/concerns/.keep +0 -0
  18. data/dummy/app/views/layouts/application.html.erb +15 -0
  19. data/dummy/app/views/layouts/mailer.html.erb +13 -0
  20. data/dummy/app/views/layouts/mailer.text.erb +1 -0
  21. data/dummy/bin/bundle +3 -0
  22. data/dummy/bin/rails +9 -0
  23. data/dummy/bin/rake +9 -0
  24. data/dummy/bin/setup +36 -0
  25. data/dummy/bin/spring +17 -0
  26. data/dummy/bin/update +31 -0
  27. data/dummy/bin/yarn +11 -0
  28. data/dummy/config.ru +5 -0
  29. data/dummy/config/application.rb +19 -0
  30. data/dummy/config/boot.rb +4 -0
  31. data/dummy/config/cable.yml +10 -0
  32. data/dummy/config/credentials.yml.enc +1 -0
  33. data/dummy/config/database.yml +25 -0
  34. data/dummy/config/environment.rb +5 -0
  35. data/dummy/config/environments/development.rb +61 -0
  36. data/dummy/config/environments/production.rb +94 -0
  37. data/dummy/config/environments/test.rb +46 -0
  38. data/dummy/config/initializers/application_controller_renderer.rb +8 -0
  39. data/dummy/config/initializers/assets.rb +14 -0
  40. data/dummy/config/initializers/backtrace_silencers.rb +7 -0
  41. data/dummy/config/initializers/content_security_policy.rb +25 -0
  42. data/dummy/config/initializers/cookies_serializer.rb +5 -0
  43. data/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  44. data/dummy/config/initializers/inflections.rb +16 -0
  45. data/dummy/config/initializers/mime_types.rb +4 -0
  46. data/dummy/config/initializers/wrap_parameters.rb +14 -0
  47. data/dummy/config/locales/en.yml +33 -0
  48. data/dummy/config/puma.rb +34 -0
  49. data/dummy/config/routes.rb +3 -0
  50. data/dummy/config/spring.rb +6 -0
  51. data/dummy/config/storage.yml +34 -0
  52. data/dummy/db/seeds.rb +7 -0
  53. data/dummy/lib/assets/.keep +0 -0
  54. data/dummy/lib/tasks/.keep +0 -0
  55. data/dummy/log/.keep +0 -0
  56. data/dummy/package.json +5 -0
  57. data/dummy/public/404.html +67 -0
  58. data/dummy/public/422.html +67 -0
  59. data/dummy/public/500.html +66 -0
  60. data/dummy/public/apple-touch-icon-precomposed.png +0 -0
  61. data/dummy/public/apple-touch-icon.png +0 -0
  62. data/dummy/public/favicon.ico +0 -0
  63. data/dummy/public/robots.txt +1 -0
  64. data/dummy/tmp/.keep +0 -0
  65. data/lib/generators/coffeescript/USAGE +3 -6
  66. data/lib/generators/coffeescript/coffeescript_generator.rb +6 -38
  67. data/lib/generators/coffeescript/templates/coffeescript.coffee.erb +5 -4
  68. data/lib/generators/controller/controller_generator.rb +4 -9
  69. data/lib/generators/sass/USAGE +3 -6
  70. data/lib/generators/sass/sass_generator.rb +4 -19
  71. data/lib/generators/sass/templates/sass.sass.erb +1 -1
  72. data/lib/orthodox/version.rb +1 -1
  73. data/orthodox.gemspec +3 -2
  74. metadata +85 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e2ce9bc422482cca45788e382a1a63f52a14c2aabe8507419a0329a60897fea5
4
- data.tar.gz: '048c63b3e2a6cda46cdc7ecc327ee6d4eceff0eff1ad92a2f83310cacb942c23'
3
+ metadata.gz: aa9278683ad2a591566773d2581f7994a9a17b640be5035f703db922e6a2e07d
4
+ data.tar.gz: 7220f881319f25436513e2e921ff496125a317488c25ef4437dee8a750cf4741
5
5
  SHA512:
6
- metadata.gz: f2e544483ac290d1491c41f713bea534a71653718b8a0ac2fe66b83004d47a28659b695e0afb283fdf74d25dbfb0867f52065dd7844b2428554d353a5e855173
7
- data.tar.gz: c0691cbd280d8c5d9417025e02ef50fb5fbd9faad8c362f0746ce541b736bf05c0e07f4247d3e17027311ba7d88f7e5de7f2c1ce6b1806fc22c389a3239fe2d2
6
+ metadata.gz: 157f44f54285a375d09ed643e720ec523734a4995b8f37aa11f2bcb259b555a8ab4d2e2214fe4a9fa4b5d862715a35d20eeb3e37027f4db27d42527589af0ba4
7
+ data.tar.gz: ffe76df5b90552a252b888f1e2a253f6b8c6cc46ecfa25dbf9e03fa6337a33caef696a04309af1663fae534a831e0cda53ec7251fc93a4bc3247423575be8fd3
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /dummy/app/assets/**/*
data/dummy/.gitignore ADDED
@@ -0,0 +1,30 @@
1
+ # See https://help.github.com/articles/ignoring-files for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile '~/.gitignore_global'
6
+
7
+ # Ignore bundler config.
8
+ /.bundle
9
+
10
+ # Ignore the default SQLite database.
11
+ /db/*.sqlite3
12
+ /db/*.sqlite3-journal
13
+
14
+ # Ignore all logfiles and tempfiles.
15
+ /log/*
16
+ /tmp/*
17
+ !/log/.keep
18
+ !/tmp/.keep
19
+
20
+ # Ignore uploaded files in development
21
+ /storage/*
22
+
23
+ /node_modules
24
+ /yarn-error.log
25
+
26
+ /public/assets
27
+ .byebug_history
28
+
29
+ # Ignore master key for decrypting credentials and more.
30
+ /config/master.key
@@ -0,0 +1 @@
1
+ 2.4.2
data/dummy/Gemfile ADDED
@@ -0,0 +1,64 @@
1
+ source 'https://rubygems.org'
2
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
+
4
+ ruby '2.4.2'
5
+
6
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
7
+ gem 'rails', '~> 5.2.0'
8
+ # Use sqlite3 as the database for Active Record
9
+ gem 'sqlite3'
10
+ # Use Puma as the app server
11
+ gem 'puma', '~> 3.11'
12
+ # Use SCSS for stylesheets
13
+ gem 'sass-rails', '~> 5.0'
14
+ # Use Uglifier as compressor for JavaScript assets
15
+ gem 'uglifier', '>= 1.3.0'
16
+ # See https://github.com/rails/execjs#readme for more supported runtimes
17
+ # gem 'mini_racer', platforms: :ruby
18
+
19
+ # Use CoffeeScript for .coffee assets and views
20
+ gem 'coffee-rails', '~> 4.2'
21
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
22
+ gem 'turbolinks', '~> 5'
23
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
24
+ gem 'jbuilder', '~> 2.5'
25
+ # Use Redis adapter to run Action Cable in production
26
+ # gem 'redis', '~> 4.0'
27
+ # Use ActiveModel has_secure_password
28
+ # gem 'bcrypt', '~> 3.1.7'
29
+
30
+ # Use ActiveStorage variant
31
+ # gem 'mini_magick', '~> 4.8'
32
+
33
+ # Use Capistrano for deployment
34
+ # gem 'capistrano-rails', group: :development
35
+
36
+ gem "orthodox", path: '..'
37
+
38
+ # Reduces boot times through caching; required in config/boot.rb
39
+ gem 'bootsnap', '>= 1.1.0', require: false
40
+
41
+ group :development, :test do
42
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
43
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
44
+ end
45
+
46
+ group :development do
47
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
48
+ gem 'web-console', '>= 3.3.0'
49
+ gem 'listen', '>= 3.0.5', '< 3.2'
50
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
51
+ gem 'spring'
52
+ gem 'spring-watcher-listen', '~> 2.0.0'
53
+ end
54
+
55
+ group :test do
56
+ # Adds support for Capybara system testing and selenium driver
57
+ gem 'capybara', '>= 2.15', '< 4.0'
58
+ gem 'selenium-webdriver'
59
+ # Easy installation and use of chromedriver to run system tests with Chrome
60
+ gem 'chromedriver-helper'
61
+ end
62
+
63
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
64
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
@@ -0,0 +1,234 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ orthodox (0.1.0)
5
+ rails (>= 3.0.0)
6
+ slim-rails
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actioncable (5.2.0)
12
+ actionpack (= 5.2.0)
13
+ nio4r (~> 2.0)
14
+ websocket-driver (>= 0.6.1)
15
+ actionmailer (5.2.0)
16
+ actionpack (= 5.2.0)
17
+ actionview (= 5.2.0)
18
+ activejob (= 5.2.0)
19
+ mail (~> 2.5, >= 2.5.4)
20
+ rails-dom-testing (~> 2.0)
21
+ actionpack (5.2.0)
22
+ actionview (= 5.2.0)
23
+ activesupport (= 5.2.0)
24
+ rack (~> 2.0)
25
+ rack-test (>= 0.6.3)
26
+ rails-dom-testing (~> 2.0)
27
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
28
+ actionview (5.2.0)
29
+ activesupport (= 5.2.0)
30
+ builder (~> 3.1)
31
+ erubi (~> 1.4)
32
+ rails-dom-testing (~> 2.0)
33
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
34
+ activejob (5.2.0)
35
+ activesupport (= 5.2.0)
36
+ globalid (>= 0.3.6)
37
+ activemodel (5.2.0)
38
+ activesupport (= 5.2.0)
39
+ activerecord (5.2.0)
40
+ activemodel (= 5.2.0)
41
+ activesupport (= 5.2.0)
42
+ arel (>= 9.0)
43
+ activestorage (5.2.0)
44
+ actionpack (= 5.2.0)
45
+ activerecord (= 5.2.0)
46
+ marcel (~> 0.3.1)
47
+ activesupport (5.2.0)
48
+ concurrent-ruby (~> 1.0, >= 1.0.2)
49
+ i18n (>= 0.7, < 2)
50
+ minitest (~> 5.1)
51
+ tzinfo (~> 1.1)
52
+ addressable (2.5.2)
53
+ public_suffix (>= 2.0.2, < 4.0)
54
+ archive-zip (0.11.0)
55
+ io-like (~> 0.3.0)
56
+ arel (9.0.0)
57
+ bindex (0.5.0)
58
+ bootsnap (1.3.0)
59
+ msgpack (~> 1.0)
60
+ builder (3.2.3)
61
+ byebug (10.0.2)
62
+ capybara (3.3.1)
63
+ addressable
64
+ mini_mime (>= 0.1.3)
65
+ nokogiri (~> 1.8)
66
+ rack (>= 1.6.0)
67
+ rack-test (>= 0.6.3)
68
+ xpath (~> 3.1)
69
+ childprocess (0.9.0)
70
+ ffi (~> 1.0, >= 1.0.11)
71
+ chromedriver-helper (1.2.0)
72
+ archive-zip (~> 0.10)
73
+ nokogiri (~> 1.8)
74
+ coffee-rails (4.2.2)
75
+ coffee-script (>= 2.2.0)
76
+ railties (>= 4.0.0)
77
+ coffee-script (2.4.1)
78
+ coffee-script-source
79
+ execjs
80
+ coffee-script-source (1.12.2)
81
+ concurrent-ruby (1.0.5)
82
+ crass (1.0.4)
83
+ erubi (1.7.1)
84
+ execjs (2.7.0)
85
+ ffi (1.9.25)
86
+ globalid (0.4.1)
87
+ activesupport (>= 4.2.0)
88
+ i18n (1.0.1)
89
+ concurrent-ruby (~> 1.0)
90
+ io-like (0.3.0)
91
+ jbuilder (2.7.0)
92
+ activesupport (>= 4.2.0)
93
+ multi_json (>= 1.2)
94
+ listen (3.1.5)
95
+ rb-fsevent (~> 0.9, >= 0.9.4)
96
+ rb-inotify (~> 0.9, >= 0.9.7)
97
+ ruby_dep (~> 1.2)
98
+ loofah (2.2.2)
99
+ crass (~> 1.0.2)
100
+ nokogiri (>= 1.5.9)
101
+ mail (2.7.0)
102
+ mini_mime (>= 0.1.1)
103
+ marcel (0.3.2)
104
+ mimemagic (~> 0.3.2)
105
+ method_source (0.9.0)
106
+ mimemagic (0.3.2)
107
+ mini_mime (1.0.0)
108
+ mini_portile2 (2.3.0)
109
+ minitest (5.11.3)
110
+ msgpack (1.2.4)
111
+ multi_json (1.13.1)
112
+ nio4r (2.3.1)
113
+ nokogiri (1.8.3)
114
+ mini_portile2 (~> 2.3.0)
115
+ public_suffix (3.0.2)
116
+ puma (3.11.4)
117
+ rack (2.0.5)
118
+ rack-test (1.0.0)
119
+ rack (>= 1.0, < 3)
120
+ rails (5.2.0)
121
+ actioncable (= 5.2.0)
122
+ actionmailer (= 5.2.0)
123
+ actionpack (= 5.2.0)
124
+ actionview (= 5.2.0)
125
+ activejob (= 5.2.0)
126
+ activemodel (= 5.2.0)
127
+ activerecord (= 5.2.0)
128
+ activestorage (= 5.2.0)
129
+ activesupport (= 5.2.0)
130
+ bundler (>= 1.3.0)
131
+ railties (= 5.2.0)
132
+ sprockets-rails (>= 2.0.0)
133
+ rails-dom-testing (2.0.3)
134
+ activesupport (>= 4.2.0)
135
+ nokogiri (>= 1.6)
136
+ rails-html-sanitizer (1.0.4)
137
+ loofah (~> 2.2, >= 2.2.2)
138
+ railties (5.2.0)
139
+ actionpack (= 5.2.0)
140
+ activesupport (= 5.2.0)
141
+ method_source
142
+ rake (>= 0.8.7)
143
+ thor (>= 0.18.1, < 2.0)
144
+ rake (12.3.1)
145
+ rb-fsevent (0.10.3)
146
+ rb-inotify (0.9.10)
147
+ ffi (>= 0.5.0, < 2)
148
+ ruby_dep (1.5.0)
149
+ rubyzip (1.2.1)
150
+ sass (3.5.6)
151
+ sass-listen (~> 4.0.0)
152
+ sass-listen (4.0.0)
153
+ rb-fsevent (~> 0.9, >= 0.9.4)
154
+ rb-inotify (~> 0.9, >= 0.9.7)
155
+ sass-rails (5.0.7)
156
+ railties (>= 4.0.0, < 6)
157
+ sass (~> 3.1)
158
+ sprockets (>= 2.8, < 4.0)
159
+ sprockets-rails (>= 2.0, < 4.0)
160
+ tilt (>= 1.1, < 3)
161
+ selenium-webdriver (3.13.0)
162
+ childprocess (~> 0.5)
163
+ rubyzip (~> 1.2)
164
+ slim (3.0.9)
165
+ temple (>= 0.7.6, < 0.9)
166
+ tilt (>= 1.3.3, < 2.1)
167
+ slim-rails (3.1.3)
168
+ actionpack (>= 3.1)
169
+ railties (>= 3.1)
170
+ slim (~> 3.0)
171
+ spring (2.0.2)
172
+ activesupport (>= 4.2)
173
+ spring-watcher-listen (2.0.1)
174
+ listen (>= 2.7, < 4.0)
175
+ spring (>= 1.2, < 3.0)
176
+ sprockets (3.7.2)
177
+ concurrent-ruby (~> 1.0)
178
+ rack (> 1, < 3)
179
+ sprockets-rails (3.2.1)
180
+ actionpack (>= 4.0)
181
+ activesupport (>= 4.0)
182
+ sprockets (>= 3.0.0)
183
+ sqlite3 (1.3.13)
184
+ temple (0.8.0)
185
+ thor (0.20.0)
186
+ thread_safe (0.3.6)
187
+ tilt (2.0.8)
188
+ turbolinks (5.1.1)
189
+ turbolinks-source (~> 5.1)
190
+ turbolinks-source (5.1.0)
191
+ tzinfo (1.2.5)
192
+ thread_safe (~> 0.1)
193
+ uglifier (4.1.12)
194
+ execjs (>= 0.3.0, < 3)
195
+ web-console (3.6.2)
196
+ actionview (>= 5.0)
197
+ activemodel (>= 5.0)
198
+ bindex (>= 0.4.0)
199
+ railties (>= 5.0)
200
+ websocket-driver (0.7.0)
201
+ websocket-extensions (>= 0.1.0)
202
+ websocket-extensions (0.1.3)
203
+ xpath (3.1.0)
204
+ nokogiri (~> 1.8)
205
+
206
+ PLATFORMS
207
+ ruby
208
+
209
+ DEPENDENCIES
210
+ bootsnap (>= 1.1.0)
211
+ byebug
212
+ capybara (>= 2.15, < 4.0)
213
+ chromedriver-helper
214
+ coffee-rails (~> 4.2)
215
+ jbuilder (~> 2.5)
216
+ listen (>= 3.0.5, < 3.2)
217
+ orthodox!
218
+ puma (~> 3.11)
219
+ rails (~> 5.2.0)
220
+ sass-rails (~> 5.0)
221
+ selenium-webdriver
222
+ spring
223
+ spring-watcher-listen (~> 2.0.0)
224
+ sqlite3
225
+ turbolinks (~> 5)
226
+ tzinfo-data
227
+ uglifier (>= 1.3.0)
228
+ web-console (>= 3.3.0)
229
+
230
+ RUBY VERSION
231
+ ruby 2.4.2p198
232
+
233
+ BUNDLED WITH
234
+ 1.16.1
data/dummy/README.md ADDED
@@ -0,0 +1,24 @@
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
+ * ...
data/dummy/Rakefile ADDED
@@ -0,0 +1,6 @@
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_relative 'config/application'
5
+
6
+ Rails.application.load_tasks
@@ -0,0 +1,4 @@
1
+ module ApplicationCable
2
+ class Channel < ActionCable::Channel::Base
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module ApplicationCable
2
+ class Connection < ActionCable::Connection::Base
3
+ end
4
+ end
@@ -0,0 +1,2 @@
1
+ class ApplicationController < ActionController::Base
2
+ end
File without changes
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
@@ -0,0 +1,2 @@
1
+ class ApplicationJob < ActiveJob::Base
2
+ end
@@ -0,0 +1,4 @@
1
+ class ApplicationMailer < ActionMailer::Base
2
+ default from: 'from@example.com'
3
+ layout 'mailer'
4
+ end
@@ -0,0 +1,3 @@
1
+ class ApplicationRecord < ActiveRecord::Base
2
+ self.abstract_class = true
3
+ end
File without changes
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <%= csrf_meta_tags %>
6
+ <%= csp_meta_tag %>
7
+
8
+ <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
9
+ <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
10
+ </head>
11
+
12
+ <body>
13
+ <%= yield %>
14
+ </body>
15
+ </html>
@@ -0,0 +1,13 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5
+ <style>
6
+ /* Email styles need to be inline */
7
+ </style>
8
+ </head>
9
+
10
+ <body>
11
+ <%= yield %>
12
+ </body>
13
+ </html>