index
:
delta/ruby.git
5a1dfb04bc2
KEIJU
KOSAKO
RUBY
SER
SHIGEO
SPCOLTRIN
baserock/GENIVI/G-1.2
baserock/liw/sam/chef
baserock/morph/ruby_1_8_7
baserock/morph/ruby_1_9_3
baserock/ps/proto-web-system
baserock/ruby_1_9_3
baserock/ruby_2_0_0
baserock/ruby_2_1
baserock/v1_9_3_194-bootstrap
bundler
c65f10304f
copy_file_range_bug
dependabot/bundler/spec/mspec/rake-12.3.3
half-baked-1.9
master
matzruby
maximecb-patch-1
maximecb-patch-2
mvm
new_gc
revert-2779-news-for-module-name
rexml_adds_tests
ricsin
ruby_1_3
ruby_1_4
ruby_1_6
ruby_1_8
ruby_1_8_5
ruby_1_8_6
ruby_1_8_7
ruby_1_9_1
ruby_1_9_2
ruby_1_9_3
ruby_2_0_0
ruby_2_1
ruby_2_2
ruby_2_3
ruby_2_4
ruby_2_5
ruby_2_6
ruby_2_7
ruby_3_0
ruby_3_1
ruby_3_2
ruby_m17n
scheduler-process-wait
testunit
thread_inspect
trunk
unlabeled-1.1.1
unlabeled-1.39.2
v1_0r
v1_1dev
v1_1r
win32-unicode-test
yuki24-patch-1
github.com: ruby/ruby.git
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
test
/
test_prime.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Suppress method redefinition warnings
Nobuyoshi Nakada
2019-06-30
1
-0
/
+1
*
Removed unused variables
Nobuyoshi Nakada
2019-06-30
1
-1
/
+1
*
test/test_prime.rb: add testcases of prime library
mame
2018-06-24
1
-0
/
+81
*
prime.rb: remove alias after timeout test
stomar
2017-05-20
1
-0
/
+1
*
lib/prime: Fix primality of some large integers [#13492].
marcandre
2017-05-20
1
-7
/
+8
*
test/test_prime.rb: update method name in comment
stomar
2017-04-22
1
-1
/
+1
*
* lib/prime.rb: Optimize prime?
marcandre
2016-08-10
1
-10
/
+7
*
Add frozen_string_literal: false for all files
naruse
2015-12-16
1
-0
/
+1
*
* lib/prime.rb: Add basic argument checking to Prime.prime?
marcandre
2015-10-20
1
-0
/
+5
*
test: refine assertions
nobu
2015-06-25
1
-3
/
+1
*
test_prime.rb: cosmetic changes
nobu
2015-06-25
1
-2
/
+2
*
test_prime.rb: descriptive assertions
nobu
2015-06-14
1
-32
/
+32
*
* lib/prime.rb: Return sized enumerators.
marcandre
2015-06-12
1
-0
/
+7
*
* lib/prime.rb: Fix with_object with no block given
marcandre
2015-06-12
1
-0
/
+9
*
* lib/prime.rb: Have with_index accept an offset parameter.
marcandre
2015-06-12
1
-0
/
+11
*
use assert_raise
nobu
2015-06-02
1
-1
/
+1
*
* lib/prime.rb: Remove obsolete Prime.new
marcandre
2015-05-22
1
-14
/
+8
*
* lib/prime.rb (Prime#prime?): negative numbers can't be primes
ayumin
2014-05-08
1
-2
/
+2
*
* lib/prime.rb (Prime::EratosthenesGenerator,
yugui
2013-07-15
1
-1
/
+1
*
* test/syck/test_string.rb (Syck::TestString#test_non_binary_string):
nobu
2011-02-13
1
-1
/
+1
*
* test/test_prime.rb (TestPrime#test_new): the warning expected have
yugui
2010-09-22
1
-5
/
+7
*
supress warnings.
akr
2010-01-25
1
-5
/
+5
*
* test/test_prime.rb
yugui
2009-10-18
1
-0
/
+26
*
* lib/prime.rb (Prime#prime_division): now decomposes
yugui
2009-07-13
1
-0
/
+5
*
* {ext,lib,test}/**/*.rb: removed trailing spaces.
nobu
2009-03-06
1
-10
/
+10
*
* lib/prime.rb (Prime::prime?): used to return a wrong answer.
yugui
2009-03-03
1
-0
/
+15
*
* lib/mathn.rb (Integer): moved into prime.rb.
yugui
2008-09-03
1
-0
/
+126