Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.3
2.7.4
5 changes: 4 additions & 1 deletion Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ appraise 'rails-5.2' do
gem 'rails-controller-testing'
gem 'minitest'
gem 'm', '~> 1.5.0'
gem 'google-cloud-translate', '~> 1.2.4'
end

appraise 'rails-6.0' do
Expand All @@ -36,11 +37,12 @@ appraise 'rails-6.0' do
gem 'rails-controller-testing'
gem 'minitest'
gem 'm', '~> 1.5.0'
gem 'google-cloud-translate', '~> 1.2.4'
end

appraise 'rails-6.1' do
source 'https://rubygems.org'
gem 'rails', '~> 6.1.3'
gem 'rails', '~> 6.1.4.1'
gem 'devise'
gem 'pg', '~> 1.2.3'
gem 'redis'
Expand All @@ -56,4 +58,5 @@ appraise 'rails-6.1' do
gem 'rails-controller-testing'
gem 'minitest'
gem 'm', '~> 1.5.0'
gem 'google-cloud-translate', '~> 2.1.2'
end
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ Lit::CloudTranslation.provider = Lit::CloudTranslation::Providers::Google
```
gem 'google-cloud-translate', '~> 1.2.4'
```
...we also support V2 of Google Cloud Translate gem, should you need it:
```
gem 'google-cloud-translate', '~> 2.1.2'
```

To use translation via Google, you need to obtain a [service account key](https://cloud.google.com/iam/docs/creating-managing-service-account-keys) containing all the credentials required by the API.

Expand Down
1 change: 1 addition & 0 deletions gemfiles/rails_5.2.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ gem "pry-rails"
gem "rails-controller-testing"
gem "minitest"
gem "m", "~> 1.5.0"
gem "google-cloud-translate", "~> 1.2.4"

gemspec path: "../"
115 changes: 60 additions & 55 deletions gemfiles/rails_5.2.gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,43 @@ PATH
GEM
remote: https://rubygems.org/
specs:
actioncable (5.2.5)
actionpack (= 5.2.5)
actioncable (5.2.6)
actionpack (= 5.2.6)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailer (5.2.5)
actionpack (= 5.2.5)
actionview (= 5.2.5)
activejob (= 5.2.5)
actionmailer (5.2.6)
actionpack (= 5.2.6)
actionview (= 5.2.6)
activejob (= 5.2.6)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.2.5)
actionview (= 5.2.5)
activesupport (= 5.2.5)
actionpack (5.2.6)
actionview (= 5.2.6)
activesupport (= 5.2.6)
rack (~> 2.0, >= 2.0.8)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.5)
activesupport (= 5.2.5)
actionview (5.2.6)
activesupport (= 5.2.6)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.2.5)
activesupport (= 5.2.5)
activejob (5.2.6)
activesupport (= 5.2.6)
globalid (>= 0.3.6)
activemodel (5.2.5)
activesupport (= 5.2.5)
activerecord (5.2.5)
activemodel (= 5.2.5)
activesupport (= 5.2.5)
activemodel (5.2.6)
activesupport (= 5.2.6)
activerecord (5.2.6)
activemodel (= 5.2.6)
activesupport (= 5.2.6)
arel (>= 9.0)
activestorage (5.2.5)
actionpack (= 5.2.5)
activerecord (= 5.2.5)
activestorage (5.2.6)
actionpack (= 5.2.6)
activerecord (= 5.2.6)
marcel (~> 1.0.0)
activesupport (5.2.5)
activesupport (5.2.6)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
Expand Down Expand Up @@ -78,7 +78,7 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.8)
concurrent-ruby (1.1.9)
crack (0.4.5)
rexml
crass (1.0.6)
Expand All @@ -100,8 +100,8 @@ GEM
faraday (0.17.4)
multipart-post (>= 1.2, < 3)
ffi (1.15.0)
globalid (0.4.2)
activesupport (>= 4.2.0)
globalid (1.0.0)
activesupport (>= 5.0)
google-cloud-core (1.6.0)
google-cloud-env (~> 1.0)
google-cloud-errors (~> 1.0)
Expand All @@ -120,39 +120,43 @@ GEM
os (>= 0.9, < 2.0)
signet (~> 0.7)
hashdiff (1.0.1)
i18n (1.8.10)
i18n (1.8.11)
concurrent-ruby (~> 1.0)
jquery-rails (4.4.0)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jwt (2.2.2)
loofah (2.9.1)
loofah (2.13.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
m (1.5.1)
method_source (>= 0.6.7)
rake (>= 0.9.2.2)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (1.0.1)
marcel (1.0.2)
memoist (0.16.2)
method_source (1.0.0)
mini_mime (1.1.0)
mini_mime (1.1.2)
mini_portile2 (2.6.1)
minispec-metadata (2.0.0)
minitest
minitest (5.14.4)
minitest (5.15.0)
minitest-vcr (1.4.0)
minispec-metadata (~> 2.0)
minitest (>= 4.7.5)
vcr (>= 2.9)
mocha (1.12.0)
multi_json (1.15.0)
multipart-post (2.1.1)
nio4r (2.5.7)
nokogiri (1.11.3-x86_64-darwin)
nio4r (2.5.8)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
nokogiri (1.12.5-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.11.3-x86_64-linux)
nokogiri (1.12.5-x86_64-linux)
racc (~> 1.4)
orm_adapter (0.5.0)
os (1.1.1)
Expand All @@ -166,22 +170,22 @@ GEM
pry-rails (0.3.9)
pry (>= 0.10.4)
public_suffix (4.0.6)
racc (1.5.2)
racc (1.6.0)
rack (2.2.3)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (5.2.5)
actioncable (= 5.2.5)
actionmailer (= 5.2.5)
actionpack (= 5.2.5)
actionview (= 5.2.5)
activejob (= 5.2.5)
activemodel (= 5.2.5)
activerecord (= 5.2.5)
activestorage (= 5.2.5)
activesupport (= 5.2.5)
rails (5.2.6)
actioncable (= 5.2.6)
actionmailer (= 5.2.6)
actionpack (= 5.2.6)
actionview (= 5.2.6)
activejob (= 5.2.6)
activemodel (= 5.2.6)
activerecord (= 5.2.6)
activestorage (= 5.2.6)
activesupport (= 5.2.6)
bundler (>= 1.3.0)
railties (= 5.2.5)
railties (= 5.2.6)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
Expand All @@ -190,15 +194,15 @@ GEM
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
railties (5.2.5)
actionpack (= 5.2.5)
activesupport (= 5.2.5)
railties (5.2.6)
actionpack (= 5.2.6)
activesupport (= 5.2.6)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rake (13.0.3)
rake (13.0.6)
redis (4.2.5)
regexp_parser (2.1.1)
responders (3.0.1)
Expand All @@ -223,9 +227,9 @@ GEM
sprockets (4.0.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.2)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets-rails (3.4.2)
actionpack (>= 5.2)
activesupport (>= 5.2)
sprockets (>= 3.0.0)
test_declarative (0.0.6)
thor (1.1.0)
Expand All @@ -240,13 +244,14 @@ GEM
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
websocket-driver (0.7.3)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
xpath (3.2.0)
nokogiri (~> 1.8)

PLATFORMS
ruby
x86_64-darwin-20
x86_64-linux

Expand Down Expand Up @@ -275,4 +280,4 @@ DEPENDENCIES
webmock

BUNDLED WITH
2.2.16
2.2.25
1 change: 1 addition & 0 deletions gemfiles/rails_6.0.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ gem "pry-rails"
gem "rails-controller-testing"
gem "minitest"
gem "m", "~> 1.5.0"
gem "google-cloud-translate", "~> 1.2.4"

gemspec path: "../"
Loading