dorian-shuffle 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/bin/shuffle +2 -1
  3. data/lib/dorian/shuffle.rb +3 -1
  4. metadata +4 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5623fe35931f578ba4a68ae66cb8a3d87aa450128cccf3469c51814916937d3e
4
- data.tar.gz: 306c65a104a99153c81c1f0cc571cfe8c3d555fc0bc16436e8ef09517697876c
3
+ metadata.gz: 4f67205cbcb7057ce6afd982cc239ff19f7dcbc8b1ed9a85636abc44b0cf95c3
4
+ data.tar.gz: ebfc99491f6d21ae489f023158d2512cae23b528e47f344acb2110c7e4eb79eb
5
5
  SHA512:
6
- metadata.gz: c6fba67832fea31e35ecc60f75d66d5bd428a547f9329497c5ff62aa84e5d115036ab4b44138be7847d2271279b79b1bd96953e42430a763a7f155516bfb4641
7
- data.tar.gz: 3b6fcbdf60cdfff467d9a84c430ddcb7adb6c1637fa460915e1f4bec97ca7b1b22171f0f1a53d15f2d3ff65fd1e3c989ceffe5dcf8dca7d8b7f3e7c6494f3caa
6
+ metadata.gz: 457d41ef8a94792194fc0f96a87b61c5797305ca1970195a00734161d26baa82ac44a698b55e16f6bfa80b424f375d2d0fc33691c38930c73fa9330b80b71c43
7
+ data.tar.gz: f10f998de1975fb24db83373e64d822d8aa2816c2433de0354b76c971e4950fb29cfb618d360c05304ee1e43f96c18c559cfbebcfbf230f8669bdaf3d1ad3e49
data/bin/shuffle CHANGED
@@ -1,4 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
+ # frozen_string_literal: true
2
3
 
3
- require 'dorian/shuffle'
4
+ require "dorian/shuffle"
4
5
  Dorian::Shuffle.run
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  module Dorian
2
4
  class Shuffle
3
5
  def self.run
@@ -6,7 +8,7 @@ module Dorian
6
8
  exit
7
9
  end
8
10
 
9
- puts STDIN.each_line.to_a.shuffle
11
+ puts $stdin.each_line.to_a.shuffle
10
12
  end
11
13
  end
12
14
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dorian-shuffle
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dorian Marié
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-19 00:00:00.000000000 Z
11
+ date: 2024-02-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: |-
14
14
  Shuffles the lines of the input
@@ -22,7 +22,7 @@ extra_rdoc_files: []
22
22
  files:
23
23
  - bin/shuffle
24
24
  - lib/dorian/shuffle.rb
25
- homepage: https://github.com/dorianmariefr/shuffle
25
+ homepage: https://github.com/dorianmariecom/shuffle
26
26
  licenses:
27
27
  - MIT
28
28
  metadata:
@@ -42,7 +42,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
42
42
  - !ruby/object:Gem::Version
43
43
  version: '0'
44
44
  requirements: []
45
- rubygems_version: 3.2.22
45
+ rubygems_version: 3.5.3
46
46
  signing_key:
47
47
  specification_version: 4
48
48
  summary: Shuffles the lines of the input