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
files.com-1.0.55 docs/vendor/bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.8.0 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.7.1 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
zuora_connect_ui-0.7.0 vendor/ruby/2.6.0/gems/sass-3.7.4/lib/sass/cache_stores/null.rb
sass-3.7.4 lib/sass/cache_stores/null.rb
brakeman-4.4.0 bundle/ruby/2.5.0/gems/sass-3.4.25/lib/sass/cache_stores/null.rb
sass-3.7.3 lib/sass/cache_stores/null.rb
sass-3.7.2 lib/sass/cache_stores/null.rb
sass-3.7.1 lib/sass/cache_stores/null.rb
sass-3.7.0 lib/sass/cache_stores/null.rb
sass-3.6.0 lib/sass/cache_stores/null.rb