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
/
ostruct
/
test_ostruct.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Prefer dedicated assertion method
Nobuyoshi Nakada
2020-02-25
1
-1
/
+1
*
ostruct.rb: Accept block for to_h [#15451].
marcandre
2018-12-22
1
-0
/
+7
*
Support old versions of Ruby with FrozenError.
hsbt
2018-08-07
1
-3
/
+4
*
lib/ostruct.rb: Use `FrozenError` instead of `RuntimeError`.
marcandre
2018-02-06
1
-3
/
+3
*
test/ostruct: Specify frozen_string_literal: true.
kazu
2017-10-25
1
-1
/
+1
*
lib/ostruct.rb: Use frozen literals.
marcandre
2017-10-24
1
-0
/
+2
*
ostruct.rb: refine visibility failure message
nobu
2017-03-28
1
-0
/
+24
*
ostruct.rb: fix OpenStruct.allocate
nobu
2017-03-24
1
-0
/
+9
*
lib/ostruct.rb: Fix returned value of each_pair.
marcandre
2017-02-03
1
-0
/
+1
*
test_ostruct.rb: sort method names
nobu
2016-01-04
1
-1
/
+1
*
* lib/ostruct.rb: Fix case of frozen object with initializer.
marcandre
2016-01-01
1
-1
/
+2
*
* lib/ostruct.rb: Fix new_ostruct_member to correctly avoid redefinition
marcandre
2015-12-31
1
-0
/
+17
*
ostruct.rb: respond_to?
nobu
2015-12-29
1
-0
/
+4
*
Add frozen_string_literal: false for all files
naruse
2015-12-16
1
-0
/
+1
*
* lib/ostruct.rb: Have OpenStruct#dig raise if argument is not a symbol
marcandre
2015-12-12
1
-1
/
+1
*
OpenStruct#dig
nobu
2015-11-17
1
-0
/
+11
*
* test/ostruct/test_ostruct.rb: Add tests for OpenStruct#respond_to.
eregon
2015-10-14
1
-0
/
+13
*
Revert GH-808
nobu
2015-01-08
1
-6
/
+0
*
ostruct.rb: append suffixes to protected methods
nobu
2015-01-05
1
-0
/
+6
*
Suppress warnings: ambiguous first argument; put parentheses or even spaces
naruse
2013-11-06
1
-2
/
+2
*
* lib/ostruct.rb: raise NoMethodError with a #name and #args.
marcandre
2013-10-23
1
-0
/
+10
*
* lib/ostruct.rb (Struct#each_pair): Return an enumerator with size
marcandre
2013-10-23
1
-0
/
+1
*
* lib/ostruct.rb (OpenStruct#delete): Use the converted argument.
marcandre
2013-10-23
1
-0
/
+10
*
* lib/ostruct.rb: Raise RuntimeError when modifying frozen instances
marcandre
2013-10-23
1
-3
/
+3
*
* lib/ostruct.rb: Add [] and []=, base on a patch by Thomas Sawyer
marcandre
2012-10-28
1
-6
/
+11
*
* lib/ostruct.rb: Also accept {Open}Struct as argument to new
marcandre
2012-10-28
1
-0
/
+7
*
* lib/ostruct.rb: Add OpenStruct#eql? and OpenStruct#hash
marcandre
2012-10-28
1
-0
/
+10
*
* lib/ostruct.rb (each_pair): Add #each_pair [#1400]
marcandre
2012-10-28
1
-0
/
+7
*
* hash.c, object.c, struct.c, lib/ostruct.rb: add to_h methods.
nobu
2012-04-24
1
-0
/
+12
*
* lib/ostruct.rb (delete_field): Bug fix so previous value is returned.
marcandre
2012-02-22
1
-1
/
+2
*
* lib/ostruct.rb (method_missing): Handle [] and []= correctly.
marcandre
2011-05-27
1
-0
/
+11
*
* lib/ostruct.rb (OpenStruct#delete_field): also undefine
nobu
2010-11-03
1
-0
/
+13
*
* {ext,lib,test}/**/*.rb: removed trailing spaces.
nobu
2009-03-06
1
-1
/
+1
*
* lib/ostruct.rb (modifiable): check if really frozen.
nobu
2009-02-27
1
-0
/
+4
*
* test/ostruct/test_ostruct.rb (test_frozen): added assertions.
nobu
2009-02-17
1
-0
/
+2
*
* lib/ostruct.rb (OpenStruct#new_ostruct_member): checks if frozen.
nobu
2009-02-15
1
-0
/
+8
*
* lib/ostruct.rb (OpenStruct#inspect): fixed the recursion check.
yugui
2009-01-13
1
-0
/
+14
*
* lib/ostruct.rb: Added OpenStruct#==.
ntalbott
2003-09-25
1
-0
/
+23