each_with 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 +4 -4
- data/.circleci/config.yml +22 -0
- data/.gitignore +1 -0
- data/README.md +3 -0
- data/each_with.gemspec +1 -1
- data/lib/each_with/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: eb4fd0abb468dc3722ae1221744054bcba2507849a1b2b2942c1df0c5f6fa624
|
4
|
+
data.tar.gz: ff8e6564e7d791cbb3918f47b39fffd0e6d4f31a14059f9dfa648cad69b5637d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7adb3c655d5271451bfa180bfc4a1c2d88a303f2335a8b42a99b132ce7f403c0bb7906641f79924c6519a81370bcc3b7467265c651529bfe3dd22dd099733d9
|
7
|
+
data.tar.gz: c3b3f6e76bbaef77c4800dcf1c7db8e7802f522f7c8212b16fd6e8980f1e2813f91098e5d28253e543ef1146d69f813f6b43cec0329d85de518ca94a63141442
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Ruby CircleCI 2.1 configuration file
|
2
|
+
#
|
3
|
+
# Check https://circleci.com/docs/2.0/ruby/ for more details
|
4
|
+
#
|
5
|
+
version: 2.1
|
6
|
+
|
7
|
+
|
8
|
+
orbs:
|
9
|
+
ruby: circleci/ruby@0.1.2 # Ruby orb registry: https://circleci.com/orbs/registry/orb/circleci/ruby
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
build:
|
13
|
+
docker:
|
14
|
+
- image: circleci/ruby:2.6.3-stretch-node
|
15
|
+
steps:
|
16
|
+
- checkout
|
17
|
+
- run: gem install bundler -v 2.1.0.pre.3
|
18
|
+
- run: bundle install
|
19
|
+
- run: bundle exec rspec
|
20
|
+
|
21
|
+
# What to do next? Set up a test job. Please see
|
22
|
+
# https://circleci.com/docs/2.0/configuration-reference/, for more info on how to get started.
|
data/.gitignore
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
# EachWith
|
2
|
+
[![CircleCI](https://circleci.com/gh/prodion23/each_with.svg?style=svg)](https://circleci.com/gh/prodion23/each_with)
|
2
3
|
|
3
4
|
The EachWith gems adds some minor helper methods to array iteration.
|
4
5
|
|
@@ -52,6 +53,8 @@ The gem currently adds 3 methods to Array objects.
|
|
52
53
|
|
53
54
|
Example usage:
|
54
55
|
```ruby
|
56
|
+
require 'each_with'
|
57
|
+
|
55
58
|
some_array = [1,2,3]
|
56
59
|
some_array.each_indicate_last do |element, is_last|
|
57
60
|
if is_last
|
data/each_with.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
|
|
7
7
|
spec.email = ["golden_zinia@protonmail.com"]
|
8
8
|
|
9
9
|
spec.summary = %q{Some helpful methods for iteration}
|
10
|
-
spec.description = %q{
|
10
|
+
spec.description = %q{Add indication methods to Array to determine what element you are on!}
|
11
11
|
spec.homepage = "https://github.com/prodion23/each_with"
|
12
12
|
spec.license = "MIT"
|
13
13
|
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
data/lib/each_with/version.rb
CHANGED
metadata
CHANGED
@@ -1,22 +1,23 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: each_with
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- prodion23
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-12-
|
11
|
+
date: 2019-12-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: Add indication methods to Array to determine what element you are on!
|
14
14
|
email:
|
15
15
|
- golden_zinia@protonmail.com
|
16
16
|
executables: []
|
17
17
|
extensions: []
|
18
18
|
extra_rdoc_files: []
|
19
19
|
files:
|
20
|
+
- ".circleci/config.yml"
|
20
21
|
- ".gitignore"
|
21
22
|
- ".rspec"
|
22
23
|
- ".ruby-gemset"
|