summaryrefslogtreecommitdiff
path: root/ext/json
diff options
context:
space:
mode:
Diffstat (limited to 'ext/json')
-rw-r--r--ext/json/json.gemspec2
-rw-r--r--ext/json/lib/json/common.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/json/json.gemspec b/ext/json/json.gemspec
index dc39771940..943c78aab9 100644
--- a/ext/json/json.gemspec
+++ b/ext/json/json.gemspec
@@ -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}"]
+ s.files += Dir["ext/json/**/*.{c,h}"]
end
end
diff --git a/ext/json/lib/json/common.rb b/ext/json/lib/json/common.rb
index dfb9f580bd..005bac5c65 100644
--- a/ext/json/lib/json/common.rb
+++ b/ext/json/lib/json/common.rb
@@ -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
+ # been persisted somewhere without having to parse them nor resorting
# to string interpolation.
#
- # Note: no validation is performed on the provided string. it is the
+ # 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)