Skip to content

Commit

Permalink
Drop ruby_parser dev dependency
Browse files Browse the repository at this point in the history
After the ruby_parser code was removed in #201, there were a few
remnants, including the dev dependency.

Note that this commit also updates nio4r and sqlite3 as I couldn't get
those older gem version to compile on my machine.
  • Loading branch information
Fryguy committed Oct 17, 2024
1 parent 27ae384 commit 6710490
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 39 deletions.
11 changes: 5 additions & 6 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
ruby_parser (3.20.1)
sexp_processor (~> 4.16)
sexp_processor (4.17.0)
sexp_processor (4.17.2)
singleton (0.1.1)
slim (4.1.0)
temple (>= 0.7.6, < 0.9)
tilt (>= 2.0.6, < 2.1)
sqlite3 (1.4.4)
sqlite3 (1.7.3-arm64-darwin)
sqlite3 (1.7.3-x86_64-darwin)
sqlite3 (1.7.3-x86_64-linux)
temple (0.8.2)
text (1.3.1)
thor (1.2.2)
Expand Down Expand Up @@ -209,10 +209,9 @@ DEPENDENCIES
rails
rake
rspec
ruby_parser (>= 3.7.1)
sexp_processor
slim
sqlite3
sqlite3 (~> 1.7)

BUNDLED WITH
2.4.13
2 changes: 0 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,10 @@ gem 'gettext_i18n_rails'

##### Optional:
Add `gettext` if you want to find translations or build .mo files<br/>
Add `ruby_parser` if you want to find translations inside haml/slim files

```Ruby
# Gemfile
gem 'gettext', '>=3.0.2', :require => false
gem 'ruby_parser', :require => false, :group => :development
```

###### Add first language:
Expand Down
13 changes: 6 additions & 7 deletions gemfiles/rails52.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ GEM
method_source (1.0.0)
mini_mime (1.1.2)
minitest (5.16.3)
nio4r (2.5.8)
nio4r (2.7.3)
nokogiri (1.13.8-arm64-darwin)
racc (~> 1.4)
nokogiri (1.13.8-x86_64-linux)
Expand Down Expand Up @@ -133,9 +133,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.11.0)
rspec-support (3.11.0)
ruby_parser (3.19.1)
sexp_processor (~> 4.16)
sexp_processor (4.16.1)
sexp_processor (4.17.2)
singleton (0.1.1)
slim (4.1.0)
temple (>= 0.7.6, < 0.9)
Expand All @@ -147,7 +145,8 @@ GEM
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
sqlite3 (1.4.4)
sqlite3 (1.7.3-arm64-darwin)
sqlite3 (1.7.3-x86_64-linux)
temple (0.8.2)
text (1.3.1)
thor (1.2.1)
Expand All @@ -161,6 +160,7 @@ GEM

PLATFORMS
arm64-darwin-21
arm64-darwin-23
x86_64-linux

DEPENDENCIES
Expand All @@ -172,10 +172,9 @@ DEPENDENCIES
rails (~> 5.2.0)
rake
rspec
ruby_parser (>= 3.7.1)
sexp_processor
slim
sqlite3
sqlite3 (~> 1.7)

BUNDLED WITH
2.4.3
16 changes: 7 additions & 9 deletions gemfiles/rails61.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ GEM
timeout
net-smtp (0.3.3)
net-protocol
nio4r (2.5.9)
nio4r (2.7.3)
nokogiri (1.15.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.2-x86_64-darwin)
Expand Down Expand Up @@ -169,9 +169,7 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
ruby_parser (3.20.1)
sexp_processor (~> 4.16)
sexp_processor (4.17.0)
sexp_processor (4.17.2)
singleton (0.1.1)
slim (5.1.1)
temple (~> 0.10.0)
Expand All @@ -183,9 +181,9 @@ GEM
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
sqlite3 (1.6.3-arm64-darwin)
sqlite3 (1.6.3-x86_64-darwin)
sqlite3 (1.6.3-x86_64-linux)
sqlite3 (1.7.3-arm64-darwin)
sqlite3 (1.7.3-x86_64-darwin)
sqlite3 (1.7.3-x86_64-linux)
temple (0.10.2)
text (1.3.1)
thor (1.2.2)
Expand All @@ -200,6 +198,7 @@ GEM

PLATFORMS
arm64-darwin-21
arm64-darwin-23
x86_64-darwin-22
x86_64-linux

Expand All @@ -212,10 +211,9 @@ DEPENDENCIES
rails (~> 6.1.0)
rake
rspec
ruby_parser (>= 3.7.1)
sexp_processor
slim
sqlite3
sqlite3 (~> 1.7)

BUNDLED WITH
2.4.13
16 changes: 7 additions & 9 deletions gemfiles/rails70.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ GEM
timeout
net-smtp (0.3.3)
net-protocol
nio4r (2.5.9)
nio4r (2.7.3)
nokogiri (1.15.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.2-x86_64-darwin)
Expand Down Expand Up @@ -175,16 +175,14 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
ruby_parser (3.20.1)
sexp_processor (~> 4.16)
sexp_processor (4.17.0)
sexp_processor (4.17.2)
singleton (0.1.1)
slim (5.1.1)
temple (~> 0.10.0)
tilt (>= 2.1.0)
sqlite3 (1.6.3-arm64-darwin)
sqlite3 (1.6.3-x86_64-darwin)
sqlite3 (1.6.3-x86_64-linux)
sqlite3 (1.7.3-arm64-darwin)
sqlite3 (1.7.3-x86_64-darwin)
sqlite3 (1.7.3-x86_64-linux)
temple (0.10.2)
text (1.3.1)
thor (1.2.2)
Expand All @@ -199,6 +197,7 @@ GEM

PLATFORMS
arm64-darwin-21
arm64-darwin-23
x86_64-darwin-22
x86_64-linux

Expand All @@ -211,10 +210,9 @@ DEPENDENCIES
rails (~> 7.0.0)
rake
rspec
ruby_parser (>= 3.7.1)
sexp_processor
slim
sqlite3
sqlite3 (~> 1.7)

BUNDLED WITH
2.4.13
8 changes: 4 additions & 4 deletions gemfiles/rails71.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,8 @@ GEM
net-smtp (0.5.0)
net-protocol
nio4r (2.7.3)
nokogiri (1.15.6-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.6-x86_64-linux)
racc (~> 1.4)
prime (0.1.2)
Expand Down Expand Up @@ -203,14 +205,12 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-support (3.13.1)
ruby_parser (3.21.1)
racc (~> 1.5)
sexp_processor (~> 4.16)
sexp_processor (4.17.2)
singleton (0.2.0)
slim (5.2.1)
temple (~> 0.10.0)
tilt (>= 2.1.0)
sqlite3 (1.6.9-arm64-darwin)
sqlite3 (1.6.9-x86_64-linux)
stringio (3.1.1)
temple (0.10.3)
Expand All @@ -227,6 +227,7 @@ GEM
zeitwerk (2.6.17)

PLATFORMS
arm64-darwin-23
x86_64-linux

DEPENDENCIES
Expand All @@ -238,7 +239,6 @@ DEPENDENCIES
rails (~> 7.1.0)
rake
rspec
ruby_parser (>= 3.7.1)
sexp_processor
slim
sqlite3 (~> 1.6.3)
Expand Down
3 changes: 1 addition & 2 deletions gettext_i18n_rails.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ Gem::Specification.new name, GettextI18nRails::VERSION do |s|
s.add_development_dependency "hamlit"
s.add_development_dependency "rake"
s.add_development_dependency "rails"
s.add_development_dependency "ruby_parser", ">= 3.7.1" # sync with lib/gettext_i18n_rails/ruby_gettext_extractor.rb
s.add_development_dependency "sexp_processor"
s.add_development_dependency "rspec"
s.add_development_dependency "slim"
s.add_development_dependency "sqlite3"
s.add_development_dependency "sqlite3", "~> 1.7"
end

0 comments on commit 6710490

Please sign in to comment.