├── .github └── workflows │ ├── codeql.yml │ └── ruby.yml ├── .gitignore ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── fakeredis.gemspec ├── lib ├── fake_redis.rb ├── fakeredis.rb ├── fakeredis │ ├── bitop_command.rb │ ├── command_executor.rb │ ├── expiring_hash.rb │ ├── geo_commands.rb │ ├── geo_set.rb │ ├── minitest.rb │ ├── rspec.rb │ ├── sort_method.rb │ ├── sorted_set_argument_handler.rb │ ├── sorted_set_store.rb │ ├── transaction_commands.rb │ ├── version.rb │ └── zset.rb └── redis │ └── connection │ └── memory.rb └── spec ├── bitop_command_spec.rb ├── command_executor_spec.rb ├── compatibility_spec.rb ├── connection_spec.rb ├── fakeredis_spec.rb ├── geo_set_spec.rb ├── hashes_spec.rb ├── hyper_log_logs_spec.rb ├── keys_spec.rb ├── lists_spec.rb ├── memory_spec.rb ├── server_spec.rb ├── sets_spec.rb ├── sort_method_spec.rb ├── sorted_sets_spec.rb ├── spec_helper.rb ├── spec_helper_live_redis.rb ├── strings_spec.rb ├── subscription_spec.rb ├── support └── shared_examples │ ├── bitwise_operation.rb │ └── sortable.rb ├── transactions_spec.rb └── upcase_method_name_spec.rb /.github/workflows/codeql.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/.github/workflows/codeql.yml -------------------------------------------------------------------------------- /.github/workflows/ruby.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/.github/workflows/ruby.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/.gitignore -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/Rakefile -------------------------------------------------------------------------------- /fakeredis.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/fakeredis.gemspec -------------------------------------------------------------------------------- /lib/fake_redis.rb: -------------------------------------------------------------------------------- 1 | require "fakeredis" 2 | -------------------------------------------------------------------------------- /lib/fakeredis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis.rb -------------------------------------------------------------------------------- /lib/fakeredis/bitop_command.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/bitop_command.rb -------------------------------------------------------------------------------- /lib/fakeredis/command_executor.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/command_executor.rb -------------------------------------------------------------------------------- /lib/fakeredis/expiring_hash.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/expiring_hash.rb -------------------------------------------------------------------------------- /lib/fakeredis/geo_commands.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/geo_commands.rb -------------------------------------------------------------------------------- /lib/fakeredis/geo_set.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/geo_set.rb -------------------------------------------------------------------------------- /lib/fakeredis/minitest.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/minitest.rb -------------------------------------------------------------------------------- /lib/fakeredis/rspec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/rspec.rb -------------------------------------------------------------------------------- /lib/fakeredis/sort_method.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/sort_method.rb -------------------------------------------------------------------------------- /lib/fakeredis/sorted_set_argument_handler.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/sorted_set_argument_handler.rb -------------------------------------------------------------------------------- /lib/fakeredis/sorted_set_store.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/sorted_set_store.rb -------------------------------------------------------------------------------- /lib/fakeredis/transaction_commands.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/transaction_commands.rb -------------------------------------------------------------------------------- /lib/fakeredis/version.rb: -------------------------------------------------------------------------------- 1 | module FakeRedis 2 | VERSION = "0.9.2" 3 | end 4 | -------------------------------------------------------------------------------- /lib/fakeredis/zset.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/fakeredis/zset.rb -------------------------------------------------------------------------------- /lib/redis/connection/memory.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/lib/redis/connection/memory.rb -------------------------------------------------------------------------------- /spec/bitop_command_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/bitop_command_spec.rb -------------------------------------------------------------------------------- /spec/command_executor_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/command_executor_spec.rb -------------------------------------------------------------------------------- /spec/compatibility_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/compatibility_spec.rb -------------------------------------------------------------------------------- /spec/connection_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/connection_spec.rb -------------------------------------------------------------------------------- /spec/fakeredis_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/fakeredis_spec.rb -------------------------------------------------------------------------------- /spec/geo_set_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/geo_set_spec.rb -------------------------------------------------------------------------------- /spec/hashes_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/hashes_spec.rb -------------------------------------------------------------------------------- /spec/hyper_log_logs_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/hyper_log_logs_spec.rb -------------------------------------------------------------------------------- /spec/keys_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/keys_spec.rb -------------------------------------------------------------------------------- /spec/lists_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/lists_spec.rb -------------------------------------------------------------------------------- /spec/memory_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/memory_spec.rb -------------------------------------------------------------------------------- /spec/server_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/server_spec.rb -------------------------------------------------------------------------------- /spec/sets_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/sets_spec.rb -------------------------------------------------------------------------------- /spec/sort_method_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/sort_method_spec.rb -------------------------------------------------------------------------------- /spec/sorted_sets_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/sorted_sets_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/spec_helper_live_redis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/spec_helper_live_redis.rb -------------------------------------------------------------------------------- /spec/strings_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/strings_spec.rb -------------------------------------------------------------------------------- /spec/subscription_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/subscription_spec.rb -------------------------------------------------------------------------------- /spec/support/shared_examples/bitwise_operation.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/support/shared_examples/bitwise_operation.rb -------------------------------------------------------------------------------- /spec/support/shared_examples/sortable.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/support/shared_examples/sortable.rb -------------------------------------------------------------------------------- /spec/transactions_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/transactions_spec.rb -------------------------------------------------------------------------------- /spec/upcase_method_name_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/guilleiguaran/fakeredis/HEAD/spec/upcase_method_name_spec.rb --------------------------------------------------------------------------------