rack-olark 0.0.7 → 0.0.8

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.
Files changed (3) hide show
  1. data/README.md +3 -1
  2. data/VERSION +1 -1
  3. metadata +1 -1
data/README.md CHANGED
@@ -11,7 +11,7 @@ Most of the options you give Rack::Olark are passed along to Olark in the follow
11
11
 
12
12
  There are three special options: id, tag, and paths. id is your Olark API ID, and the middleware won't let your Rack app boot without it.
13
13
 
14
- tag is a custom <script> tag to be used at the beginning of the Olark code. Most people shouldn't need this, and it will default to just <script> (HTML5-style).
14
+ tag is a custom script tag to be used at the beginning of the Olark code. Most people should never need this, and it will default to just `<script>` (HTML5-style).
15
15
 
16
16
  paths decides which routes in your application will display the Olark chat box. It takes an array of routes, and you need to include the leading slash (/). If you don't give an array for paths, it is empty by default, and this will cause the Olark code to be inserted on every route. As of version 0.0.4, you can now describe routes in the paths array with a Regexp as well, and any non-Regexp entries will be handled like this:
17
17
 
@@ -23,6 +23,8 @@ Example using options:
23
23
  tag: '<script type="text/javascript">',
24
24
  paths: ['/', '/aboutus']
25
25
 
26
+ Note that in order to use custom Olark JavaScript options, you may have to revert to using hashrocket syntax.
27
+
26
28
  ## Acknowledgements
27
29
 
28
30
  Code from rack/google-analytics has been used liberally and expanded/trimmed down where needed. Mucho thanks to Lee Hambley and other cool rack/google-analytics bros.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.7
1
+ 0.0.8
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-olark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: