scenic-cascade 0.1.5 → 0.3.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d73b897c05b319c076cf356e7e461fee43001a4fed0da81b2357a10b6723a16c
4
- data.tar.gz: ba968715ba61e3085546ca6b8027f789c99f73c4ba36da08ab7dd1e7c90f3021
3
+ metadata.gz: 8a280aad4fef8c5173ab44048aec9adecf8134cb6fb6968625574356222079ed
4
+ data.tar.gz: e2e37f6c0b2fa78462ad08932f078690c8ebce19cb730e6b91a80c100274c893
5
5
  SHA512:
6
- metadata.gz: c328b221646cfbdcb5f435b6ebf76e4299161793d12663d2dd7916c3a549f38aa33c3e1a60edba872ff1bb8b74063683b827a72f128438e862fc710ac9803534
7
- data.tar.gz: 73e2139585600fb6a5bc121403c6eeabbaa6ec9c92479cc03f4c3970db06d1ba25ce0bb3a4966ef3749c25856782bb96b0cf3ff4c84d8a6a56adebc1a44a6474
6
+ metadata.gz: dcd3934911b3d5b1b83390f89d12cfafe031f3251bb9c7b17fb0b8495e0baddb29225140b62e81ea871c1dc1acd0da49ceb7c5db6ef1a5938e31b8c85fa66028
7
+ data.tar.gz: 22d6656ee21ae6777eb6c44bb4d829a70ab9e5b54b9c54c25c54499313deefead075dc9bab83c3d6adfed298799101cd00f0a9b543d08931acae1cc843c717e9
data/CHANGELOG.md CHANGED
@@ -7,6 +7,18 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.3.0] - 2026-11-05
11
+
12
+ ### Changed
13
+
14
+ - Require Scenic 1.6 or newer within the 1.x series; older releases cannot complete all generated migrations on supported Ruby and Rails versions.
15
+
16
+ ## [0.2.0] - 2026-11-04
17
+
18
+ ### Changed
19
+
20
+ - Require Ruby 3.3 or newer while continuing to test Rails 7.1 and 7.2; use v0.1.5 on older Ruby versions.
21
+
10
22
  ## [0.1.5] - 2026-11-04
11
23
 
12
24
  ### Added
@@ -54,7 +66,9 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
54
66
 
55
67
  - Initial release of the cascading Scenic view migration generator.
56
68
 
57
- [Unreleased]: https://github.com/akiomik/scenic-cascade/compare/v0.1.5...HEAD
69
+ [Unreleased]: https://github.com/akiomik/scenic-cascade/compare/v0.3.0...HEAD
70
+ [0.3.0]: https://github.com/akiomik/scenic-cascade/compare/v0.2.0...v0.3.0
71
+ [0.2.0]: https://github.com/akiomik/scenic-cascade/compare/v0.1.5...v0.2.0
58
72
  [0.1.5]: https://github.com/akiomik/scenic-cascade/compare/v0.1.4...v0.1.5
59
73
  [0.1.4]: https://github.com/akiomik/scenic-cascade/compare/v0.1.3...v0.1.4
60
74
  [0.1.3]: https://github.com/akiomik/scenic-cascade/compare/v0.1.2...v0.1.3
data/README.md CHANGED
@@ -26,6 +26,10 @@ Or install it yourself as:
26
26
  $ gem install scenic-cascade
27
27
  ```
28
28
 
29
+ Since v0.2.0, Ruby 3.3 or newer is required. Applications on older Ruby versions can remain on
30
+ `scenic-cascade` 0.1.x; v0.1.5 retains the previous gem requirement. Rails 7.1 and 7.2 remain in the test matrix.
31
+ Since v0.3.0, Scenic 1.6 or newer is required for supported generator options and migration rollback.
32
+
29
33
  ## Usage
30
34
 
31
35
  To generate migration files, use `scenic:view:cascade` generator instead of `scenic:view`.
@@ -17,6 +17,10 @@ module Scenic
17
17
  class_option :side_by_side, type: :boolean, default: false, aliases: ['--side-by-side']
18
18
  end
19
19
 
20
+ if Gem::Version.new(Scenic::VERSION) < Gem::Version.new('1.7')
21
+ class_option :replace, type: :boolean, default: false
22
+ end
23
+
20
24
  def create_view_definition
21
25
  @definition_path = @original_definition = nil
22
26
  validate_update_options! unless destroying? || creating_new_view?
@@ -19,8 +19,8 @@ module Scenic
19
19
  return [] unless directory.directory?
20
20
 
21
21
  prefix = first_path.basename.to_s.sub(/\d+\.sql\z/, '')
22
- directory.children.map { |path| definition_at(path, view_name, prefix) }
23
- .compact.sort_by { |definition| definition.version.to_i }
22
+ directory.children.filter_map { |path| definition_at(path, view_name, prefix) }
23
+ .sort_by { |definition| definition.version.to_i }
24
24
  end
25
25
 
26
26
  def find_latest_definition_of(view_name)
@@ -30,7 +30,7 @@ module Scenic
30
30
  def self.from_hash(hash)
31
31
  from = Scenic::Cascade::View.new(name: hash['from'], materialized: hash['from_materialized'])
32
32
  to = Scenic::Cascade::View.new(name: hash['to'], materialized: hash['to_materialized'])
33
- new(from: from, to: to)
33
+ new(from:, to:)
34
34
  end
35
35
  end
36
36
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Scenic
4
4
  module Cascade
5
- VERSION = '0.1.5'
5
+ VERSION = '0.3.0'
6
6
  end
7
7
  end
@@ -9,7 +9,7 @@ module Scenic
9
9
  attr_reader :version, :database_name
10
10
 
11
11
  def initialize(name:, version:, materialized:, database_name: name)
12
- super(name: name, materialized: materialized)
12
+ super(name:, materialized:)
13
13
 
14
14
  raise TypeError unless version.is_a?(Integer)
15
15
  raise TypeError unless database_name.is_a?(String)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scenic-cascade
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Akiomi Kamakura
@@ -13,16 +13,22 @@ dependencies:
13
13
  name: scenic
14
14
  requirement: !ruby/object:Gem::Requirement
15
15
  requirements:
16
- - - "~>"
16
+ - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: 1.6.0
19
+ - - "<"
20
+ - !ruby/object:Gem::Version
21
+ version: '2.0'
19
22
  type: :runtime
20
23
  prerelease: false
21
24
  version_requirements: !ruby/object:Gem::Requirement
22
25
  requirements:
23
- - - "~>"
26
+ - - ">="
27
+ - !ruby/object:Gem::Version
28
+ version: 1.6.0
29
+ - - "<"
24
30
  - !ruby/object:Gem::Version
25
- version: '1.0'
31
+ version: '2.0'
26
32
  description: A migration scenic file generator that supports cascading view updates
27
33
  email:
28
34
  - akiomik@gmail.com
@@ -30,22 +36,9 @@ executables: []
30
36
  extensions: []
31
37
  extra_rdoc_files: []
32
38
  files:
33
- - ".dockerignore"
34
- - ".env"
35
- - ".rspec"
36
- - ".rubocop.yml"
37
- - ".ruby-version"
38
39
  - CHANGELOG.md
39
- - CODE_OF_CONDUCT.md
40
- - Dockerfile
41
- - Gemfile
42
- - Gemfile.lock
43
40
  - LICENSE
44
41
  - README.md
45
- - Rakefile
46
- - Steepfile
47
- - codecov.yml
48
- - docker-compose.yml
49
42
  - lib/generators/scenic/view/cascade/USAGE
50
43
  - lib/generators/scenic/view/cascade/cascade_generator.rb
51
44
  - lib/generators/scenic/view/cascade/templates/db/migrate/create_view.rb.erb
@@ -58,9 +51,6 @@ files:
58
51
  - lib/scenic/cascade/version.rb
59
52
  - lib/scenic/cascade/view.rb
60
53
  - lib/scenic/cascade/view_with_version.rb
61
- - manifest.yaml
62
- - rbs_collection.lock.yaml
63
- - rbs_collection.yaml
64
54
  - sig/generators/scenic/view/cascade/cascade_generator.rbs
65
55
  - sig/generators/scenic/view/view_generator.rbs
66
56
  - sig/scenic/cascade.rbs
@@ -87,7 +77,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
87
77
  requirements:
88
78
  - - ">="
89
79
  - !ruby/object:Gem::Version
90
- version: 2.6.0
80
+ version: 3.3.0
91
81
  required_rubygems_version: !ruby/object:Gem::Requirement
92
82
  requirements:
93
83
  - - ">="
data/.dockerignore DELETED
@@ -1,6 +0,0 @@
1
- /.gem_rbs_collection/
2
- /.github/
3
- /.rspec_status
4
- /.ruby-version
5
- log/
6
- tmp/
data/.env DELETED
@@ -1,4 +0,0 @@
1
- POSTGRES_HOST=postgres
2
- POSTGRES_DB=testdb
3
- POSTGRES_USER=user
4
- POSTGRES_PASSWORD=password
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --format documentation
2
- --color
3
- --require spec_helper
data/.rubocop.yml DELETED
@@ -1,30 +0,0 @@
1
- require:
2
- - rubocop-performance
3
- - rubocop-rake
4
- - rubocop-rspec
5
-
6
- inherit_mode:
7
- merge:
8
- - Exclude
9
-
10
- AllCops:
11
- TargetRubyVersion: 2.6
12
- NewCops: enable
13
- Exclude:
14
- - gemfiles/*.gemfile
15
-
16
- Style/StringLiterals:
17
- Enabled: true
18
-
19
- Style/StringLiteralsInInterpolation:
20
- Enabled: true
21
-
22
- Layout/LineLength:
23
- Max: 120
24
-
25
- RSpec/FilePath:
26
- Exclude:
27
- - spec/generators/**/*.rb
28
-
29
- RSpec/MultipleMemoizedHelpers:
30
- Max: 6
data/.ruby-version DELETED
@@ -1 +0,0 @@
1
- 3.4.12
data/CODE_OF_CONDUCT.md DELETED
@@ -1,84 +0,0 @@
1
- # Contributor Covenant Code of Conduct
2
-
3
- ## Our Pledge
4
-
5
- We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
-
7
- We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
-
9
- ## Our Standards
10
-
11
- Examples of behavior that contributes to a positive environment for our community include:
12
-
13
- * Demonstrating empathy and kindness toward other people
14
- * Being respectful of differing opinions, viewpoints, and experiences
15
- * Giving and gracefully accepting constructive feedback
16
- * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
- * Focusing on what is best not just for us as individuals, but for the overall community
18
-
19
- Examples of unacceptable behavior include:
20
-
21
- * The use of sexualized language or imagery, and sexual attention or
22
- advances of any kind
23
- * Trolling, insulting or derogatory comments, and personal or political attacks
24
- * Public or private harassment
25
- * Publishing others' private information, such as a physical or email
26
- address, without their explicit permission
27
- * Other conduct which could reasonably be considered inappropriate in a
28
- professional setting
29
-
30
- ## Enforcement Responsibilities
31
-
32
- Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
-
34
- Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
-
36
- ## Scope
37
-
38
- This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
-
40
- ## Enforcement
41
-
42
- Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at akiomik@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
-
44
- All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
-
46
- ## Enforcement Guidelines
47
-
48
- Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
-
50
- ### 1. Correction
51
-
52
- **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
-
54
- **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
-
56
- ### 2. Warning
57
-
58
- **Community Impact**: A violation through a single incident or series of actions.
59
-
60
- **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
-
62
- ### 3. Temporary Ban
63
-
64
- **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
-
66
- **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
-
68
- ### 4. Permanent Ban
69
-
70
- **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
-
72
- **Consequence**: A permanent ban from any sort of public interaction within the community.
73
-
74
- ## Attribution
75
-
76
- This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
- available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
-
79
- Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
-
81
- [homepage]: https://www.contributor-covenant.org
82
-
83
- For answers to common questions about this code of conduct, see the FAQ at
84
- https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Dockerfile DELETED
@@ -1,6 +0,0 @@
1
- FROM ruby:3.4-alpine
2
- WORKDIR /scenic-cascade
3
- RUN apk add --no-cache bash gcc git libc6-compat linux-headers make musl-dev postgresql-dev tzdata yaml-dev
4
- COPY . .
5
- RUN bin/setup
6
- CMD ["bundle", "exec", "rake"]
data/Gemfile DELETED
@@ -1,31 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- source 'https://rubygems.org'
4
-
5
- # Specify your gem's dependencies in scenic-cascade.gemspec
6
- gemspec
7
-
8
- gem 'appraisal', '~> 2.5', require: false
9
- gem 'rake', '~> 13.0'
10
-
11
- # type checking
12
- # Steep 2.x drops Ruby 3.1, which remains in the CI matrix.
13
- gem 'steep', '~> 1.10', require: false
14
-
15
- # testing
16
- gem 'activerecord', '~> 7.2.0'
17
- gem 'ammeter', '~> 1.1'
18
- gem 'database_cleaner-active_record', '~> 2.0'
19
- # Nokogiri 1.19 drops Ruby 3.1, which remains in the CI matrix.
20
- gem 'nokogiri', '~> 1.18.0'
21
- gem 'pg', '~> 1.0'
22
- gem 'railties', '~> 7.2.0'
23
- gem 'rspec', '~> 3.0'
24
- gem 'simplecov', require: false
25
- gem 'simplecov-cobertura', '~> 3.2', require: false
26
-
27
- # linting
28
- gem 'rubocop', '~> 1.21', require: false
29
- gem 'rubocop-performance', '~> 1.14', require: false
30
- gem 'rubocop-rake', '~> 0.6', require: false
31
- gem 'rubocop-rspec', '~> 2.12', require: false
data/Gemfile.lock DELETED
@@ -1,277 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- scenic-cascade (0.1.5)
5
- scenic (~> 1.0)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- actionpack (7.2.4)
11
- actionview (= 7.2.4)
12
- activesupport (= 7.2.4)
13
- cgi
14
- nokogiri (>= 1.8.5)
15
- racc
16
- rack (>= 2.2.4, < 3.3)
17
- rack-session (>= 1.0.1)
18
- rack-test (>= 0.6.3)
19
- rails-dom-testing (~> 2.2)
20
- rails-html-sanitizer (~> 1.6)
21
- useragent (~> 0.16)
22
- actionview (7.2.4)
23
- activesupport (= 7.2.4)
24
- builder (~> 3.1)
25
- cgi
26
- erubi (~> 1.11)
27
- rails-dom-testing (~> 2.2)
28
- rails-html-sanitizer (~> 1.6)
29
- activemodel (7.2.4)
30
- activesupport (= 7.2.4)
31
- activerecord (7.2.4)
32
- activemodel (= 7.2.4)
33
- activesupport (= 7.2.4)
34
- timeout (>= 0.4.0)
35
- activesupport (7.2.4)
36
- base64
37
- benchmark (>= 0.3)
38
- bigdecimal
39
- concurrent-ruby (~> 1.0, >= 1.3.1)
40
- connection_pool (>= 2.2.5, < 3)
41
- drb
42
- i18n (>= 1.6, < 2)
43
- logger (>= 1.4.2)
44
- minitest (>= 5.1, < 6)
45
- securerandom (>= 0.3)
46
- tzinfo (~> 2.0, >= 2.0.5)
47
- ammeter (1.1.7)
48
- activesupport (>= 3.0)
49
- railties (>= 3.0)
50
- rspec-rails (>= 2.2)
51
- appraisal (2.5.0)
52
- bundler
53
- rake
54
- thor (>= 0.14.0)
55
- ast (2.4.2)
56
- base64 (0.3.0)
57
- benchmark (0.5.0)
58
- bigdecimal (4.1.3)
59
- builder (3.3.0)
60
- cgi (0.5.2)
61
- concurrent-ruby (1.3.8)
62
- connection_pool (2.5.5)
63
- crass (1.0.8)
64
- csv (3.3.7)
65
- database_cleaner-active_record (2.2.2)
66
- activerecord (>= 5.a)
67
- database_cleaner-core (~> 2.0)
68
- database_cleaner-core (2.1.0)
69
- date (3.6.0)
70
- diff-lcs (1.6.2)
71
- docile (1.4.0)
72
- drb (2.2.3)
73
- erb (4.0.4.1)
74
- cgi (>= 0.3.3)
75
- erubi (1.13.1)
76
- ffi (1.17.4-aarch64-linux-musl)
77
- ffi (1.17.4-arm64-darwin)
78
- ffi (1.17.4-x86_64-linux-gnu)
79
- fileutils (1.8.1)
80
- i18n (1.15.2)
81
- concurrent-ruby (~> 1.0)
82
- io-console (0.9.5)
83
- irb (1.18.0)
84
- pp (>= 0.6.0)
85
- prism (>= 1.3.0)
86
- rdoc (>= 4.0.0)
87
- reline (>= 0.4.2)
88
- json (2.7.1)
89
- language_server-protocol (3.17.0.6)
90
- listen (3.10.1)
91
- logger
92
- rb-fsevent (~> 0.10, >= 0.10.3)
93
- rb-inotify (~> 0.9, >= 0.9.10)
94
- logger (1.7.0)
95
- loofah (2.25.2)
96
- crass (~> 1.0.2)
97
- nokogiri (>= 1.12.0)
98
- minitest (5.27.0)
99
- mutex_m (0.3.0)
100
- nokogiri (1.18.10-aarch64-linux-musl)
101
- racc (~> 1.4)
102
- nokogiri (1.18.10-arm64-darwin)
103
- racc (~> 1.4)
104
- nokogiri (1.18.10-x86_64-linux-gnu)
105
- racc (~> 1.4)
106
- parallel (1.23.0)
107
- parser (3.2.2.4)
108
- ast (~> 2.4.1)
109
- racc
110
- pg (1.5.4)
111
- pp (0.6.4)
112
- prettyprint
113
- prettyprint (0.2.1)
114
- prism (2.1.0)
115
- psych (5.5.0)
116
- date
117
- stringio
118
- racc (1.8.1)
119
- rack (3.2.8)
120
- rack-session (2.1.2)
121
- base64 (>= 0.1.0)
122
- rack (>= 3.0.0)
123
- rack-test (2.3.0)
124
- rack (>= 1.3)
125
- rackup (2.3.1)
126
- rack (>= 3)
127
- rails-dom-testing (2.3.0)
128
- activesupport (>= 5.0.0)
129
- minitest
130
- nokogiri (>= 1.6)
131
- rails-html-sanitizer (1.7.1)
132
- loofah (~> 2.25, >= 2.25.2)
133
- nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
134
- railties (7.2.4)
135
- actionpack (= 7.2.4)
136
- activesupport (= 7.2.4)
137
- cgi
138
- irb (~> 1.13)
139
- rackup (>= 1.0.0)
140
- rake (>= 12.2)
141
- thor (~> 1.0, >= 1.2.2)
142
- tsort (>= 0.2)
143
- zeitwerk (~> 2.6)
144
- rainbow (3.1.1)
145
- rake (13.4.2)
146
- rb-fsevent (0.11.2)
147
- rb-inotify (0.11.1)
148
- ffi (~> 1.0)
149
- rbs (3.10.4)
150
- logger
151
- tsort
152
- rdoc (7.2.0)
153
- erb
154
- psych (>= 4.0.0)
155
- tsort
156
- regexp_parser (2.8.3)
157
- reline (0.7.0)
158
- io-console (~> 0.5)
159
- rexml (3.4.4)
160
- rspec (3.12.0)
161
- rspec-core (~> 3.12.0)
162
- rspec-expectations (~> 3.12.0)
163
- rspec-mocks (~> 3.12.0)
164
- rspec-core (3.12.3)
165
- rspec-support (~> 3.12.0)
166
- rspec-expectations (3.12.4)
167
- diff-lcs (>= 1.2.0, < 2.0)
168
- rspec-support (~> 3.12.0)
169
- rspec-mocks (3.12.7)
170
- diff-lcs (>= 1.2.0, < 2.0)
171
- rspec-support (~> 3.12.0)
172
- rspec-rails (6.1.1)
173
- actionpack (>= 6.1)
174
- activesupport (>= 6.1)
175
- railties (>= 6.1)
176
- rspec-core (~> 3.12)
177
- rspec-expectations (~> 3.12)
178
- rspec-mocks (~> 3.12)
179
- rspec-support (~> 3.12)
180
- rspec-support (3.12.2)
181
- rubocop (1.58.0)
182
- json (~> 2.3)
183
- language_server-protocol (>= 3.17.0)
184
- parallel (~> 1.10)
185
- parser (>= 3.2.2.4)
186
- rainbow (>= 2.2.2, < 4.0)
187
- regexp_parser (>= 1.8, < 3.0)
188
- rexml (>= 3.2.5, < 4.0)
189
- rubocop-ast (>= 1.30.0, < 2.0)
190
- ruby-progressbar (~> 1.7)
191
- unicode-display_width (>= 2.4.0, < 3.0)
192
- rubocop-ast (1.30.0)
193
- parser (>= 3.2.1.0)
194
- rubocop-capybara (2.19.0)
195
- rubocop (~> 1.41)
196
- rubocop-factory_bot (2.24.0)
197
- rubocop (~> 1.33)
198
- rubocop-performance (1.19.1)
199
- rubocop (>= 1.7.0, < 2.0)
200
- rubocop-ast (>= 0.4.0)
201
- rubocop-rake (0.6.0)
202
- rubocop (~> 1.0)
203
- rubocop-rspec (2.25.0)
204
- rubocop (~> 1.40)
205
- rubocop-capybara (~> 2.17)
206
- rubocop-factory_bot (~> 2.22)
207
- ruby-progressbar (1.13.0)
208
- scenic (1.9.0)
209
- activerecord (>= 4.0.0)
210
- railties (>= 4.0.0)
211
- securerandom (0.4.1)
212
- simplecov (0.22.0)
213
- docile (~> 1.1)
214
- simplecov-html (~> 0.11)
215
- simplecov_json_formatter (~> 0.1)
216
- simplecov-cobertura (3.2.0)
217
- rexml
218
- simplecov (~> 0.19)
219
- simplecov-html (0.12.3)
220
- simplecov_json_formatter (0.1.4)
221
- steep (1.10.0)
222
- activesupport (>= 5.1)
223
- concurrent-ruby (>= 1.1.10)
224
- csv (>= 3.0.9)
225
- fileutils (>= 1.1.0)
226
- json (>= 2.1.0)
227
- language_server-protocol (>= 3.17.0.4, < 4.0)
228
- listen (~> 3.0)
229
- logger (>= 1.3.0)
230
- mutex_m (>= 0.3.0)
231
- parser (>= 3.1)
232
- rainbow (>= 2.2.2, < 4.0)
233
- rbs (~> 3.9)
234
- securerandom (>= 0.1)
235
- strscan (>= 1.0.0)
236
- terminal-table (>= 2, < 5)
237
- uri (>= 0.12.0)
238
- stringio (3.2.0)
239
- strscan (3.1.8)
240
- terminal-table (4.0.0)
241
- unicode-display_width (>= 1.1.1, < 4)
242
- thor (1.5.0)
243
- timeout (0.6.1)
244
- tsort (0.2.0)
245
- tzinfo (2.0.6)
246
- concurrent-ruby (~> 1.0)
247
- unicode-display_width (2.5.0)
248
- uri (1.1.2)
249
- useragent (0.16.11)
250
- zeitwerk (2.6.18)
251
-
252
- PLATFORMS
253
- aarch64-linux-musl
254
- arm64-darwin-21
255
- x86_64-linux
256
-
257
- DEPENDENCIES
258
- activerecord (~> 7.2.0)
259
- ammeter (~> 1.1)
260
- appraisal (~> 2.5)
261
- database_cleaner-active_record (~> 2.0)
262
- nokogiri (~> 1.18.0)
263
- pg (~> 1.0)
264
- railties (~> 7.2.0)
265
- rake (~> 13.0)
266
- rspec (~> 3.0)
267
- rubocop (~> 1.21)
268
- rubocop-performance (~> 1.14)
269
- rubocop-rake (~> 0.6)
270
- rubocop-rspec (~> 2.12)
271
- scenic-cascade!
272
- simplecov
273
- simplecov-cobertura (~> 3.2)
274
- steep (~> 1.10)
275
-
276
- BUNDLED WITH
277
- 2.4.22
data/Rakefile DELETED
@@ -1,22 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require 'bundler/gem_tasks'
4
- require 'rspec/core/rake_task'
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
- RSpec::Core::RakeTask.new('spec:small') do |task|
8
- task.rspec_opts = '--tag size:small'
9
- end
10
-
11
- require 'rubocop/rake_task'
12
-
13
- RuboCop::RakeTask.new
14
-
15
- desc 'Run `bundle exec steep check`'
16
- task 'steep:check' do
17
- sh 'bundle exec steep check'
18
- end
19
-
20
- task steep: ['steep:check']
21
-
22
- task default: %i[spec rubocop steep:check]
data/Steepfile DELETED
@@ -1,12 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- target :lib do
4
- signature 'sig'
5
- check 'lib'
6
- end
7
-
8
- # target :test do
9
- # signature "sig", "sig-private"
10
- #
11
- # check "spec"
12
- # end
data/codecov.yml DELETED
@@ -1,3 +0,0 @@
1
- # Release version changes are metadata and do not exercise application behavior.
2
- ignore:
3
- - '^lib/scenic/cascade/version\.rb$'
data/docker-compose.yml DELETED
@@ -1,16 +0,0 @@
1
- version: '3.9'
2
- services:
3
- lib:
4
- build: .
5
- volumes:
6
- - .:/scenic-cascade
7
- env_file:
8
- .env
9
- links:
10
- - postgres
11
- postgres:
12
- image: postgres:14-alpine
13
- env_file:
14
- .env
15
- ports:
16
- - 5432:5432
data/manifest.yaml DELETED
@@ -1,2 +0,0 @@
1
- dependencies:
2
- - name: pathname
@@ -1,288 +0,0 @@
1
- ---
2
- path: ".gem_rbs_collection"
3
- gems:
4
- - name: actionpack
5
- version: '7.2'
6
- source:
7
- type: git
8
- name: ruby/gem_rbs_collection
9
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
10
- remote: https://github.com/ruby/gem_rbs_collection.git
11
- repo_dir: gems
12
- - name: actionview
13
- version: '6.0'
14
- source:
15
- type: git
16
- name: ruby/gem_rbs_collection
17
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
18
- remote: https://github.com/ruby/gem_rbs_collection.git
19
- repo_dir: gems
20
- - name: activemodel
21
- version: '7.1'
22
- source:
23
- type: git
24
- name: ruby/gem_rbs_collection
25
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
26
- remote: https://github.com/ruby/gem_rbs_collection.git
27
- repo_dir: gems
28
- - name: activerecord
29
- version: '7.2'
30
- source:
31
- type: git
32
- name: ruby/gem_rbs_collection
33
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
34
- remote: https://github.com/ruby/gem_rbs_collection.git
35
- repo_dir: gems
36
- - name: activesupport
37
- version: '7.0'
38
- source:
39
- type: git
40
- name: ruby/gem_rbs_collection
41
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
42
- remote: https://github.com/ruby/gem_rbs_collection.git
43
- repo_dir: gems
44
- - name: base64
45
- version: 0.3.0
46
- source:
47
- type: rubygems
48
- - name: benchmark
49
- version: '0'
50
- source:
51
- type: stdlib
52
- - name: bigdecimal
53
- version: 4.1.3
54
- source:
55
- type: rubygems
56
- - name: cgi
57
- version: '0.5'
58
- source:
59
- type: git
60
- name: ruby/gem_rbs_collection
61
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
62
- remote: https://github.com/ruby/gem_rbs_collection.git
63
- repo_dir: gems
64
- - name: concurrent-ruby
65
- version: '1.1'
66
- source:
67
- type: git
68
- name: ruby/gem_rbs_collection
69
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
70
- remote: https://github.com/ruby/gem_rbs_collection.git
71
- repo_dir: gems
72
- - name: connection_pool
73
- version: '2.4'
74
- source:
75
- type: git
76
- name: ruby/gem_rbs_collection
77
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
78
- remote: https://github.com/ruby/gem_rbs_collection.git
79
- repo_dir: gems
80
- - name: date
81
- version: '0'
82
- source:
83
- type: stdlib
84
- - name: dbm
85
- version: '0'
86
- source:
87
- type: stdlib
88
- - name: delegate
89
- version: '0'
90
- source:
91
- type: stdlib
92
- - name: diff-lcs
93
- version: '1.5'
94
- source:
95
- type: git
96
- name: ruby/gem_rbs_collection
97
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
98
- remote: https://github.com/ruby/gem_rbs_collection.git
99
- repo_dir: gems
100
- - name: digest
101
- version: '0'
102
- source:
103
- type: stdlib
104
- - name: erb
105
- version: '0'
106
- source:
107
- type: stdlib
108
- - name: fileutils
109
- version: '0'
110
- source:
111
- type: stdlib
112
- - name: i18n
113
- version: '1.10'
114
- source:
115
- type: git
116
- name: ruby/gem_rbs_collection
117
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
118
- remote: https://github.com/ruby/gem_rbs_collection.git
119
- repo_dir: gems
120
- - name: io-console
121
- version: '0'
122
- source:
123
- type: stdlib
124
- - name: logger
125
- version: '0'
126
- source:
127
- type: stdlib
128
- - name: minitest
129
- version: '5.25'
130
- source:
131
- type: git
132
- name: ruby/gem_rbs_collection
133
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
134
- remote: https://github.com/ruby/gem_rbs_collection.git
135
- repo_dir: gems
136
- - name: monitor
137
- version: '0'
138
- source:
139
- type: stdlib
140
- - name: nokogiri
141
- version: '1.11'
142
- source:
143
- type: git
144
- name: ruby/gem_rbs_collection
145
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
146
- remote: https://github.com/ruby/gem_rbs_collection.git
147
- repo_dir: gems
148
- - name: openssl
149
- version: '0'
150
- source:
151
- type: stdlib
152
- - name: pathname
153
- version: '0'
154
- source:
155
- type: stdlib
156
- - name: pp
157
- version: '0'
158
- source:
159
- type: stdlib
160
- - name: prettyprint
161
- version: '0'
162
- source:
163
- type: stdlib
164
- - name: prism
165
- version: 2.1.0
166
- source:
167
- type: rubygems
168
- - name: pstore
169
- version: '0'
170
- source:
171
- type: stdlib
172
- - name: psych
173
- version: '0'
174
- source:
175
- type: stdlib
176
- - name: racc
177
- version: '1.8'
178
- source:
179
- type: git
180
- name: ruby/gem_rbs_collection
181
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
182
- remote: https://github.com/ruby/gem_rbs_collection.git
183
- repo_dir: gems
184
- - name: rack
185
- version: '2.2'
186
- source:
187
- type: git
188
- name: ruby/gem_rbs_collection
189
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
190
- remote: https://github.com/ruby/gem_rbs_collection.git
191
- repo_dir: gems
192
- - name: rails-dom-testing
193
- version: '2.0'
194
- source:
195
- type: git
196
- name: ruby/gem_rbs_collection
197
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
198
- remote: https://github.com/ruby/gem_rbs_collection.git
199
- repo_dir: gems
200
- - name: rails-html-sanitizer
201
- version: '1.6'
202
- source:
203
- type: git
204
- name: ruby/gem_rbs_collection
205
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
206
- remote: https://github.com/ruby/gem_rbs_collection.git
207
- repo_dir: gems
208
- - name: railties
209
- version: '6.0'
210
- source:
211
- type: git
212
- name: ruby/gem_rbs_collection
213
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
214
- remote: https://github.com/ruby/gem_rbs_collection.git
215
- repo_dir: gems
216
- - name: rake
217
- version: '13.0'
218
- source:
219
- type: git
220
- name: ruby/gem_rbs_collection
221
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
222
- remote: https://github.com/ruby/gem_rbs_collection.git
223
- repo_dir: gems
224
- - name: rdoc
225
- version: '0'
226
- source:
227
- type: stdlib
228
- - name: securerandom
229
- version: '0'
230
- source:
231
- type: stdlib
232
- - name: singleton
233
- version: '0'
234
- source:
235
- type: stdlib
236
- - name: socket
237
- version: '0'
238
- source:
239
- type: stdlib
240
- - name: stringio
241
- version: '0'
242
- source:
243
- type: stdlib
244
- - name: tempfile
245
- version: '0'
246
- source:
247
- type: stdlib
248
- - name: thor
249
- version: '1.2'
250
- source:
251
- type: git
252
- name: ruby/gem_rbs_collection
253
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
254
- remote: https://github.com/ruby/gem_rbs_collection.git
255
- repo_dir: gems
256
- - name: time
257
- version: '0'
258
- source:
259
- type: stdlib
260
- - name: timeout
261
- version: '0'
262
- source:
263
- type: stdlib
264
- - name: tsort
265
- version: '0'
266
- source:
267
- type: stdlib
268
- - name: tzinfo
269
- version: '2.0'
270
- source:
271
- type: git
272
- name: ruby/gem_rbs_collection
273
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
274
- remote: https://github.com/ruby/gem_rbs_collection.git
275
- repo_dir: gems
276
- - name: uri
277
- version: '0'
278
- source:
279
- type: stdlib
280
- - name: zeitwerk
281
- version: '2.8'
282
- source:
283
- type: git
284
- name: ruby/gem_rbs_collection
285
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
286
- remote: https://github.com/ruby/gem_rbs_collection.git
287
- repo_dir: gems
288
- gemfile_lock_path: Gemfile.lock
data/rbs_collection.yaml DELETED
@@ -1,17 +0,0 @@
1
- # Download sources
2
- sources:
3
- - name: ruby/gem_rbs_collection
4
- remote: https://github.com/ruby/gem_rbs_collection.git
5
- # To refresh upstream signatures, update this SHA, then run:
6
- # bundle exec rbs collection update && bundle exec rbs collection install
7
- revision: 9e17daa08b1710667699a208981cffd21dbf15f6
8
- repo_dir: gems
9
-
10
- # A directory to install the downloaded RBSs
11
- path: .gem_rbs_collection
12
-
13
- gems:
14
- # Skip loading rbs gem's RBS.
15
- # It's unnecessary if you don't use rbs as a library.
16
- - name: rbs
17
- ignore: true