rasputin 0.13.1 → 0.13.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +23 -25
- data/README.md +12 -8
- data/lib/rasputin/version.rb +1 -1
- data/rasputin.gemspec +4 -4
- metadata +14 -14
data/Gemfile.lock
CHANGED
@@ -1,53 +1,51 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rasputin (0.
|
5
|
-
actionpack (~> 3.1
|
6
|
-
jquery-rails (
|
7
|
-
railties (~> 3.1
|
8
|
-
sprockets (~> 2.0
|
4
|
+
rasputin (0.13.2)
|
5
|
+
actionpack (~> 3.1)
|
6
|
+
jquery-rails (>= 1.0)
|
7
|
+
railties (~> 3.1)
|
8
|
+
sprockets (~> 2.0)
|
9
9
|
|
10
10
|
GEM
|
11
11
|
remote: http://rubygems.org/
|
12
12
|
specs:
|
13
|
-
actionpack (3.
|
14
|
-
activemodel (= 3.
|
15
|
-
activesupport (= 3.
|
13
|
+
actionpack (3.2.0)
|
14
|
+
activemodel (= 3.2.0)
|
15
|
+
activesupport (= 3.2.0)
|
16
16
|
builder (~> 3.0.0)
|
17
17
|
erubis (~> 2.7.0)
|
18
|
-
|
19
|
-
rack (~> 1.
|
18
|
+
journey (~> 1.0.0)
|
19
|
+
rack (~> 1.4.0)
|
20
20
|
rack-cache (~> 1.1)
|
21
|
-
rack-mount (~> 0.8.2)
|
22
21
|
rack-test (~> 0.6.1)
|
23
|
-
sprockets (~> 2.
|
24
|
-
activemodel (3.
|
25
|
-
activesupport (= 3.
|
22
|
+
sprockets (~> 2.1.2)
|
23
|
+
activemodel (3.2.0)
|
24
|
+
activesupport (= 3.2.0)
|
26
25
|
builder (~> 3.0.0)
|
26
|
+
activesupport (3.2.0)
|
27
27
|
i18n (~> 0.6)
|
28
|
-
activesupport (3.1.3)
|
29
28
|
multi_json (~> 1.0)
|
30
29
|
builder (3.0.0)
|
31
30
|
erubis (2.7.0)
|
32
31
|
hike (1.2.1)
|
33
32
|
i18n (0.6.0)
|
34
|
-
|
35
|
-
|
33
|
+
journey (1.0.0)
|
34
|
+
jquery-rails (2.0.0)
|
35
|
+
railties (>= 3.2.0.beta, < 5.0)
|
36
36
|
thor (~> 0.14)
|
37
|
-
json (1.6.
|
37
|
+
json (1.6.5)
|
38
38
|
multi_json (1.0.4)
|
39
|
-
rack (1.
|
39
|
+
rack (1.4.0)
|
40
40
|
rack-cache (1.1)
|
41
41
|
rack (>= 0.4)
|
42
|
-
rack-mount (0.8.3)
|
43
|
-
rack (>= 1.0.0)
|
44
42
|
rack-ssl (1.3.2)
|
45
43
|
rack
|
46
44
|
rack-test (0.6.1)
|
47
45
|
rack (>= 1.0)
|
48
|
-
railties (3.
|
49
|
-
actionpack (= 3.
|
50
|
-
activesupport (= 3.
|
46
|
+
railties (3.2.0)
|
47
|
+
actionpack (= 3.2.0)
|
48
|
+
activesupport (= 3.2.0)
|
51
49
|
rack-ssl (~> 1.3.2)
|
52
50
|
rake (>= 0.8.7)
|
53
51
|
rdoc (~> 3.4)
|
@@ -55,7 +53,7 @@ GEM
|
|
55
53
|
rake (0.9.2.2)
|
56
54
|
rdoc (3.12)
|
57
55
|
json (~> 1.4)
|
58
|
-
sprockets (2.
|
56
|
+
sprockets (2.1.2)
|
59
57
|
hike (~> 1.2)
|
60
58
|
rack (~> 1.0)
|
61
59
|
tilt (~> 1.1, != 1.3.0)
|
data/README.md
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
Rasputin
|
2
2
|
========
|
3
3
|
|
4
|
-
|
4
|
+
Rasputin integrates Ember.js with Rails 3.1 assets pipeline.
|
5
5
|
|
6
|
-
It
|
6
|
+
It requires the following ember packages :
|
7
7
|
|
8
8
|
* ember
|
9
9
|
* ember-data
|
10
10
|
|
11
|
-
Rasputin also provide sprockets engine for handlebars templates. Any template in your
|
12
|
-
javascript assets folder with
|
11
|
+
Rasputin also provide a sprockets engine for handlebars templates. Any template in your
|
12
|
+
javascript assets folder with extension `handlebars` or `hbs` will be available in ember.
|
13
13
|
|
14
14
|
Examples :
|
15
15
|
|
@@ -27,7 +27,7 @@ Precompilation :
|
|
27
27
|
|
28
28
|
Starting with 0.9.0 release, Rasputin will precompile your handlebars templates.
|
29
29
|
Starting with 0.12.1 release, default behavior is to precompile templates only in production environment.
|
30
|
-
If you
|
30
|
+
If you don't want this behavior you can turn it off in your rails configuration block :
|
31
31
|
|
32
32
|
config.rasputin.precompile_handlebars = false
|
33
33
|
|
@@ -51,7 +51,7 @@ If you chouse to use "javascript native require" your application.js file will l
|
|
51
51
|
require('ember-data');
|
52
52
|
require('app/**/*');
|
53
53
|
|
54
|
-
|
54
|
+
There is two new settings :
|
55
55
|
|
56
56
|
config.rasputin.use_javascript_require = true
|
57
57
|
config.rasputin.strip_javascript_require = true
|
@@ -63,7 +63,7 @@ In Gemfile:
|
|
63
63
|
|
64
64
|
gem 'rasputin'
|
65
65
|
|
66
|
-
In your javascript
|
66
|
+
In your javascript assets manifest (app/assets/javascripts/application.js) add the following:
|
67
67
|
|
68
68
|
//= require jquery
|
69
69
|
//= require ember
|
@@ -72,7 +72,7 @@ And any of the following you want to include:
|
|
72
72
|
|
73
73
|
//= require ember-data
|
74
74
|
|
75
|
-
In your stylesheet
|
75
|
+
In your stylesheet assets manifest (app/assets/stylesheets/application.css) add the following:
|
76
76
|
|
77
77
|
/*
|
78
78
|
* = require normalize
|
@@ -81,6 +81,10 @@ In your stylesheet asset manifest (app/assets/stylesheets/application.css) add t
|
|
81
81
|
ChangeLog
|
82
82
|
----------
|
83
83
|
|
84
|
+
0.13.2
|
85
|
+
|
86
|
+
* Rails 3.2 support
|
87
|
+
|
84
88
|
0.13.1
|
85
89
|
|
86
90
|
* fix to ensure rasputin is initialized in all groups (thanks @chrisconley)
|
data/lib/rasputin/version.rb
CHANGED
data/rasputin.gemspec
CHANGED
@@ -12,10 +12,10 @@ Gem::Specification.new do |s|
|
|
12
12
|
s.description = %q{Ember.js for the Rails asset pipeline.}
|
13
13
|
|
14
14
|
s.rubyforge_project = "rasputin"
|
15
|
-
s.add_runtime_dependency 'railties', '~> 3.1
|
16
|
-
s.add_runtime_dependency 'actionpack', '~> 3.1
|
17
|
-
s.add_runtime_dependency 'sprockets', '~> 2.0
|
18
|
-
s.add_runtime_dependency 'jquery-rails', '
|
15
|
+
s.add_runtime_dependency 'railties', '~> 3.1'
|
16
|
+
s.add_runtime_dependency 'actionpack', '~> 3.1'
|
17
|
+
s.add_runtime_dependency 'sprockets', '~> 2.0'
|
18
|
+
s.add_runtime_dependency 'jquery-rails', '>= 1.0'
|
19
19
|
|
20
20
|
s.files = `git ls-files`.split("\n")
|
21
21
|
#s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rasputin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.13.
|
4
|
+
version: 0.13.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,52 +9,52 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
12
|
+
date: 2012-01-20 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
16
|
-
requirement: &
|
16
|
+
requirement: &70235550589940 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.1
|
21
|
+
version: '3.1'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70235550589940
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: actionpack
|
27
|
-
requirement: &
|
27
|
+
requirement: &70235550577440 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.1
|
32
|
+
version: '3.1'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70235550577440
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sprockets
|
38
|
-
requirement: &
|
38
|
+
requirement: &70235550575120 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
42
42
|
- !ruby/object:Gem::Version
|
43
|
-
version: 2.0
|
43
|
+
version: '2.0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70235550575120
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jquery-rails
|
49
|
-
requirement: &
|
49
|
+
requirement: &70235550567060 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ! '>='
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70235550567060
|
58
58
|
description: Ember.js for the Rails asset pipeline.
|
59
59
|
email:
|
60
60
|
- paul@chavard.net
|