wagn 1.20.4 → 1.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/features/navbox.feature +1 -1
- data/features/support/env.rb +1 -1
- data/lib/wagn/commands/cucumber_command.rb +1 -0
- data/lib/wagn/generators/wagn/templates/config/application.rb +3 -0
- data/lib/wagn/mods_spec_helper.rb +1 -0
- data/lib/wagn/response.rb +0 -4
- data/lib/wagn/tasks/wagn.rake +1 -0
- data/rails/assets/ace/mode-latex.js +1 -0
- data/rails/controllers/card_controller.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dd62b300fdfa7ab1eb32f5d2d3d751acbc3b7e91
|
4
|
+
data.tar.gz: dad2c2256c30f6e82f15ec16e6195970ab4b136e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f260458a65f9d11fb29d3158e6f6c2df207f4f43ba11323f5f10fa3b1aa44cf50c3f06c196178a4ae075d8272c9de6ba0e3d50869fa37242a23a6835391a639c
|
7
|
+
data.tar.gz: 97798f779c80e00b109467746a93f30df0af24dbb6319ba26c7ddffa8a2d0b24e1f5c7931fc14f8e80b80210719b375920dbc76acca68d8588591f3fc6a2305b
|
data/features/navbox.feature
CHANGED
data/features/support/env.rb
CHANGED
@@ -56,7 +56,7 @@ end
|
|
56
56
|
# prefer to use XPath just remove this line and adjust any selectors in your
|
57
57
|
# steps to use the XPath syntax.
|
58
58
|
Capybara.default_selector = :css
|
59
|
-
Capybara.default_max_wait_time =
|
59
|
+
Capybara.default_max_wait_time = 30
|
60
60
|
Cardio.config.paging_limit = 10
|
61
61
|
# By default, any exception happening in your Rails application will bubble up
|
62
62
|
# to Cucumber so that your scenario will fail. This is a different from how
|
@@ -68,6 +68,9 @@ module <%= app_const_base %>
|
|
68
68
|
# },
|
69
69
|
# attributes: { "Cache-Control" => "max-age=#{365.day.to_i}" },
|
70
70
|
# public: true,
|
71
|
+
# read_only: false, # if true then updating a file
|
72
|
+
# # in that bucket will move it
|
73
|
+
# # to the default storage location
|
71
74
|
# authenticated_url_expiration: 180 # if public is set to false this
|
72
75
|
# # option is needed
|
73
76
|
# }
|
data/lib/wagn/response.rb
CHANGED
@@ -51,10 +51,6 @@ module Wagn
|
|
51
51
|
send_file File.join(path, filename), x_sendfile: true
|
52
52
|
end
|
53
53
|
|
54
|
-
def page_opts_from_params
|
55
|
-
(params[:slot] || {}).deep_symbolize_keys
|
56
|
-
end
|
57
|
-
|
58
54
|
def format_from_params
|
59
55
|
return :file if params[:explicit_file]
|
60
56
|
format = request.parameters[:format]
|
data/lib/wagn/tasks/wagn.rake
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
define("ace/mode/latex_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:"comment",regex:"%.*$"},{token:["keyword","lparen","variable.parameter","rparen","lparen","storage.type","rparen"],regex:"(\\\\(?:documentclass|usepackage|input))(?:(\\[)([^\\]]*)(\\]))?({)([^}]*)(})"},{token:["keyword","lparen","variable.parameter","rparen"],regex:"(\\\\(?:label|v?ref|cite(?:[^{]*)))(?:({)([^}]*)(}))?"},{token:["storage.type","lparen","variable.parameter","rparen"],regex:"(\\\\(?:begin|end))({)(\\w*)(})"},{token:"storage.type",regex:"\\\\[a-zA-Z]+"},{token:"lparen",regex:"[[({]"},{token:"rparen",regex:"[\\])}]"},{token:"constant.character.escape",regex:"\\\\[^a-zA-Z]?"},{token:"string",regex:"\\${1,2}",next:"equation"}],equation:[{token:"comment",regex:"%.*$"},{token:"string",regex:"\\${1,2}",next:"start"},{token:"constant.character.escape",regex:"\\\\(?:[^a-zA-Z]|[a-zA-Z]+)"},{token:"error",regex:"^\\s*$",next:"start"},{defaultToken:"string"}]}};r.inherits(s,i),t.LatexHighlightRules=s}),define("ace/mode/folding/latex",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range","ace/token_iterator"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("./fold_mode").FoldMode,s=e("../../range").Range,o=e("../../token_iterator").TokenIterator,u=t.FoldMode=function(){};r.inherits(u,i),function(){this.foldingStartMarker=/^\s*\\(begin)|(section|subsection|paragraph)\b|{\s*$/,this.foldingStopMarker=/^\s*\\(end)\b|^\s*}/,this.getFoldWidgetRange=function(e,t,n){var r=e.doc.getLine(n),i=this.foldingStartMarker.exec(r);if(i)return i[1]?this.latexBlock(e,n,i[0].length-1):i[2]?this.latexSection(e,n,i[0].length-1):this.openingBracketBlock(e,"{",n,i.index);var i=this.foldingStopMarker.exec(r);if(i)return i[1]?this.latexBlock(e,n,i[0].length-1):this.closingBracketBlock(e,"}",n,i.index+i[0].length)},this.latexBlock=function(e,t,n){var r={"\\begin":1,"\\end":-1},i=new o(e,t,n),u=i.getCurrentToken();if(!u||u.type!="storage.type"&&u.type!="constant.character.escape")return;var a=u.value,f=r[a],l=function(){var e=i.stepForward(),t=e.type=="lparen"?i.stepForward().value:"";return f===-1&&(i.stepBackward(),t&&i.stepBackward()),t},c=[l()],h=f===-1?i.getCurrentTokenColumn():e.getLine(t).length,p=t;i.step=f===-1?i.stepBackward:i.stepForward;while(u=i.step()){if(!u||u.type!="storage.type"&&u.type!="constant.character.escape")continue;var d=r[u.value];if(!d)continue;var v=l();if(d===f)c.unshift(v);else if(c.shift()!==v||!c.length)break}if(c.length)return;var t=i.getCurrentTokenRow();return f===-1?new s(t,e.getLine(t).length,p,h):(i.stepBackward(),new s(p,h,t,i.getCurrentTokenColumn()))},this.latexSection=function(e,t,n){var r=["\\subsection","\\section","\\begin","\\end","\\paragraph"],i=new o(e,t,n),u=i.getCurrentToken();if(!u||u.type!="storage.type")return;var a=r.indexOf(u.value),f=0,l=t;while(u=i.stepForward()){if(u.type!=="storage.type")continue;var c=r.indexOf(u.value);if(c>=2){f||(l=i.getCurrentTokenRow()-1),f+=c==2?1:-1;if(f<0)break}else if(c>=a)break}f||(l=i.getCurrentTokenRow()-1);while(l>t&&!/\S/.test(e.getLine(l)))l--;return new s(t,e.getLine(t).length,l,e.getLine(l).length)}}.call(u.prototype)}),define("ace/mode/latex",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/latex_highlight_rules","ace/mode/folding/latex","ace/range"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./latex_highlight_rules").LatexHighlightRules,o=e("./folding/latex").FoldMode,u=e("../range").Range,a=function(){this.HighlightRules=s,this.foldingRules=new o};r.inherits(a,i),function(){this.type="text",this.lineCommentStart="%",this.$id="ace/mode/latex"}.call(a.prototype),t.Mode=a})
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wagn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.21.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2017-
|
14
|
+
date: 2017-06-27 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|
@@ -33,14 +33,14 @@ dependencies:
|
|
33
33
|
requirements:
|
34
34
|
- - '='
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 1.
|
36
|
+
version: 1.21.0
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
40
40
|
requirements:
|
41
41
|
- - '='
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.
|
43
|
+
version: 1.21.0
|
44
44
|
description: a wiki approach to stuctured data, dynamic interaction, and web design
|
45
45
|
email:
|
46
46
|
- info@wagn.org
|
@@ -177,6 +177,7 @@ files:
|
|
177
177
|
- rails/assets/ace/mode-html.js
|
178
178
|
- rails/assets/ace/mode-javascript.js
|
179
179
|
- rails/assets/ace/mode-json.js
|
180
|
+
- rails/assets/ace/mode-latex.js
|
180
181
|
- rails/assets/ace/mode-scss.js
|
181
182
|
- rails/assets/ace/theme-github.js
|
182
183
|
- rails/assets/ace/theme-textmate.js
|