tolken 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9e3b810d92ead0e93a5131e336d22f2f66425549eb0df62a013b27506450d086
4
- data.tar.gz: 8137c3c286daf8052cc07584d01ddffc3db1f5a2e1e2379f88bc2d73b032c081
3
+ metadata.gz: d6bba5215d5b80b01dff93c1e144b211c5dbb20b26efbb4aa8f4b31252ca1dbc
4
+ data.tar.gz: 42c0e38832a55ea0afce7b7e29bda8b8cdeafad90de78c1b67b21e25f45efe7c
5
5
  SHA512:
6
- metadata.gz: 9578b5db99672f9c51af74dea5d88b8640c2420cd635a12dffcf95151af7d660be82ca7286119a1a50319029d51bdde0b8b63a71c1985bf4ea802b0736555413
7
- data.tar.gz: c8d80d8c6a40691716920b95e5bd4dcb4f028edd9b9ddc76e9471df5a691be3a9dd3c061ff948673a424a61e054d584b9272de033d64badadaeb7e8b4053ef01
6
+ metadata.gz: 2f4401319f42c32446a82380d2769adb5f0eaa4bb8c273ad2449c2bf2c6a989d721445c5a4785b189beeff401ce1071361eb82087515a024577cf66ec1857cc0
7
+ data.tar.gz: 75382baf1e07e5e02a59c60f168f1d3c01c32162f72d63886b8a63ecdd3f598767cbcb141139d408977921b20cf22a972dc0f87f7b1d2fb7c718f785d77466ff
@@ -498,6 +498,7 @@ Style/PercentLiteralDelimiters:
498
498
  "%w": "[]"
499
499
  "%W": "[]"
500
500
  "%Q": "{}"
501
+ "%q": "{}"
501
502
 
502
503
  Style/PercentQLiterals:
503
504
  EnforcedStyle: upper_case_q
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tolken (0.3.0)
4
+ tolken (0.3.1)
5
5
  rails (= 5.2.1)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  # Tolken
2
- Tolken is a Ruby on Rails Gem that allows you to translate database fields using Postgres' jsob data type.
2
+ Straightforward Rails database translations using psql jsonb
3
3
 
4
- Tolken's API is more verbose than most similar gems. The idea is that you should be aware of when you're dealing with translatable fields and what language you're interested in in any given moment. In Tolken a translatable field is just a Ruby hash which makes it easy to reason about. See *Usage* for details.
4
+ Tolken's API is more verbose than most similar gems. The idea is that you should be aware of when you're dealing with translatable fields and what language you're interested in in any given moment. In tolken a translatable field is just a Ruby hash which makes it easy to reason about. See *Usage* for details.
5
5
 
6
+ [![Gem Version](https://badge.fury.io/rb/tolken.svg)](https://badge.fury.io/rb/tolken)
6
7
  [![Build Status](https://travis-ci.org/varvet/tolken.svg?branch=master)](https://travis-ci.org/varvet/tolken)
7
8
  [![Maintainability](https://api.codeclimate.com/v1/badges/72c772179a8baa586f7f/maintainability)](https://codeclimate.com/github/varvet/tolken/maintainability)
8
9
  [![Test Coverage](https://api.codeclimate.com/v1/badges/72c772179a8baa586f7f/test_coverage)](https://codeclimate.com/github/varvet/tolken/test_coverage)
@@ -134,7 +135,7 @@ The specs for [translates](spec/tolken/translates_spec.rb) is a good resource of
134
135
  ## Development
135
136
 
136
137
  ### Native dependencies
137
- You need to have Postgres installed on your system. This can be done on Mac OS with `brew install postgres`.
138
+ You need to have postgresql installed on your system. This can be done on Mac OS with `brew install postgresql`.
138
139
 
139
140
  ### Ruby setup
140
141
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tolken
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
@@ -7,17 +7,15 @@ require "tolken/version"
7
7
  Gem::Specification.new do |spec|
8
8
  spec.name = "tolken"
9
9
  spec.version = Tolken::VERSION
10
- spec.authors = ["Nicklas Ramhöj, Julia Friberg"]
11
- spec.email = ["nicklas.ramhoj@varvet.com, julia.friberg@varvet.com"]
10
+ spec.authors = ["Nicklas Ramhöj", "Julia Friberg"]
11
+ spec.email = ["nicklas.ramhoj@varvet.com", "julia.friberg@varvet.com"]
12
12
 
13
- spec.summary = "A down-to-earth database translation Gem for Rails using psql jsonb"
14
- spec.description = """
15
- #{spec.summary}.
16
- Designed to be less magic than most other translation projects. You should be aware of when you're dealing with
17
- translatable fields and what language you're interested in at any given moment. This comes from experience working with
18
- gems such as Globalize, while it might fit some projects we've found that the magic that starts out as a convenience
19
- quickly becomes a liability. In Tolken a translatable field is just a Ruby hash which makes it easy to reason about.
20
- """
13
+ spec.summary = "Straightforward Rails database translations using psql jsonb"
14
+ spec.description = %q{
15
+ Tolken's API is more verbose than most similar gems. The idea is that you should be aware of when you're dealing with
16
+ translatable fields and what language you're interested in in any given moment. In tolken a translatable field is just a
17
+ Ruby hash which makes it easy to reason about.
18
+ }
21
19
  spec.homepage = "https://github.com/varvet/tolken"
22
20
  spec.license = "MIT"
23
21
 
metadata CHANGED
@@ -1,10 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tolken
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
- - Nicklas Ramhöj, Julia Friberg
7
+ - Nicklas Ramhöj
8
+ - Julia Friberg
8
9
  autorequire:
9
10
  bindir: exe
10
11
  cert_chain: []
@@ -164,16 +165,13 @@ dependencies:
164
165
  - - "~>"
165
166
  - !ruby/object:Gem::Version
166
167
  version: '2.0'
167
- description: "\n A down-to-earth database translation Gem for Rails using psql
168
- jsonb.\n Designed to be less magic than most other translation projects. You
169
- should be aware of when you're dealing with\n translatable fields and what language
170
- you're interested in at any given moment. This comes from experience working with\n
171
- \ gems such as Globalize, while it might fit some projects we've found that the
172
- magic that starts out as a convenience\n quickly becomes a liability. In Tolken
173
- a translatable field is just a Ruby hash which makes it easy to reason about.\n
174
- \ "
168
+ description: "\n Tolken's API is more verbose than most similar gems. The idea
169
+ is that you should be aware of when you're dealing with\n translatable fields
170
+ and what language you're interested in in any given moment. In tolken a translatable
171
+ field is just a\n Ruby hash which makes it easy to reason about.\n "
175
172
  email:
176
- - nicklas.ramhoj@varvet.com, julia.friberg@varvet.com
173
+ - nicklas.ramhoj@varvet.com
174
+ - julia.friberg@varvet.com
177
175
  executables: []
178
176
  extensions: []
179
177
  extra_rdoc_files: []
@@ -218,5 +216,5 @@ rubyforge_project:
218
216
  rubygems_version: 2.7.3
219
217
  signing_key:
220
218
  specification_version: 4
221
- summary: A down-to-earth database translation Gem for Rails using psql jsonb
219
+ summary: Straightforward Rails database translations using psql jsonb
222
220
  test_files: []