eyeballs_rails 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -1
- data/Rakefile +1 -1
- data/lib/eyeballs_rails.rb +1 -0
- metadata +51 -10
data/README.md
CHANGED
@@ -4,6 +4,10 @@ eyeballs_rails is a gem for using eyeballs.js in your Ruby on Rails projects.
|
|
4
4
|
|
5
5
|
eyeballs_rails brings the `eyeballs_javascripts` method to Rails, which wraps `javascript_include_tags` but also includes all of the eyeballs.js dependencies, including jQuery and mustache. It also includes all of your models and controllers.
|
6
6
|
|
7
|
+
## Installation ##
|
8
|
+
|
9
|
+
Just add `'eyeballs'` and `'eyeballs_rails'` to your `Gemfile`
|
10
|
+
|
7
11
|
## Using eyeballs in Rails ##
|
8
12
|
|
9
13
|
To install and/or update eyeballs javascripts in your Rails app, from the root directory, run:
|
@@ -20,5 +24,4 @@ Same for controllers:
|
|
20
24
|
|
21
25
|
eyeballs generate controller posts
|
22
26
|
|
23
|
-
|
24
27
|
Finally, at the bottom of your template, just before the `</body>` tag, put the `eyeballs_javascripts` helper.
|
data/Rakefile
CHANGED
@@ -24,7 +24,7 @@ begin
|
|
24
24
|
gemspec.homepage = "http://github.com/paulca/eyeballs_rails"
|
25
25
|
gemspec.authors = ["Paul Campbell"]
|
26
26
|
gemspec.files = FileList["[A-Za-z]*", "lib/**/*"]
|
27
|
-
gemspec.version = "0.1.
|
27
|
+
gemspec.version = "0.1.5"
|
28
28
|
end
|
29
29
|
rescue LoadError
|
30
30
|
puts "Jeweler not available. Install it with: gem install jeweler"
|
@@ -0,0 +1 @@
|
|
1
|
+
require 'eyeballs_rails_helper'
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: eyeballs_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 19
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 1
|
9
|
-
-
|
10
|
-
version: 0.1.
|
8
|
+
- 5
|
9
|
+
version: 0.1.5
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- Paul Campbell
|
@@ -15,10 +14,53 @@ autorequire:
|
|
15
14
|
bindir: bin
|
16
15
|
cert_chain: []
|
17
16
|
|
18
|
-
date:
|
17
|
+
date: 2011-01-13 00:00:00 +00:00
|
19
18
|
default_executable:
|
20
|
-
dependencies:
|
21
|
-
|
19
|
+
dependencies:
|
20
|
+
- !ruby/object:Gem::Dependency
|
21
|
+
name: rails
|
22
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
23
|
+
none: false
|
24
|
+
requirements:
|
25
|
+
- - "="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 3
|
29
|
+
- 0
|
30
|
+
- 0
|
31
|
+
- rc
|
32
|
+
version: 3.0.0.rc
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: *id001
|
36
|
+
- !ruby/object:Gem::Dependency
|
37
|
+
name: capybara
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
40
|
+
requirements:
|
41
|
+
- - ">="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
segments:
|
44
|
+
- 0
|
45
|
+
- 3
|
46
|
+
- 9
|
47
|
+
version: 0.3.9
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: *id002
|
51
|
+
- !ruby/object:Gem::Dependency
|
52
|
+
name: sqlite3-ruby
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
54
|
+
none: false
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
61
|
+
type: :runtime
|
62
|
+
prerelease: false
|
63
|
+
version_requirements: *id003
|
22
64
|
description: Helpers for using eyeballs.js with Ruby on Rails
|
23
65
|
email: paul@rslw.com
|
24
66
|
executables: []
|
@@ -35,6 +77,7 @@ files:
|
|
35
77
|
- Rakefile
|
36
78
|
- eyeballs_rails.gemspec
|
37
79
|
- init.rb
|
80
|
+
- lib/eyeballs_rails.rb
|
38
81
|
- lib/eyeballs_rails_helper.rb
|
39
82
|
- test/dummy/app/controllers/application_controller.rb
|
40
83
|
- test/dummy/app/helpers/application_helper.rb
|
@@ -59,8 +102,8 @@ homepage: http://github.com/paulca/eyeballs_rails
|
|
59
102
|
licenses: []
|
60
103
|
|
61
104
|
post_install_message:
|
62
|
-
rdoc_options:
|
63
|
-
|
105
|
+
rdoc_options: []
|
106
|
+
|
64
107
|
require_paths:
|
65
108
|
- lib
|
66
109
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -68,7 +111,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
111
|
requirements:
|
69
112
|
- - ">="
|
70
113
|
- !ruby/object:Gem::Version
|
71
|
-
hash: 3
|
72
114
|
segments:
|
73
115
|
- 0
|
74
116
|
version: "0"
|
@@ -77,7 +119,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
119
|
requirements:
|
78
120
|
- - ">="
|
79
121
|
- !ruby/object:Gem::Version
|
80
|
-
hash: 3
|
81
122
|
segments:
|
82
123
|
- 0
|
83
124
|
version: "0"
|