rmake-notation 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rmake-notation.rb +0 -21
- data/lib/rmake-notation/version.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33ea344d4ee6eef1215f1490227e321ffff4278d
|
4
|
+
data.tar.gz: 4bf5c99c9aa4c07b6ebfdb34997aa9c8d84b91c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23255a73138e1f3da2c7c9d00d11d6ba8bfdb91b5040555743ca5cf1e9de4d3be26e7dc6da232c233a3b7bf671c40cb3b3bac5f8f63c3f16906a364ab80fac6f
|
7
|
+
data.tar.gz: f02db61e4240b39f644b8bbfd413322450ca9a30639fb6721482b251ea3c0dfeb7cba9586abfd21aa8603e5d66727e7920877ce50789791157bb576c644e26c6
|
data/lib/rmake-notation.rb
CHANGED
@@ -237,27 +237,6 @@ module Rmake::Notation
|
|
237
237
|
url = "http://#{DOMAIN}/games/#{id}/play"
|
238
238
|
result = "<a href=\"#{url}\" title=\"#{text}\">#{text}</a>"
|
239
239
|
|
240
|
-
when "open_game_form"
|
241
|
-
id = parsed_block[1]
|
242
|
-
text = parsed_block[2] ? parsed_block[2] : nil
|
243
|
-
submit_label = parsed_block[3] ? parsed_block[3..parsed_block.length-1] : nil
|
244
|
-
if text.blank?
|
245
|
-
text = "パラメータ"
|
246
|
-
end
|
247
|
-
|
248
|
-
if submit_label.blank?
|
249
|
-
submit_label = "ゲームを開く"
|
250
|
-
end
|
251
|
-
url = "http://#{DOMAIN}/games/#{id}/play"
|
252
|
-
result = <<-EOS
|
253
|
-
<form method="get" action="#{url}">
|
254
|
-
#{text}
|
255
|
-
<input type="text" name="gd" maxlength="200" size=20 />
|
256
|
-
<input type="submit" value="#{submit_label}" />
|
257
|
-
</form>
|
258
|
-
EOS
|
259
|
-
|
260
|
-
|
261
240
|
when "item"
|
262
241
|
id = parsed_block[1]
|
263
242
|
text = parsed_block[2] ? parsed_block[2..parsed_block.length-1] : nil
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rmake-notation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rmake Developers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
description: 'A simple wiki engine for Rmake. '
|
@@ -31,7 +31,7 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
- .gitignore
|
34
|
+
- ".gitignore"
|
35
35
|
- Gemfile
|
36
36
|
- MIT-LICENSE
|
37
37
|
- README.md
|
@@ -49,18 +49,19 @@ require_paths:
|
|
49
49
|
- lib
|
50
50
|
required_ruby_version: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- -
|
57
|
+
- - ">="
|
58
58
|
- !ruby/object:Gem::Version
|
59
59
|
version: '0'
|
60
60
|
requirements: []
|
61
61
|
rubyforge_project:
|
62
|
-
rubygems_version: 2.
|
62
|
+
rubygems_version: 2.4.1
|
63
63
|
signing_key:
|
64
64
|
specification_version: 4
|
65
65
|
summary: A simple wiki engine
|
66
66
|
test_files: []
|
67
|
+
has_rdoc:
|