expected string default for --serializer got true error is fixed Closes #1664

This commit is contained in:
namangupta01 2017-08-31 22:23:18 +05:30
parent de1fa448a2
commit 8a99a4723a
2 changed files with 210 additions and 182 deletions

View file

@ -83,6 +83,8 @@ gem 'jquery-ui-rails', '~> 4.2.1'
# for languages validation
gem 'iso-639'
gem 'thor', '0.19.1'
# frontend javascripts
source 'https://rails-assets.org' do
# for placeholder images

View file

@ -31,8 +31,11 @@ GEM
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
active_model_serializers (0.9.4)
activemodel (>= 3.2)
active_model_serializers (0.10.6)
actionpack (>= 4.1, < 6)
activemodel (>= 4.1, < 6)
case_transform (>= 0.2)
jsonapi-renderer (>= 0.1.1.beta1, < 0.2)
activejob (4.2.9)
activesupport (= 4.2.9)
globalid (>= 0.3.0)
@ -51,33 +54,36 @@ GEM
activeuuid (0.6.1)
activerecord (>= 3.1)
uuidtools
acts_as_commentable_with_threading (1.2.0)
acts_as_commentable_with_threading (2.0.1)
activerecord (>= 4.0)
activesupport (>= 4.0)
awesome_nested_set (>= 3.0)
acts_as_list (0.9.7)
activerecord (>= 3.0)
activesupport (>= 3.0)
awesome_nested_set (>= 2.0)
acts_as_list (0.4.0)
activerecord (>= 3.0)
addressable (2.5.1)
public_suffix (~> 2.0, >= 2.0.2)
ahoy_matey (1.0.0)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
ahoy_matey (1.6.0)
addressable
browser (>= 0.4.0)
browser (~> 2.0)
geocoder
referer-parser
rack-attack (< 6)
railties
referer-parser (>= 0.3.0)
request_store
safely_block (>= 0.1.1)
user_agent_parser
uuidtools
arel (6.0.4)
ast (2.3.0)
autoprefixer-rails (7.1.1)
autoprefixer-rails (7.1.3)
execjs
awesome_nested_set (3.1.3)
activerecord (>= 4.0.0, < 5.2)
aws_cf_signer (0.1.3)
axlsx_rails (0.2.0)
axlsx_rails (0.5.1)
actionpack (>= 3.1)
axlsx (>= 2.0.1)
rails (>= 3.1)
bcrypt (3.1.10)
bcrypt (3.1.11)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootstrap-sass (3.3.4.1)
@ -86,108 +92,103 @@ GEM
bootstrap-switch-rails (3.0.2)
bootstrap3-datetimepicker-rails (3.0.3)
momentjs-rails (>= 2.8.1)
browser (0.6.0)
browser (2.5.0)
builder (3.2.3)
byebug (9.0.6)
cancancan (1.13.1)
capybara (2.6.2)
byebug (9.1.0)
cancancan (2.0.0)
capybara (2.15.1)
addressable
mime-types (>= 1.16)
mini_mime (>= 0.1.3)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
carrierwave (0.11.0)
activemodel (>= 3.2.0)
activesupport (>= 3.2.0)
json (>= 1.7)
carrierwave (1.1.0)
activemodel (>= 4.0.0)
activesupport (>= 4.0.0)
mime-types (>= 1.16)
carrierwave-bombshelter (0.1.1.6)
carrierwave-bombshelter (0.2.2)
activesupport (>= 3.2.0)
carrierwave
fastimage
chart-js-rails (0.0.6)
case_transform (0.2)
activesupport
chart-js-rails (0.1.3)
railties (> 3.1)
chronic (0.10.2)
chunky_png (1.3.8)
cliver (0.3.2)
cloudinary (1.1.6)
cloudinary (1.8.1)
aws_cf_signer
rest-client
cocoon (1.2.6)
cocoon (1.2.10)
coderay (1.1.1)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
countable-rails (0.0.1)
railties (>= 3.1)
countries (1.2.5)
currencies (~> 0.4.2)
i18n_data (~> 0.7.0)
country_select (2.5.2)
countries (~> 1.2.0)
countries (2.1.2)
i18n_data (~> 0.8.0)
money (~> 6.9)
sixarm_ruby_unaccent (~> 1.1)
unicode_utils (~> 1.4)
country_select (3.1.0)
countries (~> 2.0)
sort_alphabetical (~> 1.0)
coveralls (0.8.13)
json (~> 1.8)
simplecov (~> 0.11.0)
coveralls (0.8.19)
json (>= 1.8, < 3)
simplecov (~> 0.12.0)
term-ansicolor (~> 1.3)
thor (~> 0.19.1)
tins (~> 1.6.0)
tins (~> 1.6)
crack (0.4.3)
safe_yaml (~> 1.0.0)
currencies (0.4.2)
daemons (1.1.9)
daemons (1.2.4)
dante (0.2.0)
database_cleaner (1.3.0)
debug_inspector (0.0.2)
database_cleaner (1.6.1)
debug_inspector (0.0.3)
delayed_job (4.1.3)
activesupport (>= 3.0, < 5.2)
delayed_job_active_record (4.1.2)
activerecord (>= 3.0, < 5.2)
delayed_job (>= 3.0, < 5)
devise (4.2.0)
devise (4.3.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 5.1)
railties (>= 4.1.0, < 5.2)
responders
warden (~> 1.2.3)
devise_ichain_authenticatable (0.3.1)
devise (>= 2.2)
diff-lcs (1.3)
docile (1.1.5)
domain_name (0.5.20160310)
domain_name (0.5.20170404)
unf (>= 0.0.5, < 1.0.0)
dotenv (2.2.1)
dotenv-rails (2.2.1)
dotenv (= 2.2.1)
railties (>= 3.2, < 5.2)
errbase (0.0.3)
erubis (2.7.0)
execjs (2.6.0)
factory_girl (4.5.0)
execjs (2.7.0)
factory_girl (4.8.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.6.0)
factory_girl (~> 4.5.0)
factory_girl_rails (4.8.0)
factory_girl (~> 4.8.0)
railties (>= 3.0.0)
faker (1.6.1)
faker (1.8.4)
i18n (~> 0.5)
faraday (0.9.0)
faraday (0.12.2)
multipart-post (>= 1.2, < 3)
fastimage (2.0.0)
addressable (~> 2)
fastimage (2.1.0)
ffi (1.9.18)
font-awesome-rails (4.7.0.2)
railties (>= 3.2, < 5.2)
formatador (0.2.5)
formtastic (3.1.3)
formtastic (3.1.5)
actionpack (>= 3.2.13)
formtastic-bootstrap (3.1.1)
formtastic (>= 3.0)
geocoder (1.2.2)
geocoder (1.4.4)
globalid (0.4.0)
activesupport (>= 4.2.0)
gravtastic (3.2.6)
@ -205,12 +206,14 @@ GEM
guard (~> 2.1)
guard-compat (~> 1.1)
rspec (>= 2.99.0, < 4.0)
haml (4.0.5)
haml (5.0.2)
temple (>= 0.8.0)
tilt
haml-rails (0.5.3)
haml-rails (1.0.0)
actionpack (>= 4.0.1)
activesupport (>= 4.0.1)
haml (>= 3.1, < 5.0)
haml (>= 4.0.6, < 6.0)
html2haml (>= 1.0.1)
railties (>= 4.0.1)
haml_lint (0.24.0)
haml (>= 4.0, < 5.1)
@ -218,19 +221,24 @@ GEM
rake (>= 10, < 13)
rubocop (>= 0.47.0)
sysexits (~> 1.1)
hashdiff (0.3.4)
hashie (3.5.5)
hashdiff (0.3.6)
hashie (3.5.6)
hoptoad_notifier (2.4.11)
activesupport
builder
html2haml (2.2.0)
erubis (~> 2.7.0)
haml (>= 4.0, < 6)
nokogiri (>= 1.6.0)
ruby_parser (~> 3.5)
htmlentities (4.3.4)
http-cookie (1.0.2)
http-cookie (1.0.3)
domain_name (~> 0.5)
i18n (0.7.0)
i18n_data (0.7.0)
inversion (1.0.0)
i18n (0.8.6)
i18n_data (0.8.0)
inversion (1.1.0)
loggability (~> 0.12)
iso-639 (0.2.5)
iso-639 (0.2.8)
jquery-datatables-rails (2.2.3)
jquery-rails
sass-rails
@ -240,16 +248,18 @@ GEM
thor (>= 0.14, < 2.0)
jquery-ui-rails (4.2.1)
railties (>= 3.2.16)
json (1.8.6)
json-schema (2.5.0)
json (2.1.0)
json-schema (2.8.0)
addressable (>= 2.4)
jsonapi-renderer (0.1.3)
jwt (1.5.6)
launchy (2.4.3)
addressable (~> 2.3)
jwt (1.0.0)
launchy (2.4.2)
addressable (~> 2.3)
leaflet-rails (0.7.4)
letter_opener (1.2.0)
leaflet-rails (1.1.0)
rails (>= 4.2.0)
letter_opener (1.4.1)
launchy (~> 2.2)
letter_opener_web (1.3.0)
letter_opener_web (1.3.1)
actionmailer (>= 3.2)
letter_opener (~> 1.0)
railties (>= 3.2)
@ -264,30 +274,32 @@ GEM
mail (2.6.6)
mime-types (>= 1.16, < 4)
method_source (0.8.2)
mime-types (2.99.3)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mina (0.3.8)
mina (1.0.6)
open4 (~> 1.3.4)
rake
mini_magick (4.5.1)
mini_magick (4.8.0)
mini_mime (0.1.4)
mini_portile2 (2.2.0)
minitest (5.10.2)
momentjs-rails (2.8.1)
minitest (5.10.3)
momentjs-rails (2.17.1)
railties (>= 3.1)
monetize (1.4.0)
money (~> 6.7)
money (6.7.0)
i18n (>= 0.6.4, <= 0.7.0)
sixarm_ruby_unaccent (>= 1.1.1, < 2)
money-rails (1.6.0)
monetize (1.7.0)
money (~> 6.9)
money (6.9.0)
i18n (>= 0.6.4, < 0.9)
money-rails (1.9.0)
activesupport (>= 3.0)
monetize (~> 1.4.0)
money (~> 6.7)
monetize (~> 1.7.0)
money (~> 6.9.0)
railties (>= 3.0)
multi_json (1.12.1)
multi_xml (0.5.5)
multi_xml (0.6.0)
multipart-post (2.0.0)
mysql2 (0.4.2)
mysql2 (0.4.9)
nenv (0.3.0)
netrc (0.11.0)
nokogiri (1.8.0)
@ -295,8 +307,8 @@ GEM
notiffany (0.1.1)
nenv (~> 0.1)
shellany (~> 0.0)
oauth2 (1.3.1)
faraday (>= 0.8, < 0.12)
oauth2 (1.4.0)
faraday (>= 0.8, < 0.13)
jwt (~> 1.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
@ -304,14 +316,16 @@ GEM
omniauth (1.6.1)
hashie (>= 3.4.6, < 3.6.0)
rack (>= 1.6.2, < 3)
omniauth-facebook (1.6.0)
omniauth-oauth2 (~> 1.1)
omniauth-github (1.1.2)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.1)
omniauth-google-oauth2 (0.2.4)
omniauth (~> 1.0)
omniauth-oauth2 (~> 1.1)
omniauth-facebook (4.0.0)
omniauth-oauth2 (~> 1.2)
omniauth-github (1.3.0)
omniauth (~> 1.5)
omniauth-oauth2 (>= 1.4.0, < 2.0)
omniauth-google-oauth2 (0.5.2)
jwt (~> 1.5)
multi_json (~> 1.3)
omniauth (>= 1.1.1)
omniauth-oauth2 (>= 1.3.1)
omniauth-oauth2 (1.4.0)
oauth2 (~> 1.0)
omniauth (~> 1.2)
@ -320,28 +334,26 @@ GEM
rack-openid (~> 1.3.1)
open4 (1.3.4)
orm_adapter (0.5.0)
paper_trail (5.2.1)
activerecord (>= 3.0, < 6.0)
activesupport (>= 3.0, < 6.0)
paper_trail (7.1.2)
activerecord (>= 4.0, < 5.2)
request_store (~> 1.1)
parallel (1.11.2)
parallel (1.12.0)
parser (2.4.0.0)
ast (~> 2.2)
pdf-core (0.2.5)
pdf-core (0.7.0)
phantomjs (2.1.1.0)
piwik_analytics (1.0.2)
actionpack
activesupport
rails (>= 3.0.0)
poltergeist (1.9.0)
poltergeist (1.16.0)
capybara (~> 2.1)
cliver (~> 0.3.1)
multi_json (~> 1.0)
websocket-driver (>= 0.2.0)
powerpack (0.1.1)
prawn (1.0.0)
pdf-core (~> 0.2.2)
ttfunk (~> 1.1.1)
prawn (2.2.2)
pdf-core (~> 0.7.0)
ttfunk (~> 1.5)
prawn-qrcode (0.2.2.1)
prawn (>= 0.11.1)
rqrcode (>= 0.4.1)
@ -352,8 +364,10 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
public_suffix (2.0.5)
public_suffix (3.0.0)
rack (1.6.8)
rack-attack (5.0.1)
rack
rack-openid (1.3.1)
rack (>= 1.1.0)
ruby-openid (>= 2.1.8)
@ -370,23 +384,23 @@ GEM
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.9)
sprockets-rails
rails-assets-bootstrap (3.3.6)
rails-assets-jquery (>= 1.9.1, < 3)
rails-assets-bootstrap (3.3.7)
rails-assets-jquery (>= 1.9.1, < 4)
rails-assets-bootstrap-markdown (2.10.0)
rails-assets-bootstrap (~> 3)
rails-assets-date.format (1.2.3)
rails-assets-holderjs (2.9.3)
rails-assets-jquery (2.2.1)
rails-assets-jquery-smooth-scroll (1.7.2)
rails-assets-jquery (>= 1.4.2)
rails-assets-holderjs (2.9.4)
rails-assets-jquery (3.2.1)
rails-assets-jquery-smooth-scroll (2.2.0)
rails-assets-jquery (>= 1.7.0)
rails-assets-markdown (0.5.0)
rails-assets-momentjs (2.11.2)
rails-assets-momentjs (2.18.1)
rails-assets-spectrum (1.8.0)
rails-assets-jquery (>= 1.7.2)
rails-assets-tinycolor (1.3.0)
rails-assets-to-markdown (1.3.0)
rails-assets-trianglify (0.4.0)
rails-assets-waypoints (4.0.0)
rails-assets-tinycolor (1.4.1)
rails-assets-to-markdown (3.1.0)
rails-assets-trianglify (1.1.0)
rails-assets-waypoints (4.0.1)
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.8)
@ -395,14 +409,14 @@ GEM
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
rails-i18n (4.0.8)
rails-i18n (4.0.9)
i18n (~> 0.7)
railties (~> 4.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.4)
rails_stdout_logging (0.0.3)
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.5)
railties (4.2.9)
actionpack (= 4.2.9)
activesupport (= 4.2.9)
@ -414,22 +428,22 @@ GEM
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
rdoc (5.1.0)
rdoc-generator-fivefish (0.3.0)
rdoc (4.3.0)
rdoc-generator-fivefish (0.2.1)
inversion (~> 1.0)
loggability (~> 0.12)
rdoc (~> 5.0)
rdoc (~> 4.0)
yajl-ruby (~> 1.3)
redcarpet (3.2.3)
referer-parser (0.2.1)
request_store (1.1.0)
redcarpet (3.4.0)
referer-parser (0.3.0)
request_store (1.3.2)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
rest-client (1.8.0)
rest-client (2.0.2)
http-cookie (>= 1.0.2, < 2.0)
mime-types (>= 1.16, < 3.0)
netrc (~> 0.7)
mime-types (>= 1.16, < 4.0)
netrc (~> 0.8)
rolify (5.1.0)
rqrcode (0.10.1)
chunky_png (~> 1.0)
@ -437,7 +451,7 @@ GEM
rspec-core (~> 3.6.0)
rspec-expectations (~> 3.6.0)
rspec-mocks (~> 3.6.0)
rspec-activemodel-mocks (1.0.1)
rspec-activemodel-mocks (1.0.3)
activemodel (>= 3.0)
activesupport (>= 3.0)
rspec-mocks (>= 2.99, < 4.0)
@ -449,7 +463,7 @@ GEM
rspec-mocks (3.6.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.6.0)
rspec-rails (3.6.0)
rspec-rails (3.6.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
@ -465,13 +479,21 @@ GEM
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
ruby-oembed (0.8.14)
ruby-openid (2.5.0)
ruby-oembed (0.12.0)
ruby-openid (2.7.0)
ruby-progressbar (1.8.1)
ruby_dep (1.5.0)
ruby_parser (3.10.1)
sexp_processor (~> 4.9)
rubyzip (1.2.1)
safe_yaml (1.0.4)
sass (3.2.19)
safely_block (0.2.0)
errbase
sass (3.5.1)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
@ -479,63 +501,67 @@ GEM
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
selectize-rails (0.12.4)
sexp_processor (4.10.0)
shellany (0.0.1)
shoulda-matchers (2.8.0)
activesupport (>= 3.0.0)
simplecov (0.11.2)
shoulda-matchers (3.1.2)
activesupport (>= 4.0.0)
simplecov (0.12.0)
docile (~> 1.1.0)
json (~> 1.8)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
sixarm_ruby_unaccent (1.1.1)
simplecov-html (0.10.2)
sixarm_ruby_unaccent (1.2.0)
slop (3.6.0)
sort_alphabetical (1.0.2)
sort_alphabetical (1.1.0)
unicode_utils (>= 1.2.2)
spring (1.6.3)
spring (2.0.2)
activesupport (>= 4.2)
spring-commands-rspec (1.0.4)
spring (>= 0.9.1)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (2.3.3)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.9)
stripe (1.43.0)
rest-client (~> 1.4)
stripe-ruby-mock (2.3.0)
sprockets-rails (3.2.0)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
stripe (1.58.0)
rest-client (>= 1.4, < 4.0)
stripe-ruby-mock (2.4.1)
dante (>= 0.2.0)
multi_json (>= 1.0.0)
stripe (>= 1.31.0, <= 1.43)
multi_json (~> 1.0)
stripe (>= 1.31.0, <= 1.58.0)
sysexits (1.2.0)
term-ansicolor (1.3.2)
temple (0.8.0)
term-ansicolor (1.6.0)
tins (~> 1.0)
thor (0.19.4)
thor (0.19.1)
thread_safe (0.3.6)
tilt (1.4.1)
timecop (0.7.1)
tins (1.6.0)
transitions (0.1.12)
ttfunk (1.1.1)
turbolinks (2.5.3)
coffee-rails
tilt (2.0.8)
timecop (0.9.1)
tins (1.15.0)
transitions (1.2.1)
ttfunk (1.5.1)
turbolinks (5.0.1)
turbolinks-source (~> 5)
turbolinks-source (5.0.3)
tzinfo (1.2.3)
thread_safe (~> 0.1)
uglifier (3.0.0)
uglifier (3.2.0)
execjs (>= 0.3.0, < 3)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.2)
unf_ext (0.0.7.4)
unicode-display_width (1.3.0)
unicode_utils (1.4.0)
unobtrusive_flash (3.1.0)
unobtrusive_flash (3.3.1)
railties
user_agent_parser (2.1.5)
user_agent_parser (2.3.2)
uuidtools (2.1.5)
warden (1.2.4)
warden (1.2.7)
rack (>= 1.0)
web-console (2.2.1)
web-console (2.3.0)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
@ -544,13 +570,12 @@ GEM
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff
websocket-driver (0.6.3)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.2)
whenever (0.9.2)
activesupport (>= 2.3.4)
whenever (0.9.7)
chronic (>= 0.6.3)
xpath (2.0.0)
xpath (2.1.0)
nokogiri (~> 1.3)
yajl-ruby (1.3.0)
@ -651,6 +676,7 @@ DEPENDENCIES
sqlite3
stripe
stripe-ruby-mock
thor (= 0.19.1)
timecop
transitions
turbolinks
@ -661,4 +687,4 @@ DEPENDENCIES
whenever
BUNDLED WITH
1.15.1
1.15.4