simple_calendar 2.4.3 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +5 -4
  3. data/.gitignore +4 -0
  4. data/Appraisals +5 -5
  5. data/CHANGELOG.md +7 -0
  6. data/Gemfile +4 -1
  7. data/Gemfile.lock +157 -136
  8. data/README.md +22 -15
  9. data/Rakefile +29 -5
  10. data/app/assets/stylesheets/simple_calendar.scss +4 -0
  11. data/app/views/simple_calendar/_calendar.html.erb +7 -7
  12. data/app/views/simple_calendar/_month_calendar.html.erb +8 -8
  13. data/app/views/simple_calendar/_week_calendar.html.erb +14 -12
  14. data/bin/rails +16 -0
  15. data/gemfiles/rails_6_1.gemfile +3 -1
  16. data/gemfiles/rails_6_1.gemfile.lock +159 -131
  17. data/gemfiles/{rails_6.gemfile → rails_7_0.gemfile} +4 -2
  18. data/gemfiles/rails_7_0.gemfile.lock +222 -0
  19. data/gemfiles/{rails_master.gemfile → rails_main.gemfile} +3 -1
  20. data/gemfiles/rails_main.gemfile.lock +246 -0
  21. data/lib/simple_calendar/calendar.rb +26 -14
  22. data/lib/simple_calendar/month_calendar.rb +4 -0
  23. data/lib/simple_calendar/version.rb +1 -1
  24. data/lib/simple_calendar/view_helpers.rb +3 -3
  25. data/lib/simple_calendar/week_calendar.rb +5 -1
  26. data/lib/simple_calendar.rb +8 -1
  27. data/simple_calendar.gemspec +1 -3
  28. data/test/calendars/calendar_test.rb +154 -0
  29. data/test/calendars/month_calendar_test.rb +16 -0
  30. data/test/dummy/Rakefile +6 -0
  31. data/test/dummy/app/assets/config/manifest.js +1 -0
  32. data/test/dummy/app/assets/images/.keep +0 -0
  33. data/test/dummy/app/assets/stylesheets/application.css +1 -0
  34. data/test/dummy/app/channels/application_cable/channel.rb +4 -0
  35. data/test/dummy/app/channels/application_cable/connection.rb +4 -0
  36. data/test/dummy/app/controllers/application_controller.rb +2 -0
  37. data/test/dummy/app/controllers/concerns/.keep +0 -0
  38. data/test/dummy/app/controllers/meetings_controller.rb +59 -0
  39. data/test/dummy/app/helpers/application_helper.rb +2 -0
  40. data/test/dummy/app/helpers/meetings_helper.rb +2 -0
  41. data/test/dummy/app/jobs/application_job.rb +7 -0
  42. data/test/dummy/app/mailers/application_mailer.rb +4 -0
  43. data/test/dummy/app/models/application_record.rb +7 -0
  44. data/test/dummy/app/models/concerns/.keep +0 -0
  45. data/test/dummy/app/models/meeting.rb +2 -0
  46. data/test/dummy/app/views/layouts/application.html.erb +15 -0
  47. data/test/dummy/app/views/layouts/mailer.html.erb +13 -0
  48. data/test/dummy/app/views/layouts/mailer.text.erb +1 -0
  49. data/test/dummy/app/views/meetings/_form.html.erb +32 -0
  50. data/test/dummy/app/views/meetings/_meeting.html.erb +17 -0
  51. data/test/dummy/app/views/meetings/edit.html.erb +10 -0
  52. data/test/dummy/app/views/meetings/index.html.erb +24 -0
  53. data/test/dummy/app/views/meetings/new.html.erb +9 -0
  54. data/test/dummy/app/views/meetings/show.html.erb +10 -0
  55. data/test/dummy/bin/rails +4 -0
  56. data/test/dummy/bin/rake +4 -0
  57. data/test/dummy/bin/setup +33 -0
  58. data/test/dummy/config/application.rb +22 -0
  59. data/test/dummy/config/boot.rb +5 -0
  60. data/test/dummy/config/cable.yml +10 -0
  61. data/test/dummy/config/database.yml +25 -0
  62. data/test/dummy/config/environment.rb +5 -0
  63. data/test/dummy/config/environments/development.rb +67 -0
  64. data/test/dummy/config/environments/production.rb +87 -0
  65. data/test/dummy/config/environments/test.rb +60 -0
  66. data/test/dummy/config/initializers/content_security_policy.rb +25 -0
  67. data/test/dummy/config/initializers/filter_parameter_logging.rb +8 -0
  68. data/test/dummy/config/initializers/inflections.rb +16 -0
  69. data/test/dummy/config/initializers/permissions_policy.rb +11 -0
  70. data/test/dummy/config/locales/en.yml +33 -0
  71. data/test/dummy/config/puma.rb +43 -0
  72. data/test/dummy/config/routes.rb +7 -0
  73. data/test/dummy/config/storage.yml +34 -0
  74. data/test/dummy/config.ru +6 -0
  75. data/test/dummy/db/migrate/20220930184313_create_meetings.rb +11 -0
  76. data/test/dummy/db/schema.rb +21 -0
  77. data/test/dummy/lib/assets/.keep +0 -0
  78. data/test/dummy/log/.keep +0 -0
  79. data/test/dummy/public/404.html +67 -0
  80. data/test/dummy/public/422.html +67 -0
  81. data/test/dummy/public/500.html +66 -0
  82. data/test/dummy/public/apple-touch-icon-precomposed.png +0 -0
  83. data/test/dummy/public/apple-touch-icon.png +0 -0
  84. data/test/dummy/public/favicon.ico +0 -0
  85. data/test/dummy/storage/.keep +0 -0
  86. data/test/dummy/tmp/.keep +0 -0
  87. data/test/dummy/tmp/development_secret.txt +1 -0
  88. data/test/dummy/tmp/pids/.keep +0 -0
  89. data/test/dummy/tmp/pids/server.pid +1 -0
  90. data/test/dummy/tmp/restart.txt +0 -0
  91. data/test/dummy/tmp/storage/.keep +0 -0
  92. data/test/fixtures/meetings.yml +36 -0
  93. data/test/integrations/month_calendar_test.rb +58 -0
  94. data/test/simple_calendar_test.rb +7 -0
  95. data/test/test_helper.rb +14 -0
  96. metadata +80 -39
  97. data/gemfiles/rails_6.gemfile.lock +0 -195
  98. data/gemfiles/rails_master.gemfile.lock +0 -207
  99. data/spec/calendar_spec.rb +0 -176
  100. data/spec/calendars/month_calendar_spec.rb +0 -25
  101. data/spec/simple_calendar_spec.rb +0 -9
  102. data/spec/spec_helper.rb +0 -96
  103. data/spec/support/fake_event.rb +0 -9
  104. data/spec/support/view_context.rb +0 -20
  105. data/spec/views_generators_spec.rb +0 -7
  106. /data/lib/simple_calendar/{railtie.rb → engine.rb} +0 -0
@@ -0,0 +1,34 @@
1
+ test:
2
+ service: Disk
3
+ root: <%= Rails.root.join("tmp/storage") %>
4
+
5
+ local:
6
+ service: Disk
7
+ root: <%= Rails.root.join("storage") %>
8
+
9
+ # Use bin/rails credentials:edit to set the AWS secrets (as aws:access_key_id|secret_access_key)
10
+ # amazon:
11
+ # service: S3
12
+ # access_key_id: <%= Rails.application.credentials.dig(:aws, :access_key_id) %>
13
+ # secret_access_key: <%= Rails.application.credentials.dig(:aws, :secret_access_key) %>
14
+ # region: us-east-1
15
+ # bucket: your_own_bucket-<%= Rails.env %>
16
+
17
+ # Remember not to checkin your GCS keyfile to a repository
18
+ # google:
19
+ # service: GCS
20
+ # project: your_project
21
+ # credentials: <%= Rails.root.join("path/to/gcs.keyfile") %>
22
+ # bucket: your_own_bucket-<%= Rails.env %>
23
+
24
+ # Use bin/rails credentials:edit to set the Azure Storage secret (as azure_storage:storage_access_key)
25
+ # microsoft:
26
+ # service: AzureStorage
27
+ # storage_account_name: your_account_name
28
+ # storage_access_key: <%= Rails.application.credentials.dig(:azure_storage, :storage_access_key) %>
29
+ # container: your_container_name-<%= Rails.env %>
30
+
31
+ # mirror:
32
+ # service: Mirror
33
+ # primary: local
34
+ # mirrors: [ amazon, google, microsoft ]
@@ -0,0 +1,6 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require_relative "config/environment"
4
+
5
+ run Rails.application
6
+ Rails.application.load_server
@@ -0,0 +1,11 @@
1
+ class CreateMeetings < ActiveRecord::Migration[6.1]
2
+ def change
3
+ create_table :meetings do |t|
4
+ t.string :name
5
+ t.datetime :start_time
6
+ t.datetime :end_time
7
+
8
+ t.timestamps
9
+ end
10
+ end
11
+ end
@@ -0,0 +1,21 @@
1
+ # This file is auto-generated from the current state of the database. Instead
2
+ # of editing this file, please use the migrations feature of Active Record to
3
+ # incrementally modify your database, and then regenerate this schema definition.
4
+ #
5
+ # This file is the source Rails uses to define your schema when running `bin/rails
6
+ # db:schema:load`. When creating a new database, `bin/rails db:schema:load` tends to
7
+ # be faster and is potentially less error prone than running all of your
8
+ # migrations from scratch. Old migrations may fail to apply correctly if those
9
+ # migrations use external dependencies or application code.
10
+ #
11
+ # It's strongly recommended that you check this file into your version control system.
12
+
13
+ ActiveRecord::Schema.define(version: 2022_09_30_184313) do
14
+ create_table "meetings", force: :cascade do |t|
15
+ t.string "name"
16
+ t.datetime "start_time"
17
+ t.datetime "end_time"
18
+ t.datetime "created_at", null: false
19
+ t.datetime "updated_at", null: false
20
+ end
21
+ end
File without changes
File without changes
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ .rails-default-error-page {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ .rails-default-error-page div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ .rails-default-error-page div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ .rails-default-error-page h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ .rails-default-error-page div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body class="rails-default-error-page">
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
File without changes
File without changes
File without changes
@@ -0,0 +1 @@
1
+ 385417154446f2326be01378c4937623ff31b03c81fa45edeb89225c92e037918243b1ed9d16713314411fb6ed3cf2962bfaafcc1996a54322180368477bca66
File without changes
@@ -0,0 +1 @@
1
+ 10208
File without changes
File without changes
@@ -0,0 +1,36 @@
1
+
2
+ one_day_event:
3
+ name: One Day Event
4
+ start_time: <%= Time.current.beginning_of_day %>
5
+ end_time: <%= Time.current.end_of_day %>
6
+
7
+ two_day_event:
8
+ name: Meeting Two
9
+ start_time: <%= Time.current.beginning_of_month %>
10
+ end_time: <%= Time.current.beginning_of_month + 36.hours %>
11
+
12
+ three_day_event:
13
+ name: Three Days Events
14
+ start_time: <%= Time.current.beginning_of_month %>
15
+ end_time: <%= Time.current.beginning_of_month + 60.hours %>
16
+
17
+ event_in_the_past:
18
+ name: Event In The Past
19
+ start_time: <%= Time.current - 5.years %>
20
+ end_time: <%= Time.current - 5.years %>
21
+
22
+ events_in_the_past:
23
+ name: Events In The Past
24
+ start_time: <%= Time.current - 4.years %>
25
+ end_time: <%= Time.current - 4.years + 24.hours %>
26
+
27
+
28
+ one_day_event_in_the_future:
29
+ name: Event In The Future
30
+ start_time: <%= Time.current + 4.years %>
31
+ end_time: <%= Time.current + 4.years %>
32
+
33
+ two_day_events_in_the_future:
34
+ name: Event In The Future
35
+ start_time: <%= Time.current + 5.years %>
36
+ end_time: <%= Time.current + 5.years + 24.hours %>
@@ -0,0 +1,58 @@
1
+ require "test_helper"
2
+
3
+ class MonthCalendarIntegrationTest < ActionDispatch::IntegrationTest
4
+ test "renders a month calendar" do
5
+ get meetings_path
6
+ assert_select "div.simple-calendar"
7
+ end
8
+
9
+ test "month calendar renders events" do
10
+ get meetings_path
11
+ assert_select "div.simple-calendar" do
12
+ assert_select "div", text: meetings(:one_day_event).name
13
+ end
14
+ end
15
+
16
+ test "month calendar render two day events" do
17
+ get meetings_path
18
+ assert_select "div.simple-calendar" do
19
+ assert_select "div", text: meetings(:two_day_event).name, count: 2
20
+ end
21
+ end
22
+
23
+ test "month calendar render three day events" do
24
+ get meetings_path
25
+ assert_select "div.simple-calendar" do
26
+ assert_select "div", text: meetings(:three_day_event).name, count: 3
27
+ end
28
+ end
29
+
30
+ test "Month calendar can navigate to the past" do
31
+ get meetings_path, params: {start_date: Time.current - 5.years}
32
+ # meetings?start_date=2022-09-25
33
+ assert_select "div.simple-calendar" do
34
+ assert_select "div", text: meetings(:event_in_the_past).name
35
+ end
36
+ end
37
+
38
+ test "Month calendar can navigate to the past and render two day events" do
39
+ get meetings_path, params: {start_date: Time.current - 4.years}
40
+ assert_select "div.simple-calendar" do
41
+ assert_select "div", text: meetings(:events_in_the_past).name, count: 2
42
+ end
43
+ end
44
+
45
+ test "Month calendar can navigate to the future and render one day events" do
46
+ get meetings_path, params: {start_date: Time.current + 4.years}
47
+ assert_select "div.simple-calendar" do
48
+ assert_select "div", text: meetings(:one_day_event_in_the_future).name
49
+ end
50
+ end
51
+
52
+ test "Month calendar can navigate to the future and render two day events" do
53
+ get meetings_path, params: {start_date: Time.current + 5.years}
54
+ assert_select "div.simple-calendar" do
55
+ assert_select "div", text: meetings(:two_day_events_in_the_future).name
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,7 @@
1
+ require "test_helper"
2
+
3
+ class SimpleCalendarTest < ActiveSupport::TestCase
4
+ test "it has a version number" do
5
+ assert SimpleCalendar::VERSION
6
+ end
7
+ end
@@ -0,0 +1,14 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require_relative "../test/dummy/config/environment"
5
+ ActiveRecord::Migrator.migrations_paths = [File.expand_path("../test/dummy/db/migrate", __dir__)]
6
+ require "rails/test_help"
7
+
8
+ # Load fixtures from the engine
9
+ if ActiveSupport::TestCase.respond_to?(:fixture_path=)
10
+ ActiveSupport::TestCase.fixture_path = File.expand_path("fixtures", __dir__)
11
+ ActionDispatch::IntegrationTest.fixture_path = ActiveSupport::TestCase.fixture_path
12
+ ActiveSupport::TestCase.file_fixture_path = ActiveSupport::TestCase.fixture_path + "/files"
13
+ ActiveSupport::TestCase.fixtures :all
14
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_calendar
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 3.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Oliver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-07 00:00:00.000000000 Z
11
+ date: 2023-07-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,28 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: '6.1'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
27
- - !ruby/object:Gem::Dependency
28
- name: rspec
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'
26
+ version: '6.1'
41
27
  description: A simple Rails calendar
42
28
  email:
43
29
  - excid3@gmail.com
@@ -61,29 +47,91 @@ files:
61
47
  - app/views/simple_calendar/_month_calendar.html.erb
62
48
  - app/views/simple_calendar/_week_calendar.html.erb
63
49
  - bin/console
50
+ - bin/rails
64
51
  - bin/setup
65
- - gemfiles/rails_6.gemfile
66
- - gemfiles/rails_6.gemfile.lock
67
52
  - gemfiles/rails_6_1.gemfile
68
53
  - gemfiles/rails_6_1.gemfile.lock
69
- - gemfiles/rails_master.gemfile
70
- - gemfiles/rails_master.gemfile.lock
54
+ - gemfiles/rails_7_0.gemfile
55
+ - gemfiles/rails_7_0.gemfile.lock
56
+ - gemfiles/rails_main.gemfile
57
+ - gemfiles/rails_main.gemfile.lock
71
58
  - lib/generators/simple_calendar/views_generator.rb
72
59
  - lib/simple_calendar.rb
73
60
  - lib/simple_calendar/calendar.rb
61
+ - lib/simple_calendar/engine.rb
74
62
  - lib/simple_calendar/month_calendar.rb
75
- - lib/simple_calendar/railtie.rb
76
63
  - lib/simple_calendar/version.rb
77
64
  - lib/simple_calendar/view_helpers.rb
78
65
  - lib/simple_calendar/week_calendar.rb
79
66
  - simple_calendar.gemspec
80
- - spec/calendar_spec.rb
81
- - spec/calendars/month_calendar_spec.rb
82
- - spec/simple_calendar_spec.rb
83
- - spec/spec_helper.rb
84
- - spec/support/fake_event.rb
85
- - spec/support/view_context.rb
86
- - spec/views_generators_spec.rb
67
+ - test/calendars/calendar_test.rb
68
+ - test/calendars/month_calendar_test.rb
69
+ - test/dummy/Rakefile
70
+ - test/dummy/app/assets/config/manifest.js
71
+ - test/dummy/app/assets/images/.keep
72
+ - test/dummy/app/assets/stylesheets/application.css
73
+ - test/dummy/app/channels/application_cable/channel.rb
74
+ - test/dummy/app/channels/application_cable/connection.rb
75
+ - test/dummy/app/controllers/application_controller.rb
76
+ - test/dummy/app/controllers/concerns/.keep
77
+ - test/dummy/app/controllers/meetings_controller.rb
78
+ - test/dummy/app/helpers/application_helper.rb
79
+ - test/dummy/app/helpers/meetings_helper.rb
80
+ - test/dummy/app/jobs/application_job.rb
81
+ - test/dummy/app/mailers/application_mailer.rb
82
+ - test/dummy/app/models/application_record.rb
83
+ - test/dummy/app/models/concerns/.keep
84
+ - test/dummy/app/models/meeting.rb
85
+ - test/dummy/app/views/layouts/application.html.erb
86
+ - test/dummy/app/views/layouts/mailer.html.erb
87
+ - test/dummy/app/views/layouts/mailer.text.erb
88
+ - test/dummy/app/views/meetings/_form.html.erb
89
+ - test/dummy/app/views/meetings/_meeting.html.erb
90
+ - test/dummy/app/views/meetings/edit.html.erb
91
+ - test/dummy/app/views/meetings/index.html.erb
92
+ - test/dummy/app/views/meetings/new.html.erb
93
+ - test/dummy/app/views/meetings/show.html.erb
94
+ - test/dummy/bin/rails
95
+ - test/dummy/bin/rake
96
+ - test/dummy/bin/setup
97
+ - test/dummy/config.ru
98
+ - test/dummy/config/application.rb
99
+ - test/dummy/config/boot.rb
100
+ - test/dummy/config/cable.yml
101
+ - test/dummy/config/database.yml
102
+ - test/dummy/config/environment.rb
103
+ - test/dummy/config/environments/development.rb
104
+ - test/dummy/config/environments/production.rb
105
+ - test/dummy/config/environments/test.rb
106
+ - test/dummy/config/initializers/content_security_policy.rb
107
+ - test/dummy/config/initializers/filter_parameter_logging.rb
108
+ - test/dummy/config/initializers/inflections.rb
109
+ - test/dummy/config/initializers/permissions_policy.rb
110
+ - test/dummy/config/locales/en.yml
111
+ - test/dummy/config/puma.rb
112
+ - test/dummy/config/routes.rb
113
+ - test/dummy/config/storage.yml
114
+ - test/dummy/db/migrate/20220930184313_create_meetings.rb
115
+ - test/dummy/db/schema.rb
116
+ - test/dummy/lib/assets/.keep
117
+ - test/dummy/log/.keep
118
+ - test/dummy/public/404.html
119
+ - test/dummy/public/422.html
120
+ - test/dummy/public/500.html
121
+ - test/dummy/public/apple-touch-icon-precomposed.png
122
+ - test/dummy/public/apple-touch-icon.png
123
+ - test/dummy/public/favicon.ico
124
+ - test/dummy/storage/.keep
125
+ - test/dummy/tmp/.keep
126
+ - test/dummy/tmp/development_secret.txt
127
+ - test/dummy/tmp/pids/.keep
128
+ - test/dummy/tmp/pids/server.pid
129
+ - test/dummy/tmp/restart.txt
130
+ - test/dummy/tmp/storage/.keep
131
+ - test/fixtures/meetings.yml
132
+ - test/integrations/month_calendar_test.rb
133
+ - test/simple_calendar_test.rb
134
+ - test/test_helper.rb
87
135
  homepage: https://github.com/excid3/simple_calendar
88
136
  licenses:
89
137
  - MIT
@@ -103,15 +151,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
151
  - !ruby/object:Gem::Version
104
152
  version: '0'
105
153
  requirements: []
106
- rubygems_version: 3.2.15
154
+ rubygems_version: 3.4.16
107
155
  signing_key:
108
156
  specification_version: 4
109
157
  summary: A simple Rails calendar
110
- test_files:
111
- - spec/calendar_spec.rb
112
- - spec/calendars/month_calendar_spec.rb
113
- - spec/simple_calendar_spec.rb
114
- - spec/spec_helper.rb
115
- - spec/support/fake_event.rb
116
- - spec/support/view_context.rb
117
- - spec/views_generators_spec.rb
158
+ test_files: []