google_hash 0.8.6 → 0.8.7
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.
- data/ChangeLog.txt +3 -0
- data/VERSION +1 -1
- data/ext/template/google_hash.cpp.erb +1 -0
- data/spec/spec.google_hash.rb +3 -0
- metadata +1 -1
data/ChangeLog.txt
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.8.
|
|
1
|
+
0.8.7
|
|
@@ -359,6 +359,7 @@ void init_<%= type %>_<%= english_key_type %>_to_<%= english_value_type %>() {
|
|
|
359
359
|
rb_define_method(rb_cGoogleHashLocal, "[]=", RUBY_METHOD_FUNC(rb_ghash_set), 2);
|
|
360
360
|
rb_define_method(rb_cGoogleHashLocal, "[]", RUBY_METHOD_FUNC(rb_ghash_get_value), 1);
|
|
361
361
|
rb_define_method(rb_cGoogleHashLocal, "each", RUBY_METHOD_FUNC(rb_ghash_each), 0);
|
|
362
|
+
rb_define_method(rb_cGoogleHashLocal, "each_pair", RUBY_METHOD_FUNC(rb_ghash_each), 0);
|
|
362
363
|
rb_define_method(rb_cGoogleHashLocal, "values", RUBY_METHOD_FUNC(rb_ghash_values), 0);
|
|
363
364
|
rb_define_method(rb_cGoogleHashLocal, "keys", RUBY_METHOD_FUNC(rb_ghash_keys), 0);
|
|
364
365
|
rb_define_method(rb_cGoogleHashLocal, "has_key?", RUBY_METHOD_FUNC(rb_ghash_get_present), 1);
|
data/spec/spec.google_hash.rb
CHANGED