Comments (5)
Yeah, unfortunately it seems to be the case. I'm sorry for this! Here's a quick solution:
class Array
def filter(&block)
self.select(&block)
end
end
This will serve as polyfill for the filter
method (select
should be available in 2.5).
from lokalise_rails.
I've published lokalise_manager v2.2.1 which is used by lokalise_rails v4 and fixed that issue bodrovis/lokalise_manager@9fc47fb Just to be on a safe side, you can manually include it into your Gemfile:
lokalise_rails, '~> 4'
lokalise_manager, '2.2.1'
from lokalise_rails.
Weeeell, yeah. Formally, this gem had Ruby 2.5 specified as a supported platform but actually I'm pretty sure it was a mistake from my side as it was never tested with that version, at least starting from v3. Ruby 2.5 was abandoned quite some time ago and I really don't have any plans to backport this gem for Ruby 2.5, to be honest. I'll see what can be done but can't make any promises :(
from lokalise_rails.
Perhaps, the simplest solution is to stay on v3 which is very similar to v4 (the main difference is that it doesn't use multithreading). In this case you should be good as it relies on Faraday 1.
from lokalise_rails.
Now there's a problem with faraday
:
lokalise_manager
v2.2.1 requiresruby-lokalise-api
v5.0ruby-lokalise-api
v5.0 requiresfaraday
v2.0faraday
v2.0 requires Ruby 2.6
Please check all your dependecies chain on Ruby 2.5, so I'm not ought to report it again =)
from lokalise_rails.
Related Issues (7)
- Installing the gem for only development group HOT 1
- Old version of lokalise_rails is installed / Import not working HOT 10
- Basic integration not working HOT 15
- Export doesn't return error status when failing HOT 4
- Cannot export to Ruby on Rails project as default placeholders are wrong HOT 18
- Line breaks in strings containing html get double escaped on import HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lokalise_rails.