maglove 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +76 -66
- data/lib/magloft/remote_resource.rb +2 -2
- data/lib/maglove/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4d5a3c324e83327c3bf047dc8e503b85bd5af46
|
4
|
+
data.tar.gz: 579efb0b3ee6e96c883e41ffc8982280306e75f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3bee68e727ac570f035022b4fc6ede686663a99803d7fe4b42e34a1ba1939a7d7c623cd357670675672e3f096a2c687c7407baba4c5df51a76409a53e7e0f8eb
|
7
|
+
data.tar.gz: 6b807be6860bed8b7f32f376539092e47de19dfa6df7ba6c8ed6fb997ecb46687d8af50335d162cc9843b67930279e3fd56e4b864b89c0c01971a5593891b83f
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
maglove (1.1.
|
4
|
+
maglove (1.1.2)
|
5
5
|
actionpack (>= 4.0)
|
6
6
|
activesupport (>= 4.0)
|
7
7
|
bundler (~> 1.10)
|
@@ -32,35 +32,35 @@ PATH
|
|
32
32
|
GEM
|
33
33
|
remote: https://rubygems.org/
|
34
34
|
specs:
|
35
|
-
actionpack (5.
|
36
|
-
actionview (= 5.
|
37
|
-
activesupport (= 5.
|
35
|
+
actionpack (5.1.2)
|
36
|
+
actionview (= 5.1.2)
|
37
|
+
activesupport (= 5.1.2)
|
38
38
|
rack (~> 2.0)
|
39
39
|
rack-test (~> 0.6.3)
|
40
40
|
rails-dom-testing (~> 2.0)
|
41
41
|
rails-html-sanitizer (~> 1.0, >= 1.0.2)
|
42
|
-
actionview (5.
|
43
|
-
activesupport (= 5.
|
42
|
+
actionview (5.1.2)
|
43
|
+
activesupport (= 5.1.2)
|
44
44
|
builder (~> 3.1)
|
45
|
-
|
45
|
+
erubi (~> 1.4)
|
46
46
|
rails-dom-testing (~> 2.0)
|
47
|
-
rails-html-sanitizer (~> 1.0, >= 1.0.
|
48
|
-
activesupport (5.
|
47
|
+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
|
48
|
+
activesupport (5.1.2)
|
49
49
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
50
50
|
i18n (~> 0.7)
|
51
51
|
minitest (~> 5.1)
|
52
52
|
tzinfo (~> 1.1)
|
53
|
-
addressable (2.5.
|
53
|
+
addressable (2.5.1)
|
54
54
|
public_suffix (~> 2.0, >= 2.0.2)
|
55
55
|
ast (2.3.0)
|
56
|
-
builder (3.2.
|
57
|
-
closure-compiler (1.1.
|
56
|
+
builder (3.2.3)
|
57
|
+
closure-compiler (1.1.13)
|
58
58
|
coffee-script (2.4.1)
|
59
59
|
coffee-script-source
|
60
60
|
execjs
|
61
|
-
coffee-script-source (1.
|
61
|
+
coffee-script-source (1.12.2)
|
62
62
|
commonjs (0.2.7)
|
63
|
-
concurrent-ruby (1.0.
|
63
|
+
concurrent-ruby (1.0.5)
|
64
64
|
cookiejar (0.3.3)
|
65
65
|
crush (0.3.3)
|
66
66
|
tilt (~> 1.3)
|
@@ -77,19 +77,19 @@ GEM
|
|
77
77
|
http_parser.rb (>= 0.6.0)
|
78
78
|
em-socksify (0.3.1)
|
79
79
|
eventmachine (>= 1.0.0.beta.4)
|
80
|
-
|
81
|
-
ethon (0.
|
80
|
+
erubi (1.6.1)
|
81
|
+
ethon (0.10.1)
|
82
82
|
ffi (>= 1.3.0)
|
83
|
-
eventmachine (1.2.
|
83
|
+
eventmachine (1.2.3)
|
84
84
|
execjs (2.7.0)
|
85
|
-
exifr (1.
|
86
|
-
faraday (0.
|
85
|
+
exifr (1.3.1)
|
86
|
+
faraday (0.12.1)
|
87
87
|
multipart-post (>= 1.2, < 3)
|
88
88
|
faraday-conductivity (0.3.1)
|
89
89
|
faraday (~> 0.8)
|
90
|
-
faraday_middleware (0.
|
91
|
-
faraday (>= 0.7.4, < 0
|
92
|
-
faye (1.2.
|
90
|
+
faraday_middleware (0.11.0.1)
|
91
|
+
faraday (>= 0.7.4, < 1.0)
|
92
|
+
faye (1.2.4)
|
93
93
|
cookiejar (>= 0.3.0)
|
94
94
|
em-http-request (>= 0.3.0)
|
95
95
|
eventmachine (>= 0.12.0)
|
@@ -97,91 +97,101 @@ GEM
|
|
97
97
|
multi_json (>= 1.0.0)
|
98
98
|
rack (>= 1.0.0)
|
99
99
|
websocket-driver (>= 0.5.1)
|
100
|
-
faye-websocket (0.10.
|
100
|
+
faye-websocket (0.10.7)
|
101
101
|
eventmachine (>= 0.12.0)
|
102
102
|
websocket-driver (>= 0.5.1)
|
103
|
-
ffi (1.9.
|
104
|
-
filewatcher (0.5.
|
103
|
+
ffi (1.9.18)
|
104
|
+
filewatcher (0.5.4)
|
105
105
|
trollop (~> 2.0)
|
106
|
-
fspath (3.0
|
106
|
+
fspath (3.1.0)
|
107
107
|
haml (4.0.7)
|
108
108
|
tilt
|
109
|
-
hamloft (0.2.
|
109
|
+
hamloft (0.2.5)
|
110
110
|
haml (~> 4.0)
|
111
|
-
nokogiri (~> 1.
|
111
|
+
nokogiri (~> 1.8)
|
112
112
|
http_parser.rb (0.6.0)
|
113
|
-
i18n (0.
|
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
|
-
image_size (~> 1.
|
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.20170712)
|
121
121
|
fspath (>= 2.1, < 4)
|
122
122
|
image_optim (~> 0.19)
|
123
|
-
image_size (1.
|
124
|
-
in_threads (1.
|
123
|
+
image_size (1.5.0)
|
124
|
+
in_threads (1.4.0)
|
125
125
|
less (2.6.0)
|
126
126
|
commonjs (~> 0.2.7)
|
127
|
-
libv8 (3.16.14.
|
127
|
+
libv8 (3.16.14.19)
|
128
128
|
little-plugger (1.1.4)
|
129
|
-
logging (2.
|
129
|
+
logging (2.2.2)
|
130
130
|
little-plugger (~> 1.1)
|
131
131
|
multi_json (~> 1.10)
|
132
132
|
loofah (2.0.3)
|
133
133
|
nokogiri (>= 1.5.9)
|
134
|
-
maglove-widgets (1.0.
|
135
|
-
bundler (~> 1.
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
minitest (5.9.1)
|
134
|
+
maglove-widgets (1.0.7)
|
135
|
+
bundler (~> 1.14)
|
136
|
+
hamloft (~> 0.2)
|
137
|
+
mini_portile2 (2.2.0)
|
138
|
+
minitest (5.10.2)
|
140
139
|
multi_json (1.12.1)
|
141
140
|
multipart-post (2.0.0)
|
142
|
-
nokogiri (1.
|
143
|
-
mini_portile2 (~> 2.
|
141
|
+
nokogiri (1.8.0)
|
142
|
+
mini_portile2 (~> 2.2.0)
|
144
143
|
open_uri_redirections (0.2.1)
|
145
|
-
|
144
|
+
parallel (1.11.2)
|
145
|
+
parser (2.4.0.0)
|
146
146
|
ast (~> 2.2)
|
147
147
|
powerpack (0.1.1)
|
148
|
-
progress (3.
|
149
|
-
public_suffix (2.0.
|
150
|
-
puma (3.
|
151
|
-
rack (2.0.
|
148
|
+
progress (3.3.1)
|
149
|
+
public_suffix (2.0.5)
|
150
|
+
puma (3.9.1)
|
151
|
+
rack (2.0.3)
|
152
152
|
rack-test (0.6.3)
|
153
153
|
rack (>= 1.0)
|
154
|
-
rails-dom-testing (2.0.
|
155
|
-
activesupport (>= 4.2.0
|
156
|
-
nokogiri (
|
154
|
+
rails-dom-testing (2.0.3)
|
155
|
+
activesupport (>= 4.2.0)
|
156
|
+
nokogiri (>= 1.6)
|
157
157
|
rails-html-sanitizer (1.0.3)
|
158
158
|
loofah (~> 2.0)
|
159
|
-
rainbow (2.
|
159
|
+
rainbow (2.2.2)
|
160
|
+
rake
|
161
|
+
rake (12.0.0)
|
162
|
+
rb-fsevent (0.10.2)
|
163
|
+
rb-inotify (0.9.10)
|
164
|
+
ffi (>= 0.5.0, < 2)
|
160
165
|
ref (2.0.0)
|
161
|
-
rubocop (0.
|
162
|
-
|
166
|
+
rubocop (0.49.1)
|
167
|
+
parallel (~> 1.10)
|
168
|
+
parser (>= 2.3.3.1, < 3.0)
|
163
169
|
powerpack (~> 0.1)
|
164
170
|
rainbow (>= 1.99.1, < 3.0)
|
165
171
|
ruby-progressbar (~> 1.7)
|
166
172
|
unicode-display_width (~> 1.0, >= 1.0.1)
|
167
173
|
ruby-progressbar (1.8.1)
|
168
|
-
rubyzip (1.2.
|
169
|
-
sass (3.
|
174
|
+
rubyzip (1.2.1)
|
175
|
+
sass (3.5.1)
|
176
|
+
sass-listen (~> 4.0.0)
|
170
177
|
sass-css-importer (1.0.0.beta.0)
|
171
178
|
sass (>= 3.1)
|
172
|
-
|
173
|
-
|
179
|
+
sass-listen (4.0.0)
|
180
|
+
rb-fsevent (~> 0.9, >= 0.9.4)
|
181
|
+
rb-inotify (~> 0.9, >= 0.9.7)
|
182
|
+
therubyracer (0.12.3)
|
183
|
+
libv8 (~> 3.16.14.15)
|
174
184
|
ref
|
175
|
-
thor (0.19.
|
176
|
-
thread_safe (0.3.
|
185
|
+
thor (0.19.4)
|
186
|
+
thread_safe (0.3.6)
|
177
187
|
tilt (1.4.1)
|
178
188
|
trollop (2.1.2)
|
179
|
-
typhoeus (1.1.
|
189
|
+
typhoeus (1.1.2)
|
180
190
|
ethon (>= 0.9.0)
|
181
|
-
tzinfo (1.2.
|
191
|
+
tzinfo (1.2.3)
|
182
192
|
thread_safe (~> 0.1)
|
183
|
-
unicode-display_width (1.
|
184
|
-
websocket-driver (0.6.
|
193
|
+
unicode-display_width (1.3.0)
|
194
|
+
websocket-driver (0.6.5)
|
185
195
|
websocket-extensions (>= 0.1.0)
|
186
196
|
websocket-extensions (0.1.2)
|
187
197
|
|
@@ -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
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: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Strebitzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -535,7 +535,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
535
535
|
version: 2.4.7
|
536
536
|
requirements: []
|
537
537
|
rubyforge_project:
|
538
|
-
rubygems_version: 2.
|
538
|
+
rubygems_version: 2.6.10
|
539
539
|
signing_key:
|
540
540
|
specification_version: 4
|
541
541
|
summary: MagLove - MagLoft Theme Toolkit.
|