solargraph-rails-patch-for-rails71 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: f36d8c71612404f5eeee860fb6d75fd5db1b988212fdb7a0de870a83464b4d97
4
+ data.tar.gz: 29efd037f8d07d334d0931db8314123c16ea85bf9b6302c5bc0930b2edaef186
5
+ SHA512:
6
+ metadata.gz: 8f3e6278513fca99df4086c35fdbdd5743fb9815d44938d1333f0c7cb446e2acca6d14f7f0de00bb70070e33d27177922b4a0a469050a441041d5153deb6e24f
7
+ data.tar.gz: 7daaf4b1ba105a1244947fff7662c18c030cc3474fe684721beb6ca997652021b752310ea633ed7dd5377848a2872a188de9c2aa49976e227f2e24e4bcf34970
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2024 Masamitsu MURASE
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # solargraph-rails-patch-for-rails71
2
+
3
+ This is a library, which resolves incompatibility of [solargraph-rails](https://github.com/iftheshoefritz/solargraph-rails) with Rails 7.1.
4
+ See [this issue](https://github.com/iftheshoefritz/solargraph-rails/issues/60) for more datails.
5
+
6
+ ## Installation
7
+
8
+ Install the gem and add to the application's Gemfile by executing:
9
+
10
+ $ bundle add solargraph-rails-patch-for-rails71
11
+
12
+ If bundler is not being used to manage dependencies, install the gem by executing:
13
+
14
+ $ gem install solargraph-rails-patch-for-rails71
15
+
16
+ ## Usage
17
+
18
+ Update your `.solargraph.yml` as follows:
19
+
20
+ ```yml
21
+ plugins:
22
+ - solargraph-rails
23
+ - solargraph-rails-patch-for-rails71 # Add this line
24
+ ```
25
+
26
+ ## License
27
+
28
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,3 @@
1
+ # Add Object#blank? and Object#present?
2
+ require "active_support"
3
+ require "active_support/core_ext/object/blank"
@@ -0,0 +1,35 @@
1
+ # frozen_string_literal: true
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "solargraph-rails-patch-for-rails71"
5
+ spec.version = "0.1.0"
6
+ spec.authors = ["Masamitsu MURASE"]
7
+ spec.email = ["masamitsu.murase@gmail.com"]
8
+
9
+ spec.summary = "Resolve incompatibility issue of solargraph-rails with Rails 7.1"
10
+ spec.description = File.read(File.join(__dir__, "README.md"))
11
+ spec.homepage = "https://github.com/masamitsu-murase/solargraph-rails-patch-for-rails71"
12
+ spec.license = "MIT"
13
+ spec.required_ruby_version = ">= 2.6.0"
14
+
15
+ spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["source_code_uri"] = "https://github.com/masamitsu-murase/solargraph-rails-patch-for-rails71"
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(__dir__) do
21
+ `git ls-files -z`.split("\x0").reject do |f|
22
+ (File.expand_path(f) == __FILE__) ||
23
+ f.start_with?(*%w[bin/ test/ spec/ features/ .git .circleci appveyor Gemfile])
24
+ end
25
+ end
26
+ spec.bindir = "exe"
27
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
28
+ spec.require_paths = ["lib"]
29
+
30
+ # Uncomment to register a new dependency of your gem
31
+ # spec.add_dependency "example-gem", "~> 1.0"
32
+
33
+ # For more information and examples about making a new gem, check out our
34
+ # guide at: https://bundler.io/guides/creating_gem.html
35
+ end
metadata ADDED
@@ -0,0 +1,58 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: solargraph-rails-patch-for-rails71
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Masamitsu MURASE
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2024-01-15 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: "# solargraph-rails-patch-for-rails71\n\nThis is a library, which resolves
14
+ incompatibility of [solargraph-rails](https://github.com/iftheshoefritz/solargraph-rails)
15
+ with Rails 7.1. \nSee [this issue](https://github.com/iftheshoefritz/solargraph-rails/issues/60)
16
+ for more datails.\n\n## Installation\n\nInstall the gem and add to the application's
17
+ Gemfile by executing:\n\n $ bundle add solargraph-rails-patch-for-rails71\n\nIf
18
+ bundler is not being used to manage dependencies, install the gem by executing:\n\n
19
+ \ $ gem install solargraph-rails-patch-for-rails71\n\n## Usage\n\nUpdate your
20
+ `.solargraph.yml` as follows:\n\n```yml\nplugins:\n- solargraph-rails\n- solargraph-rails-patch-for-rails71
21
+ \ # Add this line\n```\n\n## License\n\nThe gem is available as open source under
22
+ the terms of the [MIT License](https://opensource.org/licenses/MIT).\n"
23
+ email:
24
+ - masamitsu.murase@gmail.com
25
+ executables: []
26
+ extensions: []
27
+ extra_rdoc_files: []
28
+ files:
29
+ - LICENSE.txt
30
+ - README.md
31
+ - lib/solargraph-rails-patch-for-rails71.rb
32
+ - solargraph-rails-patch-for-rails71.gemspec
33
+ homepage: https://github.com/masamitsu-murase/solargraph-rails-patch-for-rails71
34
+ licenses:
35
+ - MIT
36
+ metadata:
37
+ homepage_uri: https://github.com/masamitsu-murase/solargraph-rails-patch-for-rails71
38
+ source_code_uri: https://github.com/masamitsu-murase/solargraph-rails-patch-for-rails71
39
+ post_install_message:
40
+ rdoc_options: []
41
+ require_paths:
42
+ - lib
43
+ required_ruby_version: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 2.6.0
48
+ required_rubygems_version: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0'
53
+ requirements: []
54
+ rubygems_version: 3.4.10
55
+ signing_key:
56
+ specification_version: 4
57
+ summary: Resolve incompatibility issue of solargraph-rails with Rails 7.1
58
+ test_files: []