help_popups 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,7 @@ module HelpPopups
9
9
  return_html = return_html + " <div style='border-bottom:1px solid #333333'>"
10
10
  return_html = return_html + " <div style='float:left' class='help_popup_title'>" + @topic.title + "</div>"
11
11
  return_html = return_html + " <div style='float:right'>"
12
- return_html = return_html + " <a href='#' style='color:#FF0000;font-weight:bold;text-decoration:none' onclick='document.getElementById(\"help_popup_" + topic_code + "\").style.display=\"none\";'>X</a>"
12
+ return_html = return_html + " <a href='#' style='color:#FF0000;font-weight:bold;text-decoration:none' onclick='document.getElementById(\"help_popup_" + topic_code + "\").style.display=\"none\";'>" + image_tag("close-button.png", :title => "Close Button Missing", :style => "cursor:pointer") + "</a>"
13
13
  return_html = return_html + " </div>"
14
14
  return_html = return_html + " <div style='clear:both'></div>"
15
15
  return_html = return_html + " </div>"
@@ -3,13 +3,7 @@
3
3
  <h3>The following errors occurred:</h3>
4
4
  <ul>
5
5
  <% object.errors.full_messages.each do |msg| %>
6
- <% if (msg == "Janrain can't be blank") then %>
7
- <li>You must log in with Facebook, Twitter, or Google</li>
8
- <% elsif (msg == "Janrain has already been taken") then %>
9
- <li>You have already created an account associated with that social network. Please Sign in.</li>
10
- <% else %>
11
- <li><%= msg %></li>
12
- <% end %>
6
+ <li><%= msg %></li>
13
7
  <% end %>
14
8
  </ul>
15
9
  </div>
@@ -4661,3 +4661,34 @@ Served asset /help_popups/topics.js - 304 Not Modified (0ms)
4661
4661
 
4662
4662
  Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Thu Aug 02 00:21:39 -0600 2012
4663
4663
  Served asset /jquery_ujs.js - 304 Not Modified (0ms)
4664
+
4665
+
4666
+ Started GET "/test_popup" for 127.0.0.1 at Thu Aug 02 00:37:43 -0600 2012
4667
+ Processing by PagesController#test_popup as HTML
4668
+ HelpPopups::Topic Load (0.1ms) SELECT "help_popups_topics".* FROM "help_popups_topics" WHERE "help_popups_topics"."code" = 'BACON' LIMIT 1
4669
+ Rendered pages/test_popup.html.erb within layouts/application (6.0ms)
4670
+ Completed 200 OK in 52ms (Views: 51.0ms | ActiveRecord: 0.8ms)
4671
+
4672
+
4673
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at Thu Aug 02 00:37:43 -0600 2012
4674
+ Served asset /application.css - 304 Not Modified (3ms)
4675
+
4676
+
4677
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at Thu Aug 02 00:37:43 -0600 2012
4678
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
4679
+
4680
+
4681
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at Thu Aug 02 00:37:43 -0600 2012
4682
+ Served asset /jquery.js - 304 Not Modified (0ms)
4683
+
4684
+
4685
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at Thu Aug 02 00:37:43 -0600 2012
4686
+ Served asset /application.js - 304 Not Modified (5ms)
4687
+
4688
+
4689
+ Started GET "/assets/pages.js?body=1" for 127.0.0.1 at Thu Aug 02 00:37:43 -0600 2012
4690
+ Served asset /pages.js - 304 Not Modified (1ms)
4691
+
4692
+
4693
+ Started GET "/assets/help_popup.gif" for 127.0.0.1 at Thu Aug 02 00:37:43 -0600 2012
4694
+ Served asset /help_popup.gif - 304 Not Modified (1ms)
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: help_popups
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 19
5
+ prerelease:
5
6
  segments:
6
7
  - 1
7
8
  - 0
8
- - 1
9
- version: 1.0.1
9
+ - 2
10
+ version: 1.0.2
10
11
  platform: ruby
11
12
  authors:
12
13
  - Derek Sweet
@@ -14,16 +15,17 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2012-08-02 00:00:00 -06:00
18
- default_executable:
18
+ date: 2012-11-28 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails
22
22
  prerelease: false
23
23
  requirement: &id001 !ruby/object:Gem::Requirement
24
+ none: false
24
25
  requirements:
25
26
  - - ~>
26
27
  - !ruby/object:Gem::Version
28
+ hash: 3
27
29
  segments:
28
30
  - 3
29
31
  - 2
@@ -35,9 +37,11 @@ dependencies:
35
37
  name: sqlite3
36
38
  prerelease: false
37
39
  requirement: &id002 !ruby/object:Gem::Requirement
40
+ none: false
38
41
  requirements:
39
42
  - - ">="
40
43
  - !ruby/object:Gem::Version
44
+ hash: 3
41
45
  segments:
42
46
  - 0
43
47
  version: "0"
@@ -79,7 +83,86 @@ files:
79
83
  - MIT-LICENSE
80
84
  - Rakefile
81
85
  - README.rdoc
82
- has_rdoc: true
86
+ - test/dummy/app/assets/images/close-button.png
87
+ - test/dummy/app/assets/images/help_popup.gif
88
+ - test/dummy/app/assets/javascripts/application.js
89
+ - test/dummy/app/assets/javascripts/pages.js
90
+ - test/dummy/app/assets/stylesheets/application.css
91
+ - test/dummy/app/assets/stylesheets/pages.css
92
+ - test/dummy/app/controllers/application_controller.rb
93
+ - test/dummy/app/controllers/pages_controller.rb
94
+ - test/dummy/app/helpers/application_helper.rb
95
+ - test/dummy/app/helpers/pages_helper.rb
96
+ - test/dummy/app/views/layouts/application.html.erb
97
+ - test/dummy/app/views/pages/test_popup.html.erb
98
+ - test/dummy/config/application.rb
99
+ - test/dummy/config/boot.rb
100
+ - test/dummy/config/database.yml
101
+ - test/dummy/config/environment.rb
102
+ - test/dummy/config/environments/development.rb
103
+ - test/dummy/config/environments/production.rb
104
+ - test/dummy/config/environments/test.rb
105
+ - test/dummy/config/initializers/backtrace_silencers.rb
106
+ - test/dummy/config/initializers/inflections.rb
107
+ - test/dummy/config/initializers/mime_types.rb
108
+ - test/dummy/config/initializers/secret_token.rb
109
+ - test/dummy/config/initializers/session_store.rb
110
+ - test/dummy/config/initializers/wrap_parameters.rb
111
+ - test/dummy/config/locales/en.yml
112
+ - test/dummy/config/routes.rb
113
+ - test/dummy/config.ru
114
+ - test/dummy/db/development.sqlite3
115
+ - test/dummy/db/migrate/20120723220037_create_help_popups_topics.help_popups.rb
116
+ - test/dummy/db/schema.rb
117
+ - test/dummy/log/development.log
118
+ - test/dummy/public/404.html
119
+ - test/dummy/public/422.html
120
+ - test/dummy/public/500.html
121
+ - test/dummy/public/favicon.ico
122
+ - test/dummy/Rakefile
123
+ - test/dummy/README.rdoc
124
+ - test/dummy/script/rails
125
+ - test/dummy/test/functional/pages_controller_test.rb
126
+ - test/dummy/test/unit/helpers/pages_helper_test.rb
127
+ - test/dummy/tmp/cache/assets/C77/CD0/sprockets%2F38184fc0616ddd2221008a78d1541d87
128
+ - test/dummy/tmp/cache/assets/C78/D50/sprockets%2F6f9a447fc4535059c630c429a420f130
129
+ - test/dummy/tmp/cache/assets/C80/9A0/sprockets%2F574775a5e25504b59cf50eac33454444
130
+ - test/dummy/tmp/cache/assets/C82/FF0/sprockets%2F934f3f962e2f283f310352a83d2a2298
131
+ - test/dummy/tmp/cache/assets/C9D/280/sprockets%2F6fc85a549958e3997c3885c2a543b327
132
+ - test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953
133
+ - test/dummy/tmp/cache/assets/CD9/680/sprockets%2Ff8fa455dc5431ba34904c144e0291c87
134
+ - test/dummy/tmp/cache/assets/CDE/9B0/sprockets%2F2a110e19d10b758979b67c1e7274bee2
135
+ - test/dummy/tmp/cache/assets/CF1/BC0/sprockets%2F07e3b61f967322698ef50f8851fbdc08
136
+ - test/dummy/tmp/cache/assets/D0A/540/sprockets%2Fc0b233a75bdfc63f5324426663ce4d67
137
+ - test/dummy/tmp/cache/assets/D17/9B0/sprockets%2F3154059ed98209719dc1a7c493cb0fff
138
+ - test/dummy/tmp/cache/assets/D1E/2A0/sprockets%2F8d5d60255600aa010a32e1d1a9bc6db6
139
+ - test/dummy/tmp/cache/assets/D2A/450/sprockets%2F58e369b37e5157ea746a485eea17e9f7
140
+ - test/dummy/tmp/cache/assets/D2F/D60/sprockets%2Fa0cb0b3d7d775c4707c42a58fb0d2615
141
+ - test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
142
+ - test/dummy/tmp/cache/assets/D3B/F80/sprockets%2F304efb1d2d219915606f3fd96b3bf5c2
143
+ - test/dummy/tmp/cache/assets/D3D/600/sprockets%2Fef755eb9fa30652001fb26da6930d94e
144
+ - test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655
145
+ - test/dummy/tmp/cache/assets/D59/410/sprockets%2Ff5b91a6111720ee8c5ada6cc20b47c14
146
+ - test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6
147
+ - test/dummy/tmp/cache/assets/D63/E40/sprockets%2F57fe313a29742ea0aecf0202e636f7db
148
+ - test/dummy/tmp/cache/assets/D66/2E0/sprockets%2F3f6153210f7bf78ac5efb97a4010b7ea
149
+ - test/dummy/tmp/cache/assets/D7A/410/sprockets%2Fd1decdae4824f395df114687f262e78a
150
+ - test/dummy/tmp/cache/assets/D92/0E0/sprockets%2Fd9789ab893e8debcec92799653161faf
151
+ - test/dummy/tmp/cache/assets/DA7/230/sprockets%2F7ae10239eda2588a95fdcc7d871bef52
152
+ - test/dummy/tmp/cache/assets/DB2/340/sprockets%2F6dbee4e95bfbe5ee10b454771c76f769
153
+ - test/dummy/tmp/cache/assets/DBD/800/sprockets%2F7bdab069ae4765620d5be3eafc00a7a3
154
+ - test/dummy/tmp/cache/assets/DCB/C20/sprockets%2F8668cc43bae0fbfa023eb81c98329afa
155
+ - test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994
156
+ - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
157
+ - test/dummy/tmp/cache/assets/E04/8A0/sprockets%2Fe10b5f7ad33fe219e2dd459f71ccfbf9
158
+ - test/dummy/tmp/cache/assets/E05/F10/sprockets%2Fb3d9b0e88cdded276ebdce333e338a85
159
+ - test/fixtures/help_popups/topics.yml
160
+ - test/functional/help_popups/topics_controller_test.rb
161
+ - test/help_popups_test.rb
162
+ - test/integration/navigation_test.rb
163
+ - test/test_helper.rb
164
+ - test/unit/help_popups/topic_test.rb
165
+ - test/unit/helpers/help_popups/topics_helper_test.rb
83
166
  homepage: http://rubygems.org/gems/help_popups
84
167
  licenses: []
85
168
 
@@ -89,27 +172,32 @@ rdoc_options: []
89
172
  require_paths:
90
173
  - lib
91
174
  required_ruby_version: !ruby/object:Gem::Requirement
175
+ none: false
92
176
  requirements:
93
177
  - - ">="
94
178
  - !ruby/object:Gem::Version
179
+ hash: 3
95
180
  segments:
96
181
  - 0
97
182
  version: "0"
98
183
  required_rubygems_version: !ruby/object:Gem::Requirement
184
+ none: false
99
185
  requirements:
100
186
  - - ">="
101
187
  - !ruby/object:Gem::Version
188
+ hash: 3
102
189
  segments:
103
190
  - 0
104
191
  version: "0"
105
192
  requirements: []
106
193
 
107
194
  rubyforge_project:
108
- rubygems_version: 1.3.6
195
+ rubygems_version: 1.8.24
109
196
  signing_key:
110
197
  specification_version: 3
111
198
  summary: Help Popups
112
199
  test_files:
200
+ - test/dummy/app/assets/images/close-button.png
113
201
  - test/dummy/app/assets/images/help_popup.gif
114
202
  - test/dummy/app/assets/javascripts/application.js
115
203
  - test/dummy/app/assets/javascripts/pages.js
@@ -182,7 +270,6 @@ test_files:
182
270
  - test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
183
271
  - test/dummy/tmp/cache/assets/E04/8A0/sprockets%2Fe10b5f7ad33fe219e2dd459f71ccfbf9
184
272
  - test/dummy/tmp/cache/assets/E05/F10/sprockets%2Fb3d9b0e88cdded276ebdce333e338a85
185
- - test/dummy/tmp/pids/server.pid
186
273
  - test/fixtures/help_popups/topics.yml
187
274
  - test/functional/help_popups/topics_controller_test.rb
188
275
  - test/help_popups_test.rb
@@ -1 +0,0 @@
1
- 656