rails 4.2.1.rc2 → 4.2.1.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/guides/source/asset_pipeline.md +0 -21
  3. metadata +18 -18
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e38b0a5f1c00434f2535493d175979f4b7d3371
4
- data.tar.gz: 68173ceaf04a6c733d5a8b0527a1d32df112f3cf
3
+ metadata.gz: d28edda499f7f018dbe22e898fd970352f7c8069
4
+ data.tar.gz: 60baa95ac4586608a6b7aec0411a40d881e08bb4
5
5
  SHA512:
6
- metadata.gz: 3aa0c0741a85ed079a102608938c5abe1427699c8f2a0a5078278df0d74b6f88c5c9c8b4ab907ca75459feb7477465e524928c7ef6a6c7c63d1bebd1fe956269
7
- data.tar.gz: ac6057613cacf8d8141c21e06672052033c4eb6e614d158b9f17d9de565ed3deadd48c24bd73db2eed327a2b90bd718780c52bf7f317b584e3e82aabf8ffaa32
6
+ metadata.gz: fdc89e9a0c1acf54093f14a08e379987454798d009c35717d2e596cf9c6eee8b9c45f5f66bb9cb6fc7ff176ecfa848a665bc904011238247dbf94616776fad8b
7
+ data.tar.gz: 00164c1941144fa1a4c1843ae094cd3a41f9904e6499703ff90c2c491e3bbdf739631bbb5d9956e494b4208a8224a89d3819de5ad56ce6bc5258821fda4ef882
@@ -727,27 +727,6 @@ include, you can add them to the `precompile` array in `config/initializers/asse
727
727
  Rails.application.config.assets.precompile += ['admin.js', 'admin.css', 'swfObject.js']
728
728
  ```
729
729
 
730
- Or, you can opt to precompile all assets with something like this:
731
-
732
- ```ruby
733
- # config/initializers/assets.rb
734
- Rails.application.config.assets.precompile << Proc.new do |path|
735
- if path =~ /\.(css|js)\z/
736
- full_path = Rails.application.assets.resolve(path).to_path
737
- app_assets_path = Rails.root.join('app', 'assets').to_path
738
- if full_path.starts_with? app_assets_path
739
- logger.info "including asset: " + full_path
740
- true
741
- else
742
- logger.info "excluding asset: " + full_path
743
- false
744
- end
745
- else
746
- false
747
- end
748
- end
749
- ```
750
-
751
730
  NOTE. Always specify an expected compiled filename that ends with .js or .css,
752
731
  even if you want to add Sass or CoffeeScript files to the precompile array.
753
732
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1.rc2
4
+ version: 4.2.1.rc3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-25 00:00:00.000000000 Z
11
+ date: 2015-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -16,112 +16,112 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.1.rc2
19
+ version: 4.2.1.rc3
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.1.rc2
26
+ version: 4.2.1.rc3
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: actionpack
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.1.rc2
33
+ version: 4.2.1.rc3
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.1.rc2
40
+ version: 4.2.1.rc3
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: actionview
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 4.2.1.rc2
47
+ version: 4.2.1.rc3
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 4.2.1.rc2
54
+ version: 4.2.1.rc3
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: activemodel
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 4.2.1.rc2
61
+ version: 4.2.1.rc3
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 4.2.1.rc2
68
+ version: 4.2.1.rc3
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: activerecord
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - '='
74
74
  - !ruby/object:Gem::Version
75
- version: 4.2.1.rc2
75
+ version: 4.2.1.rc3
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - '='
81
81
  - !ruby/object:Gem::Version
82
- version: 4.2.1.rc2
82
+ version: 4.2.1.rc3
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: actionmailer
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
87
  - - '='
88
88
  - !ruby/object:Gem::Version
89
- version: 4.2.1.rc2
89
+ version: 4.2.1.rc3
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - '='
95
95
  - !ruby/object:Gem::Version
96
- version: 4.2.1.rc2
96
+ version: 4.2.1.rc3
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: activejob
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
101
  - - '='
102
102
  - !ruby/object:Gem::Version
103
- version: 4.2.1.rc2
103
+ version: 4.2.1.rc3
104
104
  type: :runtime
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - '='
109
109
  - !ruby/object:Gem::Version
110
- version: 4.2.1.rc2
110
+ version: 4.2.1.rc3
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: railties
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - '='
116
116
  - !ruby/object:Gem::Version
117
- version: 4.2.1.rc2
117
+ version: 4.2.1.rc3
118
118
  type: :runtime
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - '='
123
123
  - !ruby/object:Gem::Version
124
- version: 4.2.1.rc2
124
+ version: 4.2.1.rc3
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: bundler
127
127
  requirement: !ruby/object:Gem::Requirement