maglove 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +55 -45
- data/lib/magloft/remote_resource.rb +2 -2
- data/lib/maglove/version.rb +1 -1
- data/maglove.gemspec +1 -2
- metadata +4 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed0dfafb52499fff8bb6eda0085a9877fe650316
|
4
|
+
data.tar.gz: 4d67410451a3461736d87fc70a7fcb15134a38e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 813b521d3b8b84cdbfdc4af7fd61dcc8d8cb8b099106f9903be737625c5149ff8c22ce37a0e1d494aafec74d40dc9254bba12ba0f01ec2acc46d27ba2414b00f
|
7
|
+
data.tar.gz: 8fef0d7e6fbf632ca5a277dfec226156af462e22aceab9a850bdba493702625e7799a5e7327ae989907313edd5159c2006d779abad5d8c4ef6377fa41a62cf48
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
maglove (2.0.
|
4
|
+
maglove (2.0.1)
|
5
5
|
actionpack (>= 4.0)
|
6
6
|
activesupport (>= 4.0)
|
7
7
|
bundler (~> 1.10)
|
@@ -12,8 +12,7 @@ PATH
|
|
12
12
|
dialers (~> 0.2)
|
13
13
|
faye (~> 1.2)
|
14
14
|
filewatcher (~> 0.5)
|
15
|
-
|
16
|
-
hamloft (~> 0.2.4)
|
15
|
+
hamloft (~> 0.2.6)
|
17
16
|
image_optim (~> 0.21)
|
18
17
|
image_optim_pack (~> 0.2)
|
19
18
|
less (~> 2.6)
|
@@ -32,20 +31,20 @@ PATH
|
|
32
31
|
GEM
|
33
32
|
remote: https://rubygems.org/
|
34
33
|
specs:
|
35
|
-
actionpack (5.
|
36
|
-
actionview (= 5.
|
37
|
-
activesupport (= 5.
|
34
|
+
actionpack (5.1.3)
|
35
|
+
actionview (= 5.1.3)
|
36
|
+
activesupport (= 5.1.3)
|
38
37
|
rack (~> 2.0)
|
39
38
|
rack-test (~> 0.6.3)
|
40
39
|
rails-dom-testing (~> 2.0)
|
41
40
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
42
|
-
actionview (5.
|
43
|
-
activesupport (= 5.
|
41
|
+
actionview (5.1.3)
|
42
|
+
activesupport (= 5.1.3)
|
44
43
|
builder (~> 3.1)
|
45
|
-
|
44
|
+
erubi (~> 1.4)
|
46
45
|
rails-dom-testing (~> 2.0)
|
47
46
|
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
48
|
-
activesupport (5.
|
47
|
+
activesupport (5.1.3)
|
49
48
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
50
49
|
i18n (~> 0.7)
|
51
50
|
minitest (~> 5.1)
|
@@ -54,7 +53,7 @@ GEM
|
|
54
53
|
public_suffix (~> 2.0, >= 2.0.2)
|
55
54
|
ast (2.3.0)
|
56
55
|
builder (3.2.3)
|
57
|
-
closure-compiler (1.1.
|
56
|
+
closure-compiler (1.1.13)
|
58
57
|
coffee-script (2.4.1)
|
59
58
|
coffee-script-source
|
60
59
|
execjs
|
@@ -77,17 +76,17 @@ GEM
|
|
77
76
|
http_parser.rb (>= 0.6.0)
|
78
77
|
em-socksify (0.3.1)
|
79
78
|
eventmachine (>= 1.0.0.beta.4)
|
80
|
-
|
79
|
+
erubi (1.6.1)
|
81
80
|
ethon (0.10.1)
|
82
81
|
ffi (>= 1.3.0)
|
83
|
-
eventmachine (1.2.
|
82
|
+
eventmachine (1.2.5)
|
84
83
|
execjs (2.7.0)
|
85
|
-
exifr (1.
|
86
|
-
faraday (0.
|
84
|
+
exifr (1.3.1)
|
85
|
+
faraday (0.13.1)
|
87
86
|
multipart-post (>= 1.2, < 3)
|
88
87
|
faraday-conductivity (0.3.1)
|
89
88
|
faraday (~> 0.8)
|
90
|
-
faraday_middleware (0.
|
89
|
+
faraday_middleware (0.12.2)
|
91
90
|
faraday (>= 0.7.4, < 1.0)
|
92
91
|
faye (1.2.4)
|
93
92
|
cookiejar (>= 0.3.0)
|
@@ -104,20 +103,21 @@ GEM
|
|
104
103
|
filewatcher (0.5.4)
|
105
104
|
trollop (~> 2.0)
|
106
105
|
fspath (3.1.0)
|
107
|
-
haml (
|
106
|
+
haml (5.0.2)
|
107
|
+
temple (>= 0.8.0)
|
108
108
|
tilt
|
109
|
-
hamloft (0.2.
|
110
|
-
haml (~>
|
111
|
-
nokogiri (~> 1.
|
109
|
+
hamloft (0.2.6)
|
110
|
+
haml (~> 5.0)
|
111
|
+
nokogiri (~> 1.8)
|
112
112
|
http_parser.rb (0.6.0)
|
113
|
-
i18n (0.8.
|
114
|
-
image_optim (0.
|
113
|
+
i18n (0.8.6)
|
114
|
+
image_optim (0.25.0)
|
115
115
|
exifr (~> 1.2, >= 1.2.2)
|
116
116
|
fspath (~> 3.0)
|
117
117
|
image_size (~> 1.5)
|
118
118
|
in_threads (~> 1.3)
|
119
119
|
progress (~> 3.0, >= 3.0.1)
|
120
|
-
image_optim_pack (0.
|
120
|
+
image_optim_pack (0.5.0.20170815-x86_64-darwin)
|
121
121
|
fspath (>= 2.1, < 4)
|
122
122
|
image_optim (~> 0.19)
|
123
123
|
image_size (1.5.0)
|
@@ -131,56 +131,66 @@ GEM
|
|
131
131
|
multi_json (~> 1.10)
|
132
132
|
loofah (2.0.3)
|
133
133
|
nokogiri (>= 1.5.9)
|
134
|
-
maglove-widgets (2.0.
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
mini_portile2 (2.1.0)
|
139
|
-
minitest (5.10.1)
|
134
|
+
maglove-widgets (2.0.1)
|
135
|
+
hamloft (~> 0.2.6)
|
136
|
+
mini_portile2 (2.2.0)
|
137
|
+
minitest (5.10.3)
|
140
138
|
multi_json (1.12.1)
|
141
139
|
multipart-post (2.0.0)
|
142
|
-
nokogiri (1.
|
143
|
-
mini_portile2 (~> 2.
|
140
|
+
nokogiri (1.8.0)
|
141
|
+
mini_portile2 (~> 2.2.0)
|
144
142
|
open_uri_redirections (0.2.1)
|
145
|
-
|
143
|
+
parallel (1.12.0)
|
144
|
+
parser (2.4.0.0)
|
146
145
|
ast (~> 2.2)
|
147
146
|
powerpack (0.1.1)
|
148
147
|
progress (3.3.1)
|
149
148
|
public_suffix (2.0.5)
|
150
|
-
puma (3.
|
151
|
-
rack (2.0.
|
149
|
+
puma (3.10.0)
|
150
|
+
rack (2.0.3)
|
152
151
|
rack-test (0.6.3)
|
153
152
|
rack (>= 1.0)
|
154
|
-
rails-dom-testing (2.0.
|
155
|
-
activesupport (>= 4.2.0
|
156
|
-
nokogiri (
|
153
|
+
rails-dom-testing (2.0.3)
|
154
|
+
activesupport (>= 4.2.0)
|
155
|
+
nokogiri (>= 1.6)
|
157
156
|
rails-html-sanitizer (1.0.3)
|
158
157
|
loofah (~> 2.0)
|
159
|
-
rainbow (2.
|
158
|
+
rainbow (2.2.2)
|
159
|
+
rake
|
160
|
+
rake (12.0.0)
|
161
|
+
rb-fsevent (0.10.2)
|
162
|
+
rb-inotify (0.9.10)
|
163
|
+
ffi (>= 0.5.0, < 2)
|
160
164
|
ref (2.0.0)
|
161
|
-
rubocop (0.
|
162
|
-
|
165
|
+
rubocop (0.49.1)
|
166
|
+
parallel (~> 1.10)
|
167
|
+
parser (>= 2.3.3.1, < 3.0)
|
163
168
|
powerpack (~> 0.1)
|
164
169
|
rainbow (>= 1.99.1, < 3.0)
|
165
170
|
ruby-progressbar (~> 1.7)
|
166
171
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
167
172
|
ruby-progressbar (1.8.1)
|
168
173
|
rubyzip (1.2.1)
|
169
|
-
sass (3.
|
174
|
+
sass (3.5.1)
|
175
|
+
sass-listen (~> 4.0.0)
|
170
176
|
sass-css-importer (1.0.0.beta.0)
|
171
177
|
sass (>= 3.1)
|
178
|
+
sass-listen (4.0.0)
|
179
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
180
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
181
|
+
temple (0.8.0)
|
172
182
|
therubyracer (0.12.3)
|
173
183
|
libv8 (~> 3.16.14.15)
|
174
184
|
ref
|
175
|
-
thor (0.
|
185
|
+
thor (0.20.0)
|
176
186
|
thread_safe (0.3.6)
|
177
187
|
tilt (1.4.1)
|
178
188
|
trollop (2.1.2)
|
179
|
-
typhoeus (1.
|
189
|
+
typhoeus (1.3.0)
|
180
190
|
ethon (>= 0.9.0)
|
181
191
|
tzinfo (1.2.3)
|
182
192
|
thread_safe (~> 0.1)
|
183
|
-
unicode-display_width (1.
|
193
|
+
unicode-display_width (1.3.0)
|
184
194
|
websocket-driver (0.6.5)
|
185
195
|
websocket-extensions (>= 0.1.0)
|
186
196
|
websocket-extensions (0.1.2)
|
@@ -193,4 +203,4 @@ DEPENDENCIES
|
|
193
203
|
rubocop (~> 0.32)
|
194
204
|
|
195
205
|
BUNDLED WITH
|
196
|
-
1.
|
206
|
+
1.15.1
|
@@ -5,7 +5,7 @@ module MagLoft
|
|
5
5
|
|
6
6
|
def initialize(attributes = {})
|
7
7
|
allowed_attributes = attributes.slice(*self.class.remote_attributes)
|
8
|
-
Dialers::AssignAttributes.call(self, allowed_attributes.
|
8
|
+
Dialers::AssignAttributes.call(self, allowed_attributes.except(:id))
|
9
9
|
end
|
10
10
|
|
11
11
|
def changed?
|
@@ -22,7 +22,7 @@ module MagLoft
|
|
22
22
|
if self.id.nil?
|
23
23
|
transformable = Api.client.api_caller.post(self.class.endpoint, self.changed_data)
|
24
24
|
else
|
25
|
-
transformable = Api.client.api_caller.put("#{self.class.endpoint}/#{self.id}", self.changed_data.
|
25
|
+
transformable = Api.client.api_caller.put("#{self.class.endpoint}/#{self.id}", self.changed_data.except(:id))
|
26
26
|
end
|
27
27
|
transformable.transform_to_existing(self)
|
28
28
|
self.clear_changed_data!
|
data/lib/maglove/version.rb
CHANGED
data/maglove.gemspec
CHANGED
@@ -14,9 +14,8 @@ Gem::Specification.new do |s|
|
|
14
14
|
s.description = "This gem contains development and built tools for creating MagLoft themes."
|
15
15
|
s.required_rubygems_version = '>= 2.4.7'
|
16
16
|
s.add_runtime_dependency "bundler", "~> 1.10"
|
17
|
-
s.add_runtime_dependency 'haml', "~> 4.0"
|
18
17
|
s.add_runtime_dependency "thor", "~> 0.19"
|
19
|
-
s.add_runtime_dependency 'hamloft', "~> 0.2.
|
18
|
+
s.add_runtime_dependency 'hamloft', "~> 0.2.6"
|
20
19
|
s.add_runtime_dependency "activesupport", ">= 4.0"
|
21
20
|
s.add_runtime_dependency "actionpack", ">= 4.0"
|
22
21
|
s.add_runtime_dependency "maglove-widgets", "~> 2.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: maglove
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Strebitzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -24,20 +24,6 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '1.10'
|
27
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: haml
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - "~>"
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '4.0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - "~>"
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '4.0'
|
41
27
|
- !ruby/object:Gem::Dependency
|
42
28
|
name: thor
|
43
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -58,14 +44,14 @@ dependencies:
|
|
58
44
|
requirements:
|
59
45
|
- - "~>"
|
60
46
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.2.
|
47
|
+
version: 0.2.6
|
62
48
|
type: :runtime
|
63
49
|
prerelease: false
|
64
50
|
version_requirements: !ruby/object:Gem::Requirement
|
65
51
|
requirements:
|
66
52
|
- - "~>"
|
67
53
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.2.
|
54
|
+
version: 0.2.6
|
69
55
|
- !ruby/object:Gem::Dependency
|
70
56
|
name: activesupport
|
71
57
|
requirement: !ruby/object:Gem::Requirement
|