rand_t 0.1.0 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3f19dec2428914f40c2e35c749a4248912153e3c
4
- data.tar.gz: ea0224046a709b4e5cf45b0d94eda5d2f8af99be
3
+ metadata.gz: 8e81e9071d79da8c0c6d658ba4aace316c97ba78
4
+ data.tar.gz: 1e932a2c21f45f4a8b7b2cd3a6dd5708c6c935e6
5
5
  SHA512:
6
- metadata.gz: 23afd3fa2840588d0dbd3a26e0af388f7232ba1a4792cba7839ce1448d70cda557ed3fcbe04321ef2fa33537f94cb7b2c0972f5e18e7df3cd44a0313bef3e8be
7
- data.tar.gz: 6ad983681159c7779b2dde3e3095008718a1883dc10d3cfa8e0b55df9da46ea63f699f22e3508426fba5f5718ced7f7efd0003115e7bde48a5aca64dbea63ab1
6
+ metadata.gz: c655b656041490cc5b625d23c994ac7975af7c0c65a655759e78cfce916b8bceb3b5b8843869e53e579999d6459be884a4ba6cf686ad4886b0496030d9adc6a0
7
+ data.tar.gz: 59d414c7200cd77e59d4ce408fd5ff0b56e54626ca5eac90132e8055669b7cbcef6f1b1f895a8fc38077d3ecceb3f66a721f512e55f855aef8992ae3a5486a7e
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ .idea/
data/bin/rand_t ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env ruby
2
+ require 'rand_t'
3
+ p '2323323'
@@ -1,7 +1,7 @@
1
1
  module RandT
2
2
  class GenNum
3
3
  def gen
4
- 5.times.map{ single_draw }
4
+ 4.times.map{ single_draw }
5
5
  end
6
6
 
7
7
  private
@@ -1,3 +1,3 @@
1
1
  module RandT
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
data/rand_t.gemspec CHANGED
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
26
26
  spec.files = `git ls-files -z`.split("\x0").reject do |f|
27
27
  f.match(%r{^(test|spec|features)/})
28
28
  end
29
- spec.bindir = "exe"
30
- spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
29
+ spec.bindir = "bin"
30
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
31
31
  spec.require_paths = ["lib"]
32
32
 
33
33
  spec.add_development_dependency "bundler", "~> 1.13"
metadata CHANGED
@@ -1,12 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rand_t
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tianlitao
8
8
  autorequire:
9
- bindir: exe
9
+ bindir: bin
10
10
  cert_chain: []
11
11
  date: 2018-03-02 00:00:00.000000000 Z
12
12
  dependencies:
@@ -41,7 +41,10 @@ dependencies:
41
41
  description: rand t.
42
42
  email:
43
43
  - tianlitao3399@gmail.com
44
- executables: []
44
+ executables:
45
+ - console
46
+ - rand_t
47
+ - setup
45
48
  extensions: []
46
49
  extra_rdoc_files: []
47
50
  files:
@@ -52,6 +55,7 @@ files:
52
55
  - README.md
53
56
  - Rakefile
54
57
  - bin/console
58
+ - bin/rand_t
55
59
  - bin/setup
56
60
  - lib/rand_t.rb
57
61
  - lib/rand_t/gen_num.rb