contentflow 0.0.2 → 0.0.3

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.
data/README.md CHANGED
@@ -1,8 +1,10 @@
1
- # Contentflow
1
+ Contentflow
2
+ ===========
2
3
 
3
- TODO: Write a gem description
4
+ ContentFlow is a flexible CoverflowTM / ImageFlow like flow written in javascript, which can handle any kind of content for the Rails 3.1+ asset pipeline. It supports all new and old major and not so major browsers. It's distributed under the MIT License.
4
5
 
5
- ## Installation
6
+ Installation
7
+ ------------
6
8
 
7
9
  Add this line to your application's Gemfile:
8
10
 
@@ -16,11 +18,31 @@ Or install it yourself as:
16
18
 
17
19
  $ gem install contentflow
18
20
 
19
- ## Usage
21
+ Usage
22
+ -----
20
23
 
21
- TODO: Write usage instructions here
24
+ ### Stylesheets
22
25
 
23
- ## Contributing
26
+ Add necessary stylesheet file to app/assets/stylesheets/application.css:
27
+
28
+ ``` css
29
+ *= require contentflow
30
+ ```
31
+
32
+ ### Javascript
33
+
34
+ Add necessary javascript file to app/assets/javascripts/application.js
35
+
36
+ ``` javascript
37
+ //= require contentflow
38
+ ```
39
+
40
+ ### Configuration
41
+
42
+ For configuration details please visit [Contentflow official site](http://jacksasylum.eu/ContentFlow/).
43
+
44
+ Contributing
45
+ ------------
24
46
 
25
47
  1. Fork it
26
48
  2. Create your feature branch (`git checkout -b my-new-feature`)
@@ -1,3 +1,3 @@
1
1
  module Contentflow
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -110,8 +110,9 @@ var ContentFlowGlobal = {
110
110
 
111
111
  init: function () {
112
112
  /* add default stylesheets */
113
- this.addStylesheet(this.CSSBaseDir+'contentflow.css');
114
- this.addStylesheet(this.CSSBaseDir+'mycontentflow.css'); // FF2: without adding a css-file FF2 hangs on a reload.
113
+ // this.addStylesheet(this.CSSBaseDir+'contentflow.css');
114
+ // this.addStylesheet(this.CSSBaseDir+'mycontentflow.css');
115
+ // FF2: without adding a css-file FF2 hangs on a reload.
115
116
  // I don't have the slidest idea why
116
117
  // Could be timing problem
117
118
  this.loadAddOns = new Array();
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contentflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: