Skip to content

Commit fd2e33f

Browse files
committed
Merge pull request #144 from openstax/create-data
Fix missing data on vocabulary create action
2 parents b6127c4 + 3e4c636 commit fd2e33f

File tree

3 files changed

+24
-23
lines changed

3 files changed

+24
-23
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ gem 'doorkeeper'
6565

6666
# API versioning and documentation
6767
gem 'representable', '~> 2.2.3'
68-
gem 'openstax_api', '~> 6.1.0'
68+
gem 'openstax_api', '~> 6.1.5'
6969
gem 'apipie-rails'
7070
gem 'maruku'
7171

Gemfile.lock

Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ GEM
2323
erubis (~> 2.7.0)
2424
rails-dom-testing (~> 1.0, >= 1.0.5)
2525
rails-html-sanitizer (~> 1.0, >= 1.0.2)
26-
active_attr (0.8.5)
27-
activemodel (>= 3.0.2, < 5.0)
28-
activesupport (>= 3.0.2, < 5.0)
26+
active_attr (0.9.0)
27+
activemodel (>= 3.0.2, < 5.1)
28+
activesupport (>= 3.0.2, < 5.1)
2929
activejob (4.2.4)
3030
activesupport (= 4.2.4)
3131
globalid (>= 0.3.0)
@@ -114,6 +114,7 @@ GEM
114114
compass (~> 1.0.0)
115115
sass-rails (<= 5.0.1)
116116
sprockets (< 2.13)
117+
concurrent-ruby (1.0.2)
117118
coveralls (0.7.12)
118119
multi_json (~> 1.10)
119120
rest-client (>= 1.6.8, < 2)
@@ -126,11 +127,11 @@ GEM
126127
deep_cloneable (2.1.1)
127128
activerecord (>= 3.1.0, < 5.0.0)
128129
diff-lcs (1.2.5)
129-
diffy (3.0.7)
130+
diffy (3.1.0)
130131
docile (1.1.5)
131132
domain_name (0.5.23)
132133
unf (>= 0.0.5, < 1.0.0)
133-
doorkeeper (2.2.1)
134+
doorkeeper (3.1.0)
134135
railties (>= 3.2)
135136
eco (1.0.0)
136137
coffee-script
@@ -140,9 +141,9 @@ GEM
140141
ejs (1.1.1)
141142
erubis (2.7.0)
142143
eventmachine (1.0.7)
143-
exception_notification (4.1.1)
144-
actionmailer (>= 3.0.4)
145-
activesupport (>= 3.0.4)
144+
exception_notification (4.1.4)
145+
actionmailer (~> 4.0)
146+
activesupport (~> 4.0)
146147
excon (0.45.3)
147148
execjs (2.4.0)
148149
factory_girl (4.5.0)
@@ -266,7 +267,7 @@ GEM
266267
activesupport (>= 4.1.0)
267268
haml (4.0.6)
268269
tilt
269-
hashie (3.4.3)
270+
hashie (3.4.4)
270271
highline (1.6.21)
271272
hike (1.2.3)
272273
http-cookie (1.0.2)
@@ -307,15 +308,15 @@ GEM
307308
railties (>= 3)
308309
loofah (2.0.3)
309310
nokogiri (>= 1.5.9)
310-
mail (2.6.3)
311-
mime-types (>= 1.16, < 3)
311+
mail (2.6.4)
312+
mime-types (>= 1.16, < 4)
312313
maruku (0.7.2)
313314
mime-types (2.99.1)
314315
mimemagic (0.3.1)
315316
mini_magick (4.2.0)
316317
mini_portile2 (2.0.0)
317318
minitest (5.8.4)
318-
multi_json (1.11.2)
319+
multi_json (1.12.0)
319320
multi_xml (0.5.5)
320321
multipart-post (2.0.0)
321322
nested_form (0.3.2)
@@ -354,13 +355,13 @@ GEM
354355
representable (>= 2.0)
355356
roar (>= 1.0)
356357
squeel (>= 0.5.0)
357-
openstax_api (6.1.0)
358+
openstax_api (6.1.5)
358359
doorkeeper (>= 2.0)
359360
exception_notification (>= 4.0)
360361
lev (>= 1.0.0)
361362
openstax_utilities (>= 4.2.0)
362363
rails (>= 3.1)
363-
representable (>= 2.0)
364+
representable (>= 2.0, < 2.3)
364365
responders
365366
roar (>= 1.0)
366367
roar-rails (>= 1.0)
@@ -409,7 +410,7 @@ GEM
409410
activesupport (>= 3.2)
410411
choice (~> 0.1.6)
411412
ruby-graphviz (~> 1.0.4)
412-
rails-html-sanitizer (1.0.2)
413+
rails-html-sanitizer (1.0.3)
413414
loofah (~> 2.0)
414415
rails_admin (0.6.7)
415416
builder (~> 3.1)
@@ -431,7 +432,7 @@ GEM
431432
rake (>= 0.8.7)
432433
thor (>= 0.18.1, < 2.0)
433434
raindrops (0.13.0)
434-
rake (10.5.0)
435+
rake (11.1.2)
435436
rb-fsevent (0.9.4)
436437
rb-inotify (0.9.5)
437438
ffi (>= 0.5.0)
@@ -441,15 +442,15 @@ GEM
441442
multi_json
442443
nokogiri
443444
uber (~> 0.0.7)
444-
responders (2.1.0)
445-
railties (>= 4.2.0, < 5)
445+
responders (2.2.0)
446+
railties (>= 4.2.0, < 5.1)
446447
rest-client (1.8.0)
447448
http-cookie (>= 1.0.2, < 2.0)
448449
mime-types (>= 1.16, < 3.0)
449450
netrc (~> 0.7)
450451
rinku (1.7.3)
451-
roar (1.0.3)
452-
representable (>= 2.0.1, <= 3.0.0)
452+
roar (1.0.4)
453+
representable (>= 2.0.1, < 2.4.0)
453454
roar-rails (1.0.1)
454455
actionpack
455456
railties (>= 3.0.0)
@@ -621,7 +622,7 @@ DEPENDENCIES
621622
nifty-generators
622623
omniauth-oauth2 (~> 1.3.1)
623624
openstax_accounts (~> 6.1.7)
624-
openstax_api (~> 6.1.0)
625+
openstax_api (~> 6.1.5)
625626
openstax_rescue_from (~> 1.5.0)
626627
openstax_utilities
627628
parallel_tests

app/views/layouts/webview.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<title>OpenStax Exercises</title>
55
<link rel='stylesheet' href='<%= Rails.application.secrets[:css_url]%>' />
66
<script src="//cdn.mathjax.org/mathjax/2.6-latest/MathJax.js?config=TeX-MML-AM_HTMLorMML-full&amp;delayStartupUntil=configured" async=""></script>
7+
<script id="exercises-boostrap-data" type="application/json"><%=raw json_escape client_bootstrap_data.to_json %></script>
78
<script type='text/javascript' src='<%= Rails.application.secrets[:js_url]%>' defer></script>
89
<%= csrf_meta_tags %>
9-
<script id="exercises-boostrap-data" type="application/json"><%=raw json_escape client_bootstrap_data.to_json %></script>
1010
</head>
1111
<body>
1212
<%= yield %>

0 commit comments

Comments
 (0)