Sha256: 7a1c9ce0382be359c0cec6a4bfea3e4eb6e627eb9ab255a25dcea2a2bd342fd3

Contents?: true

Size: 496 Bytes

Versions: 137

Compression:

Stored size: 496 Bytes

Contents

module Sass
  module CacheStores
    # Doesn't store anything, but records what things it should have stored.
    # This doesn't currently have any use except for testing and debugging.
    #
    # @private
    class Null < Base
      def initialize
        @keys = {}
      end

      def _retrieve(key, version, sha)
        nil
      end

      def _store(key, version, sha, contents)
        @keys[key] = true
      end

      def was_set?(key)
        @keys[key]
      end
    end
  end
end

Version data entries

137 entries across 134 versions & 9 rubygems

Version Path
sass-4.0.0.alpha.1 lib/sass/cache_stores/null.rb
sass-3.4.20 lib/sass/cache_stores/null.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/sass-3.4.19/lib/sass/cache_stores/null.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/sass-3.4.18/lib/sass/cache_stores/null.rb
sass-3.4.19 lib/sass/cache_stores/null.rb
sass-3.4.18 lib/sass/cache_stores/null.rb
sass-3.4.17 lib/sass/cache_stores/null.rb
solidus_backend-1.0.0.pre3 vendor/bundle/gems/sass-3.4.15/lib/sass/cache_stores/null.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/sass-3.4.15/lib/sass/cache_stores/null.rb
sass-3.4.16 lib/sass/cache_stores/null.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/sass-3.4.15/lib/sass/cache_stores/null.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/sass-3.4.14/lib/sass/cache_stores/null.rb
sass-3.4.15 lib/sass/cache_stores/null.rb
sass-3.4.14 lib/sass/cache_stores/null.rb
sass-3.4.13 lib/sass/cache_stores/null.rb
sass-3.4.12 lib/sass/cache_stores/null.rb
sass-3.4.11 lib/sass/cache_stores/null.rb
sass-3.4.10 lib/sass/cache_stores/null.rb
sass-3.4.9 lib/sass/cache_stores/null.rb
sass-3.4.8 lib/sass/cache_stores/null.rb