locomotivecms_mounter 1.3.2 → 1.3.3

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: c5530907ada5da361eda74b2634561b53f9d2847
4
- data.tar.gz: 2df3cb218d697e6494e568517085961ddb239a82
3
+ metadata.gz: fba92b79f7c5634dad8a25b2cd626b4d60959377
4
+ data.tar.gz: 1e457ff3c0e2cc9d4cc3f73914cdcaa8114f0fe4
5
5
  SHA512:
6
- metadata.gz: f94b477a217c2c01440f4eb63d519e5bdf95b1470466f1e696fc7060bfdd02225763a0331c51290e5ae3a224dae883f43ce5949b30c0b77b5e1459e2ec8b118c
7
- data.tar.gz: 857751a0aab81a19279870a39c47a91514f21621b4fd37158a45176e2c8488235646ca2f282c948f2cbac467b0bc84c99f8d535b706cfaca3a44e0191abca734
6
+ metadata.gz: e6bb42cf4a43baabeb045abc64b96c1ba96322ce40f3e09a851db10d866579a7db0ce3e1de9947089222d39dc351c981fd7e01d98f3d40ecbad1741bb94eee73
7
+ data.tar.gz: 928e94d41b783b8880214d363fb4a4d327f3d7fde06767c8d94a92c2cb6f7e899b6478e6a3174648a9c370221ff1380f9abcd73795f116b1c9c5716ea0d13311
@@ -2,7 +2,7 @@
2
2
  module Locomotive
3
3
  module Mounter #:nodoc
4
4
 
5
- VERSION = '1.3.2'
5
+ VERSION = '1.3.3'
6
6
 
7
7
  end
8
8
  end
@@ -19,7 +19,9 @@ module Locomotive
19
19
  if self.site.persisted?
20
20
  self.check_locales! unless self.force? # requirements
21
21
 
22
- self.update_site
22
+ if self.force?
23
+ self.update_site
24
+ end
23
25
  else
24
26
  self.create_site
25
27
  end
@@ -71,7 +73,7 @@ module Locomotive
71
73
  end
72
74
 
73
75
  def safe_attributes
74
- %w(id locales timezone)
76
+ %w(id name locales timezone)
75
77
  end
76
78
 
77
79
  def fetch_site
@@ -63,7 +63,7 @@ module Locomotive
63
63
 
64
64
  TEMPLATE_EXTENSIONS = %w(liquid haml)
65
65
 
66
- @@logger = Logger.new(STDOUT).tap { |log| log.level = Logger::DEBUG }
66
+ @@logger = ::Logger.new(STDOUT).tap { |log| log.level = ::Logger::DEBUG }
67
67
 
68
68
  @@mount_point = nil
69
69
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: locomotivecms_mounter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.2
4
+ version: 1.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Didier Lafforgue
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-11-11 00:00:00.000000000 Z
11
+ date: 2013-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tilt
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 1.3.3
19
+ version: 1.4.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: 1.3.3
26
+ version: 1.4.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: sprockets
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -142,42 +142,42 @@ dependencies:
142
142
  requirements:
143
143
  - - ~>
144
144
  - !ruby/object:Gem::Version
145
- version: 1.0.1
145
+ version: 0.3.29
146
146
  type: :runtime
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - ~>
151
151
  - !ruby/object:Gem::Version
152
- version: 1.0.1
152
+ version: 0.3.29
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: chronic
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
157
  - - ~>
158
158
  - !ruby/object:Gem::Version
159
- version: 0.9.1
159
+ version: 0.10.2
160
160
  type: :runtime
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ~>
165
165
  - !ruby/object:Gem::Version
166
- version: 0.9.1
166
+ version: 0.10.2
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: activesupport
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
171
  - - ~>
172
172
  - !ruby/object:Gem::Version
173
- version: 3.2.14
173
+ version: 3.2.15
174
174
  type: :runtime
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - ~>
179
179
  - !ruby/object:Gem::Version
180
- version: 3.2.14
180
+ version: 3.2.15
181
181
  - !ruby/object:Gem::Dependency
182
182
  name: i18n
183
183
  requirement: !ruby/object:Gem::Requirement
@@ -198,28 +198,28 @@ dependencies:
198
198
  requirements:
199
199
  - - ~>
200
200
  - !ruby/object:Gem::Version
201
- version: 1.4.0
201
+ version: 2.0.3
202
202
  type: :runtime
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - ~>
207
207
  - !ruby/object:Gem::Version
208
- version: 1.4.0
208
+ version: 2.0.3
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: multi_json
211
211
  requirement: !ruby/object:Gem::Requirement
212
212
  requirements:
213
213
  - - ~>
214
214
  - !ruby/object:Gem::Version
215
- version: 1.2.0
215
+ version: 1.7.3
216
216
  type: :runtime
217
217
  prerelease: false
218
218
  version_requirements: !ruby/object:Gem::Requirement
219
219
  requirements:
220
220
  - - ~>
221
221
  - !ruby/object:Gem::Version
222
- version: 1.2.0
222
+ version: 1.7.3
223
223
  - !ruby/object:Gem::Dependency
224
224
  name: httmultiparty
225
225
  requirement: !ruby/object:Gem::Requirement