smooster 0.1.7 → 0.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- MDIxY2QyZWZhNmEwOTMxZmU0Mjc5YmE2NzAxNjJhNDk4OTBiZjRmOQ==
5
- data.tar.gz: !binary |-
6
- NzhkZDM4ODMzYWUyMzgzZDdlMjBlZTI3OGE4YmNhMGIxNjAyNzQyYw==
2
+ SHA1:
3
+ metadata.gz: 29e424a983b1524ee85656507907312ded0c5227
4
+ data.tar.gz: d473cce5f5e39da54a1cdf0733fc0e55706e3daf
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- YzQ1OGU0NzFiNDg5MTM3NThjMDgzYjY0ZDlkNDMyY2FiOTEzYjI2NjM4ZDBh
10
- ODAxMDNmOWJiMGIwZjA2MDlhOTNhOWFmODFmZWE1YTcxOThiM2NhZDMxMmYy
11
- Y2Q0ZTVmMzNjMWQzOWYyNGJmM2VlYTZjMGJiNWEwOTNkY2M0MzY=
12
- data.tar.gz: !binary |-
13
- ZDdjZDc5YTUyOGQ2MmIwNDFhNzMzZGZhNzIzNzczYTlkM2NmN2NhMTBmNjdj
14
- ZjljMmJkYmJkYjQ1MTkwMjc4OGNmNDVhMzc1Yjg4Yjk4MTljZjEzMGEyZGFk
15
- ODc1YTRjMDE2YmIxY2IwYmVhMjU0YmI2YzMxMDVhOTAzZjdiNWI=
6
+ metadata.gz: f8191947cfc1b05cd766fc2b030c482fa046f64cd6cf077dd6e72a17fd41474725cc7f9ab3ab6ce60f1d6fe07fe233993c6f57289aebc9764c07099c52f518ec
7
+ data.tar.gz: 8c4f0d191d048e729a52003b45dd491142e49a143f30c40b7f396634a04472e85ba225ddf766f45b7240e2b2423c2c1db3ce912a23e4a407403952bec92d78c8
data/README.md CHANGED
@@ -33,11 +33,15 @@ This is a ruby gem
33
33
  * Detecting liquid variables in site_templates an auto activating liquid feature
34
34
  * add subtemplate feature - auto detect similar parts in html and create subtemplates
35
35
  * Feature that can create a page for each uploaded site_template (so that it's easier to check, if they are working) and return the links for all of them
36
- * Generate a page for each site_template if site_template is uploaded for the first time
37
36
  * For each new generated test page, return a html validator link http://validator.w3.org/check?uri=www.smooster.com%2Fde%2Findex&charset=%28detect+automatically%29&doctype=Inline&group=0
37
+ * Create a new local project based on the smooster-html-boilerplate
38
+ * Create a local project based on a demo website - ready to deploy (for beginners, to see how it may work)
38
39
 
39
40
  ## Changelog
40
41
 
42
+ ###0.1.8
43
+ * MAJOR: Changed smooster api v2 for site_templates and media_assets from ids to smo_ids
44
+
41
45
  ###0.1.7
42
46
  * Bugfix: use only short_path as reference for site_templates and media_assets (do be more compatible between different users systems)
43
47
 
@@ -71,7 +71,7 @@ module Smooster
71
71
  if response.present?
72
72
  data = JSON.parse(response)
73
73
  RestClient.purge data['file']['url'] if self.smo_id.present? && Smooster::Application.instance.api_url() != "http://127.0.0.1/api"
74
- self.smo_id = data['id']
74
+ self.smo_id = data['smo_id']
75
75
  self.save
76
76
  end
77
77
 
@@ -37,7 +37,7 @@ module Smooster
37
37
  end
38
38
 
39
39
  data = JSON.parse(response)
40
- self.smo_id = data['id']
40
+ self.smo_id = data['smo_id']
41
41
  self.save
42
42
  end
43
43
 
@@ -1,3 +1,3 @@
1
1
  module Smooster
2
- VERSION = "0.1.7"
2
+ VERSION = "0.1.8"
3
3
  end
metadata CHANGED
@@ -1,181 +1,181 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smooster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastian Maier
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-06 00:00:00.000000000 Z
11
+ date: 2015-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
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
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '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
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: activemodel
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rest-client
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ! '>='
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
61
  version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ! '>='
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: colorize
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - ! '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - ! '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: nokogiri
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ~>
87
+ - - "~>"
88
88
  - !ruby/object:Gem::Version
89
89
  version: '1.5'
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ~>
94
+ - - "~>"
95
95
  - !ruby/object:Gem::Version
96
96
  version: '1.5'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: pry
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ! '>='
101
+ - - ">="
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ! '>='
108
+ - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  - !ruby/object:Gem::Dependency
112
112
  name: pry-debugger
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
- - - ! '>='
115
+ - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
- - - ! '>='
122
+ - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
125
  - !ruby/object:Gem::Dependency
126
126
  name: pry-stack_explorer
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - ! '>='
129
+ - - ">="
130
130
  - !ruby/object:Gem::Version
131
131
  version: '0'
132
132
  type: :development
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ! '>='
136
+ - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  - !ruby/object:Gem::Dependency
140
140
  name: bundler
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ~>
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
145
  version: '1.7'
146
146
  type: :development
147
147
  prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ~>
150
+ - - "~>"
151
151
  - !ruby/object:Gem::Version
152
152
  version: '1.7'
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: rake
155
155
  requirement: !ruby/object:Gem::Requirement
156
156
  requirements:
157
- - - ~>
157
+ - - "~>"
158
158
  - !ruby/object:Gem::Version
159
159
  version: '10.0'
160
160
  type: :development
161
161
  prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
- - - ~>
164
+ - - "~>"
165
165
  - !ruby/object:Gem::Version
166
166
  version: '10.0'
167
167
  - !ruby/object:Gem::Dependency
168
168
  name: rspec
169
169
  requirement: !ruby/object:Gem::Requirement
170
170
  requirements:
171
- - - ! '>='
171
+ - - ">="
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  type: :development
175
175
  prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
- - - ! '>='
178
+ - - ">="
179
179
  - !ruby/object:Gem::Version
180
180
  version: '0'
181
181
  description: smooster command line tool writen in ruby.
@@ -186,8 +186,8 @@ executables:
186
186
  extensions: []
187
187
  extra_rdoc_files: []
188
188
  files:
189
- - .gitignore
190
- - .rspec
189
+ - ".gitignore"
190
+ - ".rspec"
191
191
  - CHANGELOG.md
192
192
  - Gemfile
193
193
  - LICENSE.txt
@@ -220,17 +220,17 @@ require_paths:
220
220
  - lib
221
221
  required_ruby_version: !ruby/object:Gem::Requirement
222
222
  requirements:
223
- - - ! '>='
223
+ - - ">="
224
224
  - !ruby/object:Gem::Version
225
225
  version: '0'
226
226
  required_rubygems_version: !ruby/object:Gem::Requirement
227
227
  requirements:
228
- - - ! '>='
228
+ - - ">="
229
229
  - !ruby/object:Gem::Version
230
230
  version: '0'
231
231
  requirements: []
232
232
  rubyforge_project:
233
- rubygems_version: 2.4.5
233
+ rubygems_version: 2.4.6
234
234
  signing_key:
235
235
  specification_version: 4
236
236
  summary: smooster command line tool writen in ruby.