Sha256: 85f34c6060e2af6b30f6124f4f23337e96229f3b92cd98cc94b20c11e57c6136

Contents?: true

Size: 168 Bytes

Versions: 19

Compression:

Stored size: 168 Bytes

Contents

module Sprockets
  module Commoner
    class JSONProcessor
      def self.call(input)
        { data: "module.exports = #{input[:data]};" }
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
sprockets-commoner-0.6.5 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.6.4 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.6.3 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.6.2 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.6.1 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.6.0 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.5.1 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.5.0 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.4.0 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.3.0 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.2.8 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.2.7 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.2.6 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.2.5 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.2.4 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.2.3 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.2.2 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.2.1 lib/sprockets/commoner/json_processor.rb
sprockets-commoner-0.2.0 lib/sprockets/commoner/json_processor.rb