rudash 3.0.7 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/rudash.rb +2 -0
- data/lib/rudash/nth.rb +11 -0
- data/lib/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3ed37d5d3069ea882af8b587385f2f53bdb22b64f35169dfc9d5ade60d6fbf61
|
4
|
+
data.tar.gz: 1a72e4d939b5de24f294a168619081b53c19fcecb25d48d3c75203d820045f05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ffb14c2df59e03ac9b03d187fa88684e51ad04f5c4eb68cd81d63b733fa4f04ca6c9e7cd9060f57c004f439b7ca1b6c971c154627ad7e8d542f367baee55a9a
|
7
|
+
data.tar.gz: 63b21b5c765c7a58db62c91e4ea1474ce3da2613a21246235106ed888375274cb792077caff9c3efb3c6faf3aa34c49cc56528723848fd41f532a4507e717ee7
|
data/lib/rudash.rb
CHANGED
@@ -52,6 +52,7 @@ require_relative './rudash/chain.rb'
|
|
52
52
|
require_relative './rudash/flow.rb'
|
53
53
|
require_relative './rudash/flow_right.rb'
|
54
54
|
require_relative './rudash/unset.rb'
|
55
|
+
require_relative './rudash/nth.rb'
|
55
56
|
|
56
57
|
### Utils Requires
|
57
58
|
require_relative './utils/index.rb'
|
@@ -121,6 +122,7 @@ class R_
|
|
121
122
|
extend Rudash::Flow
|
122
123
|
extend Rudash::FlowRight
|
123
124
|
extend Rudash::Unset
|
125
|
+
extend Rudash::Nth
|
124
126
|
end
|
125
127
|
|
126
128
|
# rubocop:enable Naming/ClassAndModuleCamelCase
|
data/lib/rudash/nth.rb
ADDED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rudash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Islam Attrash
|
@@ -51,6 +51,7 @@ files:
|
|
51
51
|
- lib/rudash/map.rb
|
52
52
|
- lib/rudash/negate.rb
|
53
53
|
- lib/rudash/nil.rb
|
54
|
+
- lib/rudash/nth.rb
|
54
55
|
- lib/rudash/number.rb
|
55
56
|
- lib/rudash/pick.rb
|
56
57
|
- lib/rudash/range.rb
|