arrangeable 0.1.0 → 0.1.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: e443aea681f9bb38807114868f0080e82401bf93b7714f267bb17f772391eac2
4
- data.tar.gz: ca4fc95848b7c227ac5a4c03d8018b6ccc1b81f05bcf47aba1426e75b3482e19
3
+ metadata.gz: e792401eb5f3db0304d82e1e0c03e2caf46fb7f18c9e6edae78d60649e5bcfc8
4
+ data.tar.gz: 454d4350d6bb622903ec9f88bcabce041ae4e154c017d4e3d4fc2ab3c67e5bee
5
5
  SHA512:
6
- metadata.gz: 3fdfd1ab819a50f249a08fef218323f7fbffe2947b08d33dd8ea91d0e4273b22a5c386186b3e6f5340e15ae4a46f5ad3dae2c1f7a2fb6c22008e7abfaaf90f9d
7
- data.tar.gz: 7d7a989c3eaf26b21d3f75f611713aac9a5c6ff6ae2cdbd61e7483721a3e10821667d5d303bdb97f4de9c8119a51068c88697bf9ac27e9c4dda313335604cd79
6
+ metadata.gz: eadfdb9c398ac738ad8227de9348c9eb2f791a57ff2c191f5161deea4652f892d81e157a4cf5f3843ca49478e90ff28e0b1ad1c44c6a603d6a185da638efb653
7
+ data.tar.gz: 31669e132c9a3b1fe89c1d9007069bc530f1008cc6dba00004f1a4054753244a457eeeb7993b123735e496fe5f4ad851e4fe83d8c2d0da101cf2e3da4dd5f6c3
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Arrangeable
2
2
 
3
- Arrangeable provides an organized and seamless way to sort your model objects by different attributes.
3
+ Arrangeable provides an organized and seamless way to sort your ActiveRecord objects by different attributes.
4
4
 
5
5
  ## Installation
6
6
 
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- Include Arrangeable inside ApplicationRecord or directly inside your model and override the `arrangeable_fields` method for each model to whitelist the fields you want to use for sorting:
23
+ Include Arrangeable inside ApplicationRecord or directly inside your ActiveRecord model and override the `arrangeable_fields` method for each model to whitelist the fields you want to use for sorting:
24
24
 
25
25
  ```ruby
26
26
  class User < ApplicationRecord
@@ -38,7 +38,7 @@ end
38
38
 
39
39
  Failing to override `arrangeable_fields` will raise a `NotImplementedError`.
40
40
 
41
- Now sort your model objects by calling `arrange` on a comma-separated order string. Prepend a negative sign `-` before a key to order by that key descendingly:
41
+ Now sort your objects by calling `arrange` on a comma-separated order string. Prepend a negative sign `-` before a key to order by that key descendingly:
42
42
 
43
43
  ```ruby
44
44
 
data/arrangeable.gemspec CHANGED
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.authors = ["Umar Al-Kfaween"]
9
9
  spec.email = ["omar.ka923@gmail.com"]
10
10
 
11
- spec.summary = %q{Arrangeable provides an organized and seamless way to sort your model objects by different attributes }
12
- spec.description = %q{Arrangeable provides an organized and seamless way to sort your model objects by different attributes }
11
+ spec.summary = %q{Arrangeable provides an organized and seamless way to sort your ActiveRecord objects by different attributes. }
12
+ spec.description = %q{Arrangeable provides an organized and seamless way to sort your ActiveRecord objects by different attributes. }
13
13
  spec.homepage = "https://github.com/umar221b/arrangeable"
14
14
  spec.license = "MIT"
15
15
 
@@ -1,3 +1,3 @@
1
1
  module Arrangeable
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arrangeable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Umar Al-Kfaween
@@ -66,8 +66,8 @@ dependencies:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.0'
69
- description: 'Arrangeable provides an organized and seamless way to sort your model
70
- objects by different attributes '
69
+ description: 'Arrangeable provides an organized and seamless way to sort your ActiveRecord
70
+ objects by different attributes. '
71
71
  email:
72
72
  - omar.ka923@gmail.com
73
73
  executables: []
@@ -111,6 +111,6 @@ requirements: []
111
111
  rubygems_version: 3.0.3
112
112
  signing_key:
113
113
  specification_version: 4
114
- summary: Arrangeable provides an organized and seamless way to sort your model objects
115
- by different attributes
114
+ summary: Arrangeable provides an organized and seamless way to sort your ActiveRecord
115
+ objects by different attributes.
116
116
  test_files: []