prime_8 0.1.0 → 0.1.2
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/exe/{run → show_primes} +1 -2
- data/lib/prime_8/version.rb +1 -1
- data/prime_8.gemspec +1 -9
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: adba24970d6604c8389141787aa688ec73cfdf32
|
|
4
|
+
data.tar.gz: 8ef90cdcbee33f872045229824c09cbee919c59c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d5c48cd9b093bdc15dced15b693f1551f7c2b28524d5f6585e0ddefb78b26e8776872f143906e99c5b3498225b2aef8a9a1f9f01fddcab59512aae1fadbef87f
|
|
7
|
+
data.tar.gz: 7add462d67d6a2472d92e73f7ba461d53960cddc35d26611cd53640c97cb6a1ca98433e8bc021b412f70159b518ea8b39e9f206c4e87a141ca6306555f9914ac
|
data/exe/{run → show_primes}
RENAMED
|
@@ -5,7 +5,7 @@ require "prime_8"
|
|
|
5
5
|
require 'cri'
|
|
6
6
|
|
|
7
7
|
command = Cri::Command.define do
|
|
8
|
-
name '
|
|
8
|
+
name 'show_primes'
|
|
9
9
|
usage 'usage: print [options]'
|
|
10
10
|
summary 'prints a table of primes'
|
|
11
11
|
description <<-EOS
|
|
@@ -18,4 +18,3 @@ command = Cri::Command.define do
|
|
|
18
18
|
end
|
|
19
19
|
|
|
20
20
|
command.run(ARGV)
|
|
21
|
-
|
data/lib/prime_8/version.rb
CHANGED
data/prime_8.gemspec
CHANGED
|
@@ -12,15 +12,7 @@ Gem::Specification.new do |spec|
|
|
|
12
12
|
spec.summary = %q{A brief excercise and exploration of primes.}
|
|
13
13
|
spec.description = %q{A brief excercise and exploration of primes. cli, benchmarks and tests between diffent prime generation algorithms, etc}
|
|
14
14
|
spec.homepage = "http://github.com/mjording/prime_8."
|
|
15
|
-
|
|
16
|
-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
|
17
|
-
# delete this section to allow pushing this gem to any host.
|
|
18
|
-
#if spec.respond_to?(:metadata)
|
|
19
|
-
#spec.metadata['allowed_push_host'] = "TODO: Set to 'http://mygemserver.com'"
|
|
20
|
-
#else
|
|
21
|
-
#raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
|
22
|
-
#end
|
|
23
|
-
|
|
15
|
+
|
|
24
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
|
25
17
|
spec.bindir = "exe"
|
|
26
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: prime_8
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matthew Jording
|
|
@@ -127,7 +127,7 @@ description: A brief excercise and exploration of primes. cli, benchmarks and te
|
|
|
127
127
|
email:
|
|
128
128
|
- mjording@gmail.com
|
|
129
129
|
executables:
|
|
130
|
-
-
|
|
130
|
+
- show_primes
|
|
131
131
|
extensions: []
|
|
132
132
|
extra_rdoc_files: []
|
|
133
133
|
files:
|
|
@@ -140,7 +140,7 @@ files:
|
|
|
140
140
|
- Rakefile
|
|
141
141
|
- bin/console
|
|
142
142
|
- bin/setup
|
|
143
|
-
- exe/
|
|
143
|
+
- exe/show_primes
|
|
144
144
|
- lib/prime_8.rb
|
|
145
145
|
- lib/prime_8/generators.rb
|
|
146
146
|
- lib/prime_8/generators/atkins_generator.rb
|