enju_core 0.1.1.pre6 → 0.2.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6c7bd5ddc527dbf678fd31e1fd1cd347fab0cc20
4
- data.tar.gz: 8c8a1e1d666599d7cc0e183dcf004f00cf2c81c0
3
+ metadata.gz: 454b83f5d5c509cb00bbc74fe6962bdeb9997db1
4
+ data.tar.gz: cf7f7ee481977d1af6a8c7324c08961b7c26c2da
5
5
  SHA512:
6
- metadata.gz: 8315794883565c82257cdf284a7e04698cbdf46931bb6de60bf81b7be65f24900ead1b970a69cefd82856fe731cc6aa9bbfd5e8fc559a6d5e62ce815ebd4807c
7
- data.tar.gz: c752c003902a867d6fc8e1c8dbf2fd4e17be05f3a6ec719144a3bdcf2e44bcc6ddfe688766e387ccd2e645926bf0e73545ee7d8a2cb5cf92d10844cd059fedec
6
+ metadata.gz: 78c2aa9f6db1967dfeae7e2b26138ec7c9caf4eacab26b6c2b01dc18f889b6b9faa11fe822551d7263dccf50a36aabedbf33eba43baa75385f5f87c81f106abe
7
+ data.tar.gz: 1adb895abe755493495559c331f54a249818a837ebc69f9cc8c70729f79d4111bca4902dc3f3080972f65bc5c6937621afa2c91b7ae5347c3799faeb636856ec
@@ -9,6 +9,7 @@ require 'sunspot_rails'
9
9
  require 'resque'
10
10
  require 'settingslogic'
11
11
  require 'nested_form'
12
+ require 'protected_attributes'
12
13
 
13
14
  module EnjuCore
14
15
  class Engine < ::Rails::Engine
@@ -10,7 +10,7 @@ module ExpireEditableFragment
10
10
  I18n.available_locales.each do |locale|
11
11
  Role.all_cache.each do |role|
12
12
  fragments.each do |fragment|
13
- expire_fragment(":#{record.class.to_s.downcase}" => record.id, :fragment => fragment, :role => role.name, :locale => locale)
13
+ ActionController::Base.new.expire_fragment(":#{record.class.to_s.downcase}" => record.id, :fragment => fragment, :role => role.name, :locale => locale)
14
14
  end
15
15
  end
16
16
  end
@@ -22,7 +22,7 @@ module ExpireEditableFragment
22
22
  I18n.available_locales.each do |locale|
23
23
  Role.all_cache.each do |role|
24
24
  fragments.uniq.each do |fragment|
25
- expire_fragment([:manifestation => manifestation.id, :fragment => fragment, :role => role.name, :locale => locale])
25
+ ActionController::Base.new.expire_fragment([:manifestation => manifestation.id, :fragment => fragment, :role => role.name, :locale => locale])
26
26
  end
27
27
  end
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module EnjuCore
2
- VERSION = "0.1.1.pre6"
2
+ VERSION = "0.2.0.pre1"
3
3
  end
@@ -4,4 +4,4 @@
4
4
  # If you change this key, all old signed cookies will become invalid!
5
5
  # Make sure the secret is at least 30 characters and all random,
6
6
  # no regular words or you'll be exposed to dictionary attacks.
7
- Dummy::Application.config.secret_token = '4563c5cb08969d3dd3742033d6df2ac1c75cbe0fde33d27d26d01db25ea19a57ab0c9d59b353b4de27660a858850bee14663ea00ae4b6cb7bf17212a6f88a956'
7
+ Dummy::Application.config.secret_key_base = '4563c5cb08969d3dd3742033d6df2ac1c75cbe0fde33d27d26d01db25ea19a57ab0c9d59b353b4de27660a858850bee14663ea00ae4b6cb7bf17212a6f88a956'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1.pre6
4
+ version: 0.2.0.pre1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kosuke Tanabe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-04 00:00:00.000000000 Z
11
+ date: 2013-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: 3.2.15
19
+ version: 4.0.1
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: 3.2.15
26
+ version: 4.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: friendly_id
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ~>
32
32
  - !ruby/object:Gem::Version
33
- version: '4.0'
33
+ version: '5.0'
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.0'
40
+ version: '5.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: kaminari
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -192,6 +192,20 @@ dependencies:
192
192
  - - '>='
193
193
  - !ruby/object:Gem::Version
194
194
  version: '0'
195
+ - !ruby/object:Gem::Dependency
196
+ name: protected_attributes
197
+ requirement: !ruby/object:Gem::Requirement
198
+ requirements:
199
+ - - '>='
200
+ - !ruby/object:Gem::Version
201
+ version: '0'
202
+ type: :runtime
203
+ prerelease: false
204
+ version_requirements: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - '>='
207
+ - !ruby/object:Gem::Version
208
+ version: '0'
195
209
  - !ruby/object:Gem::Dependency
196
210
  name: sqlite3
197
211
  requirement: !ruby/object:Gem::Requirement
@@ -305,7 +319,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
305
319
  version: 1.3.1
306
320
  requirements: []
307
321
  rubyforge_project:
308
- rubygems_version: 2.1.4
322
+ rubygems_version: 2.0.3
309
323
  signing_key:
310
324
  specification_version: 4
311
325
  summary: enju_core plugin