locomotivecms_mounter 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/locomotive/mounter/engine_api.rb +6 -1
- data/lib/locomotive/mounter/extensions/compass.rb +1 -0
- data/lib/locomotive/mounter/models/content_entry.rb +1 -1
- data/lib/locomotive/mounter/models/content_field.rb +12 -2
- data/lib/locomotive/mounter/models/page.rb +1 -1
- data/lib/locomotive/mounter/reader/api/base.rb +2 -0
- data/lib/locomotive/mounter/reader/api/content_entries_reader.rb +1 -24
- data/lib/locomotive/mounter/reader/api/content_types_reader.rb +2 -2
- data/lib/locomotive/mounter/reader/api/pages_reader.rb +7 -5
- data/lib/locomotive/mounter/reader/file_system/content_assets_reader.rb +4 -2
- data/lib/locomotive/mounter/reader/file_system/snippets_reader.rb +1 -1
- data/lib/locomotive/mounter/utils/string.rb +5 -4
- data/lib/locomotive/mounter/version.rb +1 -1
- data/lib/locomotive/mounter/writer/api/content_entries_writer.rb +13 -11
- metadata +60 -5
- checksums.yaml +0 -15
@@ -1,3 +1,5 @@
|
|
1
|
+
require 'uri'
|
2
|
+
|
1
3
|
module Locomotive
|
2
4
|
module Mounter
|
3
5
|
|
@@ -18,7 +20,9 @@ module Locomotive
|
|
18
20
|
def self.set_token(*args)
|
19
21
|
_credentials = self.credentials(args)
|
20
22
|
|
21
|
-
|
23
|
+
uri = URI _credentials.delete(:uri)
|
24
|
+
self.base_uri uri.to_s
|
25
|
+
self.basic_auth uri.user, uri.password if uri.userinfo
|
22
26
|
|
23
27
|
response = post('/tokens.json', body: _credentials) #{ email: email, password: password })
|
24
28
|
|
@@ -32,6 +36,7 @@ module Locomotive
|
|
32
36
|
|
33
37
|
def self.teardown
|
34
38
|
Locomotive::Mounter::EngineApi.default_options[:base_uri] = nil
|
39
|
+
Locomotive::Mounter::EngineApi.default_options[:base_auth] = nil
|
35
40
|
Locomotive::Mounter::EngineApi.default_options[:default_params] = {}
|
36
41
|
end
|
37
42
|
|
@@ -12,7 +12,6 @@ module Locomotive
|
|
12
12
|
field :position, default: 0
|
13
13
|
field :required, default: false
|
14
14
|
field :localized, default: false
|
15
|
-
field :class_slug
|
16
15
|
|
17
16
|
# text
|
18
17
|
field :text_formatting
|
@@ -21,7 +20,8 @@ module Locomotive
|
|
21
20
|
field :select_options, type: :array, class_name: 'Locomotive::Mounter::Models::ContentSelectOption'
|
22
21
|
|
23
22
|
# relationships: belongs_to, has_many, many_to_many
|
24
|
-
field :
|
23
|
+
field :class_slug # out
|
24
|
+
field :class_name # in
|
25
25
|
field :inverse_of
|
26
26
|
field :order_by
|
27
27
|
field :ui_enabled
|
@@ -64,6 +64,16 @@ module Locomotive
|
|
64
64
|
end
|
65
65
|
end
|
66
66
|
|
67
|
+
# Set directly the content type matching the class_name.
|
68
|
+
#
|
69
|
+
# @param [ Object ] The matching Content Type
|
70
|
+
#
|
71
|
+
def klass=(content_type)
|
72
|
+
if self.class_name == content_type.slug
|
73
|
+
@klass = content_type
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
67
77
|
# Find a select option by its name IN the current locale.
|
68
78
|
#
|
69
79
|
# @param [ String / Symbol] name_or_id Name or Id of the option
|
@@ -29,7 +29,7 @@ module Locomotive
|
|
29
29
|
field :editable_elements, type: :array, class_name: 'Locomotive::Mounter::Models::EditableElement'
|
30
30
|
|
31
31
|
## other accessors ##
|
32
|
-
attr_accessor :content_type_id, :parent_id, :children
|
32
|
+
attr_accessor :content_type_id, :content_entry, :parent_id, :children
|
33
33
|
|
34
34
|
## aliases ##
|
35
35
|
alias :listed? :listed
|
@@ -19,8 +19,6 @@ module Locomotive
|
|
19
19
|
def read
|
20
20
|
self.fetch
|
21
21
|
|
22
|
-
self.resolve_relationships
|
23
|
-
|
24
22
|
self.items
|
25
23
|
end
|
26
24
|
|
@@ -59,8 +57,6 @@ module Locomotive
|
|
59
57
|
def add(content_type, attributes)
|
60
58
|
_attributes = self.filter_attributes(content_type, attributes)
|
61
59
|
|
62
|
-
# puts "_attributes = #{_attributes.inspect}" # DEBUG
|
63
|
-
|
64
60
|
entry = content_type.build_entry(_attributes)
|
65
61
|
|
66
62
|
key = File.join(content_type.slug, entry._slug)
|
@@ -90,10 +86,7 @@ module Locomotive
|
|
90
86
|
original_attributes["formatted_#{field.name}"]
|
91
87
|
when :file
|
92
88
|
retrieve_file_path(content_type, field, original_attributes)
|
93
|
-
when :
|
94
|
-
# push a relationship in the waiting line in order to be resolved at last
|
95
|
-
target_field_name = field.type == :belongs_to ? "#{field.name}_id" : "#{field.name}_ids"
|
96
|
-
self.relationships << { id: attributes['_id'], field: field.name, target_ids: original_attributes[target_field_name] }
|
89
|
+
when :has_many
|
97
90
|
nil
|
98
91
|
else
|
99
92
|
# :string, :boolean, :email, :integer, :float, :tags
|
@@ -106,22 +99,6 @@ module Locomotive
|
|
106
99
|
attributes
|
107
100
|
end
|
108
101
|
|
109
|
-
# Some entries have what it is called "relationships" field
|
110
|
-
# which can be only resolved once all the entries have been fetched
|
111
|
-
#
|
112
|
-
def resolve_relationships
|
113
|
-
self.relationships.each do |relationship|
|
114
|
-
source_entry, target_ids = self.ids[relationship[:id]], relationship[:target_ids]
|
115
|
-
|
116
|
-
target_entries = self.ids.select { |k, _| [*target_ids].include?(k) }.values
|
117
|
-
|
118
|
-
# single entry (belongs_to) or an array (many_to_many) ?
|
119
|
-
target_entries = target_entries.first unless target_ids.is_a?(Array)
|
120
|
-
|
121
|
-
source_entry.send(:"#{relationship[:field]}=", target_entries)
|
122
|
-
end
|
123
|
-
end
|
124
|
-
|
125
102
|
# For a given content, parse it and replace all the urls from content assets
|
126
103
|
# by their corresponding locale ones.
|
127
104
|
#
|
@@ -56,8 +56,8 @@ module Locomotive
|
|
56
56
|
self.items.each do |_, content_type|
|
57
57
|
content_type.fields.find_all(&:is_relationship?).each do |field|
|
58
58
|
# look for the target content type from its slug
|
59
|
-
|
60
|
-
field.
|
59
|
+
field.class_name = field.class_slug
|
60
|
+
field.klass = self.items[field.class_slug]
|
61
61
|
end
|
62
62
|
end
|
63
63
|
end
|
@@ -146,11 +146,13 @@ module Locomotive
|
|
146
146
|
list.map do |attributes|
|
147
147
|
type = attributes['type']
|
148
148
|
attributes.keep_if { |k, _| %w(_id block slug content).include?(k) }.tap do |hash|
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
149
|
+
unless hash['content'].blank?
|
150
|
+
if type == 'EditableFile'
|
151
|
+
hash['content'] = self.add_content_asset(hash['content'], '/samples/pages')
|
152
|
+
else
|
153
|
+
self.mounting_point.content_assets.each do |path, asset|
|
154
|
+
hash['content'].gsub!(path, asset.local_filepath)
|
155
|
+
end
|
154
156
|
end
|
155
157
|
end
|
156
158
|
end
|
@@ -43,11 +43,13 @@ module Locomotive
|
|
43
43
|
Locomotive::Mounter.with_locale(locale) do
|
44
44
|
# get the string, text, file fields...
|
45
45
|
content_entry.content_type.fields.each do |field|
|
46
|
+
value = content_entry.dynamic_getter(field.name)
|
47
|
+
|
46
48
|
case field.type.to_sym
|
47
49
|
when :string, :text
|
48
|
-
self.add_assets_from_string(
|
50
|
+
self.add_assets_from_string(value)
|
49
51
|
when :file
|
50
|
-
self.add_assets_from_string(
|
52
|
+
self.add_assets_from_string(value['url']) if value
|
51
53
|
end
|
52
54
|
end
|
53
55
|
end
|
@@ -4,12 +4,13 @@
|
|
4
4
|
|
5
5
|
class String #:nodoc
|
6
6
|
|
7
|
-
def permalink
|
8
|
-
self.to_ascii.parameterize
|
7
|
+
def permalink(underscore = false)
|
8
|
+
permalink = self.to_ascii.parameterize
|
9
|
+
underscore ? permalink.underscore : permalink
|
9
10
|
end
|
10
11
|
|
11
|
-
def permalink!
|
12
|
-
replace(self.permalink)
|
12
|
+
def permalink!(underscore = false)
|
13
|
+
replace(self.permalink(underscore))
|
13
14
|
end
|
14
15
|
|
15
16
|
alias :parameterize! :permalink!
|
@@ -161,7 +161,7 @@ module Locomotive
|
|
161
161
|
self.mounting_point.content_types
|
162
162
|
end
|
163
163
|
|
164
|
-
# Take a content entry and get the params related to that content
|
164
|
+
# Take a content entry and get the params related to that content entry.
|
165
165
|
#
|
166
166
|
# @param [ Object ] entry The content entry
|
167
167
|
#
|
@@ -171,17 +171,19 @@ module Locomotive
|
|
171
171
|
params = entry.to_params
|
172
172
|
|
173
173
|
entry.each_dynamic_field do |field, value|
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
174
|
+
unless field.is_relationship?
|
175
|
+
case field.type.to_sym
|
176
|
+
when :string, :text
|
177
|
+
params[field.name] = self.replace_content_assets!(value)
|
178
|
+
when :file
|
179
|
+
if value =~ %r($http://)
|
180
|
+
params[field.name] = value
|
181
|
+
elsif value && self.mounting_point.path
|
182
|
+
path = File.join(self.mounting_point.path, 'public', value)
|
183
|
+
params[field.name] = File.new(path)
|
184
|
+
end
|
185
|
+
else
|
181
186
|
params[field.name] = value
|
182
|
-
elsif value && self.mounting_point.path
|
183
|
-
path = File.join(self.mounting_point.path, 'public', value)
|
184
|
-
params[field.name] = File.new(path)
|
185
187
|
end
|
186
188
|
end
|
187
189
|
end
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: locomotivecms_mounter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Didier Lafforgue
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-07-07 00:00:00.000000000 Z
|
12
13
|
dependencies:
|
13
14
|
- !ruby/object:Gem::Dependency
|
14
15
|
name: tilt
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
16
18
|
requirements:
|
17
19
|
- - '='
|
18
20
|
- !ruby/object:Gem::Version
|
@@ -20,6 +22,7 @@ dependencies:
|
|
20
22
|
type: :runtime
|
21
23
|
prerelease: false
|
22
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
23
26
|
requirements:
|
24
27
|
- - '='
|
25
28
|
- !ruby/object:Gem::Version
|
@@ -27,6 +30,7 @@ dependencies:
|
|
27
30
|
- !ruby/object:Gem::Dependency
|
28
31
|
name: haml
|
29
32
|
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
30
34
|
requirements:
|
31
35
|
- - '='
|
32
36
|
- !ruby/object:Gem::Version
|
@@ -34,6 +38,7 @@ dependencies:
|
|
34
38
|
type: :runtime
|
35
39
|
prerelease: false
|
36
40
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
37
42
|
requirements:
|
38
43
|
- - '='
|
39
44
|
- !ruby/object:Gem::Version
|
@@ -41,6 +46,7 @@ dependencies:
|
|
41
46
|
- !ruby/object:Gem::Dependency
|
42
47
|
name: sass
|
43
48
|
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
44
50
|
requirements:
|
45
51
|
- - ~>
|
46
52
|
- !ruby/object:Gem::Version
|
@@ -48,6 +54,7 @@ dependencies:
|
|
48
54
|
type: :runtime
|
49
55
|
prerelease: false
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
@@ -55,6 +62,7 @@ dependencies:
|
|
55
62
|
- !ruby/object:Gem::Dependency
|
56
63
|
name: compass
|
57
64
|
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
58
66
|
requirements:
|
59
67
|
- - ~>
|
60
68
|
- !ruby/object:Gem::Version
|
@@ -62,6 +70,7 @@ dependencies:
|
|
62
70
|
type: :runtime
|
63
71
|
prerelease: false
|
64
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
65
74
|
requirements:
|
66
75
|
- - ~>
|
67
76
|
- !ruby/object:Gem::Version
|
@@ -69,6 +78,7 @@ dependencies:
|
|
69
78
|
- !ruby/object:Gem::Dependency
|
70
79
|
name: coffee-script
|
71
80
|
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
72
82
|
requirements:
|
73
83
|
- - ~>
|
74
84
|
- !ruby/object:Gem::Version
|
@@ -76,6 +86,7 @@ dependencies:
|
|
76
86
|
type: :runtime
|
77
87
|
prerelease: false
|
78
88
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
+
none: false
|
79
90
|
requirements:
|
80
91
|
- - ~>
|
81
92
|
- !ruby/object:Gem::Version
|
@@ -83,6 +94,7 @@ dependencies:
|
|
83
94
|
- !ruby/object:Gem::Dependency
|
84
95
|
name: less
|
85
96
|
requirement: !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
86
98
|
requirements:
|
87
99
|
- - ~>
|
88
100
|
- !ruby/object:Gem::Version
|
@@ -90,6 +102,7 @@ dependencies:
|
|
90
102
|
type: :runtime
|
91
103
|
prerelease: false
|
92
104
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
+
none: false
|
93
106
|
requirements:
|
94
107
|
- - ~>
|
95
108
|
- !ruby/object:Gem::Version
|
@@ -97,6 +110,7 @@ dependencies:
|
|
97
110
|
- !ruby/object:Gem::Dependency
|
98
111
|
name: RedCloth
|
99
112
|
requirement: !ruby/object:Gem::Requirement
|
113
|
+
none: false
|
100
114
|
requirements:
|
101
115
|
- - ~>
|
102
116
|
- !ruby/object:Gem::Version
|
@@ -104,6 +118,7 @@ dependencies:
|
|
104
118
|
type: :runtime
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
107
122
|
requirements:
|
108
123
|
- - ~>
|
109
124
|
- !ruby/object:Gem::Version
|
@@ -111,6 +126,7 @@ dependencies:
|
|
111
126
|
- !ruby/object:Gem::Dependency
|
112
127
|
name: activesupport
|
113
128
|
requirement: !ruby/object:Gem::Requirement
|
129
|
+
none: false
|
114
130
|
requirements:
|
115
131
|
- - ~>
|
116
132
|
- !ruby/object:Gem::Version
|
@@ -118,6 +134,7 @@ dependencies:
|
|
118
134
|
type: :runtime
|
119
135
|
prerelease: false
|
120
136
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
121
138
|
requirements:
|
122
139
|
- - ~>
|
123
140
|
- !ruby/object:Gem::Version
|
@@ -125,6 +142,7 @@ dependencies:
|
|
125
142
|
- !ruby/object:Gem::Dependency
|
126
143
|
name: i18n
|
127
144
|
requirement: !ruby/object:Gem::Requirement
|
145
|
+
none: false
|
128
146
|
requirements:
|
129
147
|
- - ~>
|
130
148
|
- !ruby/object:Gem::Version
|
@@ -132,6 +150,7 @@ dependencies:
|
|
132
150
|
type: :runtime
|
133
151
|
prerelease: false
|
134
152
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
135
154
|
requirements:
|
136
155
|
- - ~>
|
137
156
|
- !ruby/object:Gem::Version
|
@@ -139,6 +158,7 @@ dependencies:
|
|
139
158
|
- !ruby/object:Gem::Dependency
|
140
159
|
name: stringex
|
141
160
|
requirement: !ruby/object:Gem::Requirement
|
161
|
+
none: false
|
142
162
|
requirements:
|
143
163
|
- - ~>
|
144
164
|
- !ruby/object:Gem::Version
|
@@ -146,6 +166,7 @@ dependencies:
|
|
146
166
|
type: :runtime
|
147
167
|
prerelease: false
|
148
168
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
+
none: false
|
149
170
|
requirements:
|
150
171
|
- - ~>
|
151
172
|
- !ruby/object:Gem::Version
|
@@ -153,6 +174,7 @@ dependencies:
|
|
153
174
|
- !ruby/object:Gem::Dependency
|
154
175
|
name: multi_json
|
155
176
|
requirement: !ruby/object:Gem::Requirement
|
177
|
+
none: false
|
156
178
|
requirements:
|
157
179
|
- - ~>
|
158
180
|
- !ruby/object:Gem::Version
|
@@ -160,6 +182,7 @@ dependencies:
|
|
160
182
|
type: :runtime
|
161
183
|
prerelease: false
|
162
184
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
+
none: false
|
163
186
|
requirements:
|
164
187
|
- - ~>
|
165
188
|
- !ruby/object:Gem::Version
|
@@ -167,6 +190,7 @@ dependencies:
|
|
167
190
|
- !ruby/object:Gem::Dependency
|
168
191
|
name: httmultiparty
|
169
192
|
requirement: !ruby/object:Gem::Requirement
|
193
|
+
none: false
|
170
194
|
requirements:
|
171
195
|
- - '='
|
172
196
|
- !ruby/object:Gem::Version
|
@@ -174,6 +198,7 @@ dependencies:
|
|
174
198
|
type: :runtime
|
175
199
|
prerelease: false
|
176
200
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
+
none: false
|
177
202
|
requirements:
|
178
203
|
- - '='
|
179
204
|
- !ruby/object:Gem::Version
|
@@ -181,6 +206,7 @@ dependencies:
|
|
181
206
|
- !ruby/object:Gem::Dependency
|
182
207
|
name: json
|
183
208
|
requirement: !ruby/object:Gem::Requirement
|
209
|
+
none: false
|
184
210
|
requirements:
|
185
211
|
- - ~>
|
186
212
|
- !ruby/object:Gem::Version
|
@@ -188,6 +214,7 @@ dependencies:
|
|
188
214
|
type: :runtime
|
189
215
|
prerelease: false
|
190
216
|
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
none: false
|
191
218
|
requirements:
|
192
219
|
- - ~>
|
193
220
|
- !ruby/object:Gem::Version
|
@@ -195,6 +222,7 @@ dependencies:
|
|
195
222
|
- !ruby/object:Gem::Dependency
|
196
223
|
name: mime-types
|
197
224
|
requirement: !ruby/object:Gem::Requirement
|
225
|
+
none: false
|
198
226
|
requirements:
|
199
227
|
- - ~>
|
200
228
|
- !ruby/object:Gem::Version
|
@@ -202,6 +230,7 @@ dependencies:
|
|
202
230
|
type: :runtime
|
203
231
|
prerelease: false
|
204
232
|
version_requirements: !ruby/object:Gem::Requirement
|
233
|
+
none: false
|
205
234
|
requirements:
|
206
235
|
- - ~>
|
207
236
|
- !ruby/object:Gem::Version
|
@@ -209,6 +238,7 @@ dependencies:
|
|
209
238
|
- !ruby/object:Gem::Dependency
|
210
239
|
name: zip
|
211
240
|
requirement: !ruby/object:Gem::Requirement
|
241
|
+
none: false
|
212
242
|
requirements:
|
213
243
|
- - ~>
|
214
244
|
- !ruby/object:Gem::Version
|
@@ -216,6 +246,7 @@ dependencies:
|
|
216
246
|
type: :runtime
|
217
247
|
prerelease: false
|
218
248
|
version_requirements: !ruby/object:Gem::Requirement
|
249
|
+
none: false
|
219
250
|
requirements:
|
220
251
|
- - ~>
|
221
252
|
- !ruby/object:Gem::Version
|
@@ -223,6 +254,7 @@ dependencies:
|
|
223
254
|
- !ruby/object:Gem::Dependency
|
224
255
|
name: colorize
|
225
256
|
requirement: !ruby/object:Gem::Requirement
|
257
|
+
none: false
|
226
258
|
requirements:
|
227
259
|
- - ~>
|
228
260
|
- !ruby/object:Gem::Version
|
@@ -230,6 +262,7 @@ dependencies:
|
|
230
262
|
type: :runtime
|
231
263
|
prerelease: false
|
232
264
|
version_requirements: !ruby/object:Gem::Requirement
|
265
|
+
none: false
|
233
266
|
requirements:
|
234
267
|
- - ~>
|
235
268
|
- !ruby/object:Gem::Version
|
@@ -237,6 +270,7 @@ dependencies:
|
|
237
270
|
- !ruby/object:Gem::Dependency
|
238
271
|
name: logger
|
239
272
|
requirement: !ruby/object:Gem::Requirement
|
273
|
+
none: false
|
240
274
|
requirements:
|
241
275
|
- - ! '>='
|
242
276
|
- !ruby/object:Gem::Version
|
@@ -244,6 +278,7 @@ dependencies:
|
|
244
278
|
type: :runtime
|
245
279
|
prerelease: false
|
246
280
|
version_requirements: !ruby/object:Gem::Requirement
|
281
|
+
none: false
|
247
282
|
requirements:
|
248
283
|
- - ! '>='
|
249
284
|
- !ruby/object:Gem::Version
|
@@ -251,6 +286,7 @@ dependencies:
|
|
251
286
|
- !ruby/object:Gem::Dependency
|
252
287
|
name: rake
|
253
288
|
requirement: !ruby/object:Gem::Requirement
|
289
|
+
none: false
|
254
290
|
requirements:
|
255
291
|
- - '='
|
256
292
|
- !ruby/object:Gem::Version
|
@@ -258,6 +294,7 @@ dependencies:
|
|
258
294
|
type: :development
|
259
295
|
prerelease: false
|
260
296
|
version_requirements: !ruby/object:Gem::Requirement
|
297
|
+
none: false
|
261
298
|
requirements:
|
262
299
|
- - '='
|
263
300
|
- !ruby/object:Gem::Version
|
@@ -265,6 +302,7 @@ dependencies:
|
|
265
302
|
- !ruby/object:Gem::Dependency
|
266
303
|
name: rspec
|
267
304
|
requirement: !ruby/object:Gem::Requirement
|
305
|
+
none: false
|
268
306
|
requirements:
|
269
307
|
- - ~>
|
270
308
|
- !ruby/object:Gem::Version
|
@@ -272,6 +310,7 @@ dependencies:
|
|
272
310
|
type: :development
|
273
311
|
prerelease: false
|
274
312
|
version_requirements: !ruby/object:Gem::Requirement
|
313
|
+
none: false
|
275
314
|
requirements:
|
276
315
|
- - ~>
|
277
316
|
- !ruby/object:Gem::Version
|
@@ -279,6 +318,7 @@ dependencies:
|
|
279
318
|
- !ruby/object:Gem::Dependency
|
280
319
|
name: mocha
|
281
320
|
requirement: !ruby/object:Gem::Requirement
|
321
|
+
none: false
|
282
322
|
requirements:
|
283
323
|
- - '='
|
284
324
|
- !ruby/object:Gem::Version
|
@@ -286,6 +326,7 @@ dependencies:
|
|
286
326
|
type: :development
|
287
327
|
prerelease: false
|
288
328
|
version_requirements: !ruby/object:Gem::Requirement
|
329
|
+
none: false
|
289
330
|
requirements:
|
290
331
|
- - '='
|
291
332
|
- !ruby/object:Gem::Version
|
@@ -293,6 +334,7 @@ dependencies:
|
|
293
334
|
- !ruby/object:Gem::Dependency
|
294
335
|
name: rack-test
|
295
336
|
requirement: !ruby/object:Gem::Requirement
|
337
|
+
none: false
|
296
338
|
requirements:
|
297
339
|
- - ~>
|
298
340
|
- !ruby/object:Gem::Version
|
@@ -300,6 +342,7 @@ dependencies:
|
|
300
342
|
type: :development
|
301
343
|
prerelease: false
|
302
344
|
version_requirements: !ruby/object:Gem::Requirement
|
345
|
+
none: false
|
303
346
|
requirements:
|
304
347
|
- - ~>
|
305
348
|
- !ruby/object:Gem::Version
|
@@ -307,6 +350,7 @@ dependencies:
|
|
307
350
|
- !ruby/object:Gem::Dependency
|
308
351
|
name: ruby-debug-wrapper
|
309
352
|
requirement: !ruby/object:Gem::Requirement
|
353
|
+
none: false
|
310
354
|
requirements:
|
311
355
|
- - ~>
|
312
356
|
- !ruby/object:Gem::Version
|
@@ -314,6 +358,7 @@ dependencies:
|
|
314
358
|
type: :development
|
315
359
|
prerelease: false
|
316
360
|
version_requirements: !ruby/object:Gem::Requirement
|
361
|
+
none: false
|
317
362
|
requirements:
|
318
363
|
- - ~>
|
319
364
|
- !ruby/object:Gem::Version
|
@@ -321,6 +366,7 @@ dependencies:
|
|
321
366
|
- !ruby/object:Gem::Dependency
|
322
367
|
name: vcr
|
323
368
|
requirement: !ruby/object:Gem::Requirement
|
369
|
+
none: false
|
324
370
|
requirements:
|
325
371
|
- - '='
|
326
372
|
- !ruby/object:Gem::Version
|
@@ -328,6 +374,7 @@ dependencies:
|
|
328
374
|
type: :development
|
329
375
|
prerelease: false
|
330
376
|
version_requirements: !ruby/object:Gem::Requirement
|
377
|
+
none: false
|
331
378
|
requirements:
|
332
379
|
- - '='
|
333
380
|
- !ruby/object:Gem::Version
|
@@ -335,6 +382,7 @@ dependencies:
|
|
335
382
|
- !ruby/object:Gem::Dependency
|
336
383
|
name: therubyracer
|
337
384
|
requirement: !ruby/object:Gem::Requirement
|
385
|
+
none: false
|
338
386
|
requirements:
|
339
387
|
- - ~>
|
340
388
|
- !ruby/object:Gem::Version
|
@@ -342,6 +390,7 @@ dependencies:
|
|
342
390
|
type: :development
|
343
391
|
prerelease: false
|
344
392
|
version_requirements: !ruby/object:Gem::Requirement
|
393
|
+
none: false
|
345
394
|
requirements:
|
346
395
|
- - ~>
|
347
396
|
- !ruby/object:Gem::Version
|
@@ -349,6 +398,7 @@ dependencies:
|
|
349
398
|
- !ruby/object:Gem::Dependency
|
350
399
|
name: webmock
|
351
400
|
requirement: !ruby/object:Gem::Requirement
|
401
|
+
none: false
|
352
402
|
requirements:
|
353
403
|
- - '='
|
354
404
|
- !ruby/object:Gem::Version
|
@@ -356,6 +406,7 @@ dependencies:
|
|
356
406
|
type: :development
|
357
407
|
prerelease: false
|
358
408
|
version_requirements: !ruby/object:Gem::Requirement
|
409
|
+
none: false
|
359
410
|
requirements:
|
360
411
|
- - '='
|
361
412
|
- !ruby/object:Gem::Version
|
@@ -440,25 +491,29 @@ files:
|
|
440
491
|
- lib/locomotive/mounter.rb
|
441
492
|
homepage: http://www.locomotivecms.com
|
442
493
|
licenses: []
|
443
|
-
metadata: {}
|
444
494
|
post_install_message:
|
445
495
|
rdoc_options: []
|
446
496
|
require_paths:
|
447
497
|
- lib
|
448
498
|
required_ruby_version: !ruby/object:Gem::Requirement
|
499
|
+
none: false
|
449
500
|
requirements:
|
450
501
|
- - ! '>='
|
451
502
|
- !ruby/object:Gem::Version
|
452
503
|
version: '0'
|
504
|
+
segments:
|
505
|
+
- 0
|
506
|
+
hash: 2524146150368987271
|
453
507
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
508
|
+
none: false
|
454
509
|
requirements:
|
455
510
|
- - ! '>='
|
456
511
|
- !ruby/object:Gem::Version
|
457
512
|
version: 1.3.6
|
458
513
|
requirements: []
|
459
514
|
rubyforge_project: locomotivecms_mounter
|
460
|
-
rubygems_version:
|
515
|
+
rubygems_version: 1.8.23
|
461
516
|
signing_key:
|
462
|
-
specification_version:
|
517
|
+
specification_version: 3
|
463
518
|
summary: LocomotiveCMS Mounter
|
464
519
|
test_files: []
|
checksums.yaml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
---
|
2
|
-
!binary "U0hBMQ==":
|
3
|
-
metadata.gz: !binary |-
|
4
|
-
M2M1YjM0MTBkNjA5MmRiZmIyNzUyMTEyNjY1ZDE2M2MwMzg1NDk5OQ==
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
ZDA2MzhmMzA3NTdjZDIxNTk3ZmVmNDIzN2M1ZTAwNzNlMmVkNDI2ZQ==
|
7
|
-
!binary "U0hBNTEy":
|
8
|
-
metadata.gz: !binary |-
|
9
|
-
ZTRjOGE0OTBiNWEyYzM4Yjg2OGFkMjg2YjZmNGY0MDQ2ZGUxMmM5ZmFmODIz
|
10
|
-
MzFiMDU2MzExODE2OGE2NmYyZGMyYjU3MmM4NzhkNjMxODFjOGRkN2FjZmJl
|
11
|
-
NjdiNzllNWQzNzBkMDkzNzU4OGZkNjk4NjY5YzE5MDg4YTc4YjM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
M2UzZjczZWIxYjMxYmM0OTA1ZDAwYWYxNzVhMDFmYTYwZWQxMDNlMzA0M2M3
|
14
|
-
MGVmZDAzMDI4MmRmYTgzZTY0OWNmNjU2NWZkMzI3YTVkOGIxOTkzZWU2ZmZl
|
15
|
-
OTQyZjkxYzNlM2RmYTkxMDQyODA1NzQ2ZDhiNWQ0OWUzNTVkNWE=
|