Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nateware/redis-objects
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: Mixbook/redis-objects
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 4 files changed
  • 2 contributors

Commits on May 23, 2012

  1. Add Set#flush and Set#mass_add

    Set#flush allows to retrieve all records from the set and clear it
    (basically, we just pop from it until it is empty)
    
    Set#mass_add adds records from the given array to the set in transaction
    astashov committed May 23, 2012
    Configuration menu
    Copy the full SHA
    17b68a2 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2012

  1. Extend Set#pop

    Now it support optional parameter (limit), you can specify how many
    items you want to pop
    astashov committed May 24, 2012
    Configuration menu
    Copy the full SHA
    940bd1c View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2012

  1. Fix Redis::Set#pop

    We lost ```limit+1``` value from a set when retrieved ```limit``` values
    from the set. Fixed that
    astashov committed Aug 13, 2012
    Configuration menu
    Copy the full SHA
    7a6bd6d View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    929fcd1 View commit details
    Browse the repository at this point in the history
  2. Bump version in gemspec

    dasshield committed May 30, 2024
    Configuration menu
    Copy the full SHA
    1bc42c6 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #1 from Mixbook/fix-exists-warn

    ## Summary
    - Fix `Redis#exists(key)` warning 
    - Parent repo for reference: https://github.com/nateware/redis-objects/blob/master/lib/redis/helpers/core_commands.rb
    - It's a public repo (!)
    
    ```
    `Redis#exists(key)` will return an Integer in redis-rb 4.3. `exists?` returns a boolean, you should use it instead. To opt-in to the new behavior now you can set Redis.exists_returns_integer =  true. To disable this message and keep the current (boolean) behaviour of 'exists' you can set `Redis.exists_returns_integer = false`, but this option will be removed in 5.0. 
    ```
    dasshield authored May 30, 2024
    Configuration menu
    Copy the full SHA
    392f6f0 View commit details
    Browse the repository at this point in the history
Loading