each_with 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7791582361cdb4a7ff1d4a8a07a610158a733988de45c8e7238221896a8d9ddd
4
- data.tar.gz: eccc317bf07c875bab3b8909486a11563388487c86872d7ef5db66ed24799d2f
3
+ metadata.gz: eb4fd0abb468dc3722ae1221744054bcba2507849a1b2b2942c1df0c5f6fa624
4
+ data.tar.gz: ff8e6564e7d791cbb3918f47b39fffd0e6d4f31a14059f9dfa648cad69b5637d
5
5
  SHA512:
6
- metadata.gz: 42fd59f3a085ab500ba241411f6b8352250117678f60727a7586f5cb1ea157f25abc209736bd6a44a085ce96de490106f7ea87dd0d13ed97a4cb0c8686299991
7
- data.tar.gz: 2d3e53a25c7460278cb32da9eaf06afe01949033c10d1196f52415505a2cf790f5e33b1561e6f4e44016c63c5ebbda36dca4ebf31b981f0ef2d3034d3b1bc5bb
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
@@ -10,3 +10,4 @@
10
10
 
11
11
  # rspec failure tracking
12
12
  .rspec_status
13
+ *.gem
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{im tired of if index == array.length}
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")
@@ -1,3 +1,3 @@
1
1
  module EachWith
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
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.0
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 00:00:00.000000000 Z
11
+ date: 2019-12-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: im tired of if index == array.length
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"