summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
-rw-r--r--ext/json/json.gemspec2
-rw-r--r--ext/json/lib/json/common.rb4
2 files changed, 3 insertions, 3 deletions
@@ -52,7 +52,7 @@ spec = Gem::Specification.new do |s|
s.files += Dir["lib/json/ext/**/*.jar"]
else
s.extensions = Dir["ext/json/**/extconf.rb"]
- s.files += Dir["ext/json/**/*.{c,h,rl}"]
end
end
@@ -172,10 +172,10 @@ module JSON
# JSON.generate({ count: 3, items: fragments })
#
# This allows to easily assemble multiple JSON fragments that have
- # been peristed somewhere without having to parse them nor resorting
# to string interpolation.
#
- # Note: no validation is performed on the provided string. it is the
# responsability of the caller to ensure the string contains valid JSON.
Fragment = Struct.new(:json) do
def initialize(json)