diff --git a/CHANGELOG.md b/CHANGELOG.md
index 804b6e2..d9f14bf 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Changelog
+## [1.1.2](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.1.2) (2023-02-27)
+ - Dependency gem updated (Activesupport gem)
+
+## [1.1.1](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.1.1) (2022-04-21)
+ - Json RTE image, link and frame source url issue resolved
+
## [1.1.0](https://github.com/contentstack/contentstack-utils-ruby/tree/v1.1.0) (2021-08-10)
- GQL Json rte to Html content support added
diff --git a/Gemfile.lock b/Gemfile.lock
index b17a80c..bf62daa 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -2,13 +2,13 @@ PATH
remote: .
specs:
contentstack_utils (1.1.0)
- activesupport (>= 3.2, < 6.2)
+ activesupport (>= 3.2, < 7.0.4)
nokogiri (~> 1.11, >= 1.11.0)
GEM
remote: https://rubygems.org/
specs:
- activesupport (6.1.7)
+ activesupport (6.1.7.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
@@ -16,7 +16,7 @@ GEM
zeitwerk (~> 2.3)
addressable (2.8.1)
public_suffix (>= 2.0.2, < 6.0)
- concurrent-ruby (1.1.10)
+ concurrent-ruby (1.2.0)
crack (0.4.5)
rexml
diff-lcs (1.5.0)
@@ -24,15 +24,15 @@ GEM
hashdiff (1.0.1)
i18n (1.12.0)
concurrent-ruby (~> 1.0)
- mini_portile2 (2.8.0)
- minitest (5.16.3)
- nokogiri (1.13.9)
+ mini_portile2 (2.8.1)
+ minitest (5.17.0)
+ nokogiri (1.13.10)
mini_portile2 (~> 2.8.0)
racc (~> 1.4)
- nokogiri (1.13.9-x64-mingw32)
+ nokogiri (1.13.10-x64-mingw32)
racc (~> 1.4)
- public_suffix (5.0.0)
- racc (1.6.0)
+ public_suffix (5.0.1)
+ racc (1.6.2)
rake (13.0.6)
rexml (3.2.5)
rspec (3.10.0)
@@ -54,7 +54,7 @@ GEM
simplecov_json_formatter (~> 0.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)
- tzinfo (2.0.5)
+ tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
webmock (3.11.3)
addressable (>= 2.3.6)
@@ -63,7 +63,7 @@ GEM
webrick (1.7.0)
yard (0.9.28)
webrick (~> 1.7.0)
- zeitwerk (2.6.6)
+ zeitwerk (2.6.7)
PLATFORMS
ruby
diff --git a/LICENSE b/LICENSE
index d3b9d20..c042d14 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)
-Copyright (c) 2012-2022 Contentstack. All Rights Reserved
+Copyright (c) 2012-2023 Contentstack. All Rights Reserved
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/contentstack_utils.gemspec b/contentstack_utils.gemspec
index 12adf9d..82bf99d 100644
--- a/contentstack_utils.gemspec
+++ b/contentstack_utils.gemspec
@@ -21,7 +21,7 @@ Gem::Specification.new do |s|
s.test_files = s.files.grep(%r{^spec/})
s.require_paths = ["lib"]
- s.add_dependency 'activesupport', '>= 3.2', '< 6.2'
+ s.add_dependency 'activesupport', '>= 3.2', '< 7.0.4'
s.add_dependency 'nokogiri', '~> 1.11', '>= 1.11.0'
s.add_development_dependency 'rake', '~> 13.0.3'
diff --git a/lib/contentstack_utils/model/options.rb b/lib/contentstack_utils/model/options.rb
index 5db11c9..94abecb 100644
--- a/lib/contentstack_utils/model/options.rb
+++ b/lib/contentstack_utils/model/options.rb
@@ -105,9 +105,11 @@ def render_node(node_type, node, inner_html)
renderString = "#{inner_html}"
when 'reference'
renderString = ""
+ when 'span'
+ renderString = "#{inner_html}"
end
renderString
end
end
end
-end
\ No newline at end of file
+end
diff --git a/lib/contentstack_utils/version.rb b/lib/contentstack_utils/version.rb
index dec2e11..1ea58c5 100644
--- a/lib/contentstack_utils/version.rb
+++ b/lib/contentstack_utils/version.rb
@@ -1,3 +1,3 @@
module ContentstackUtils
- VERSION = "1.1.0"
+ VERSION = "1.1.2"
end
\ No newline at end of file
diff --git a/spec/lib/model/option_spec.rb b/spec/lib/model/option_spec.rb
index 9e4f3ff..23be650 100644
--- a/spec/lib/model/option_spec.rb
+++ b/spec/lib/model/option_spec.rb
@@ -305,5 +305,12 @@ def getMetadata(itemType=nil, styleType=nil, linkText=nil)
expect(result).to eq ""
end
+ it 'Should return span string for span node type' do
+ doc = getJson(BlankDocument)
+
+ result = subject.render_node('span', doc, linkText)
+ expect(result).to eq "#{linkText}"
+ end
+
end
-end
\ No newline at end of file
+end