whowish_word 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -15,8 +15,8 @@ if defined?(ActionView) and defined?(ActionView::Base)
15
15
  </script>
16
16
  HTML
17
17
 
18
- return javascript_include_tag("/whowish_word.js") + \
19
- stylesheet_link_tag("/whowish_word.css") + \
18
+ return javascript_include_tag("/whowish_word_js").sub('.js', '').html_safe + \
19
+ stylesheet_link_tag("/whowish_word_css").sub('.css', '').html_safe + \
20
20
  script_text.html_safe
21
21
  end
22
22
 
@@ -6,8 +6,8 @@ module WhowishWord
6
6
 
7
7
  Rails.application.routes.prepend do
8
8
  match "whowish_word/change_word", :to=>"whowish_word#change_word"
9
- match "whowish_word.css", :to=>"whowish_word#css"
10
- match "whowish_word.js", :to=>"whowish_word#js"
9
+ match "whowish_word_css", :to=>"whowish_word#css"
10
+ match "whowish_word_js", :to=>"whowish_word#js"
11
11
  end
12
12
 
13
13
  end
@@ -21,12 +21,12 @@
21
21
  </span>
22
22
  <span>
23
23
  <b>Bullet: </b> <ul>
24
- <li><%=word_for :text%></li>
25
- <li><%=word_for :text%></li>
24
+ <li><%=word_for :text1%></li>
25
+ <li><%=word_for :text2%></li>
26
26
  </ul>
27
27
  </span>
28
28
  <span>
29
- <b>Anchor: </b> <a href="#"><%=word_for :text%></a>
29
+ <b>Anchor: </b> <a href="#"><%=word_for :text3%></a>
30
30
  </span>
31
31
  <span>
32
32
  <b>Label: </b> <label for="some_textbox"><%=word_for_attr :label_text%></label>
data/whowish_word.gemspec CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "whowish_word"
6
- s.version = "0.2.6"
6
+ s.version = "0.2.7"
7
7
  s.platform = Gem::Platform::RUBY
8
8
  s.authors = ["Tanin Na Nakorn"]
9
9
  s.email = ["tanin47@yahoo.com"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: whowish_word
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-31 00:00:00.000000000Z
12
+ date: 2011-11-01 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: A Rails gem that make static content editable
15
15
  email: