buttercms 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/app/controllers/buttercms/blog_controller.rb +7 -0
- data/app/views/buttercms/blog/author.html.erb +8 -1
- data/app/views/buttercms/blog/category.html.erb +26 -0
- data/app/views/buttercms/blog/home.html.erb +8 -1
- data/app/views/buttercms/blog/post.html.erb +8 -1
- data/config/routes.rb +1 -0
- data/lib/buttercms/version.rb +1 -1
- metadata +3 -4
- data/app/views/buttercms/blog/rails-blog-example.sublime-project +0 -8
- data/app/views/buttercms/blog/rails-blog-example.sublime-workspace +0 -603
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9e5b474891964780a00d8138aec446079073ac11
|
4
|
+
data.tar.gz: 7af731be314e3c32b884231cef478cb77c4319fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8d0688edbd6d302f51eb751d5b3560292c116c24ffbf6c9b9899fbc08237fbb5d0bd75d76d26fa3964ba123b43d1314f5878eaaaf1e01fddf5e437e1898feea
|
7
|
+
data.tar.gz: 1400feefb4bb290deacec029bd0fa566bb464742d7bbf7c75e630113d58f721543d8233af83c0fcb7479efae5edab8a17157bda4bb4bcf9ed26e78db740d1ca9
|
data/.gitignore
CHANGED
@@ -68,5 +68,12 @@ module Buttercms
|
|
68
68
|
@last_name = response_json['last_name']
|
69
69
|
@recent_posts = response_json['recent_posts']
|
70
70
|
end
|
71
|
+
|
72
|
+
def category
|
73
|
+
response = make_request("#{API_URL}categories/#{params[:category_slug]}")
|
74
|
+
response_json = JSON.parse(response)
|
75
|
+
@name = response_json['name']
|
76
|
+
@recent_posts = response_json['recent_posts']
|
77
|
+
end
|
71
78
|
end
|
72
79
|
end
|
@@ -9,7 +9,14 @@
|
|
9
9
|
<p class="post-meta">
|
10
10
|
Posted by
|
11
11
|
<%= link_to("#{post['author']['first_name']} #{post['author']['last_name']}", blog_author_path(:author_slug => post['author']['slug'])) %>
|
12
|
-
on <%= post['created']
|
12
|
+
on <%= post['created'] %>
|
13
|
+
|
14
|
+
<% post['categories'].each do |category| %>
|
15
|
+
<span class="label label-default">
|
16
|
+
<%= link_to(category['name'], blog_category_path(:category_slug => category['slug'])) %>
|
17
|
+
</span>
|
18
|
+
<% end %>
|
19
|
+
</p>
|
13
20
|
|
14
21
|
<p class="post-summary">
|
15
22
|
<%= post['summary'] %>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<h2>Recent <%=@name %> posts</h2>
|
2
|
+
|
3
|
+
<% @recent_posts.each do |post| %>
|
4
|
+
<div class="post-preview">
|
5
|
+
<h2 class="post-title">
|
6
|
+
<%= link_to(post['title'], blog_post_path(:slug => post['slug'])) %>
|
7
|
+
</h2>
|
8
|
+
|
9
|
+
<p class="post-meta">
|
10
|
+
Posted by
|
11
|
+
<%= link_to("#{post['author']['first_name']} #{post['author']['last_name']}", blog_author_path(:author_slug => post['author']['slug'])) %>
|
12
|
+
on <%= post['created'] %>
|
13
|
+
|
14
|
+
<% post['categories'].each do |category| %>
|
15
|
+
<span class="label label-default">
|
16
|
+
<%= link_to(category['name'], blog_category_path(:category_slug => category['slug'])) %>
|
17
|
+
</span>
|
18
|
+
<% end %>
|
19
|
+
</p>
|
20
|
+
|
21
|
+
<p class="post-summary">
|
22
|
+
<%= post['summary'] %>
|
23
|
+
</p>
|
24
|
+
</div>
|
25
|
+
<hr>
|
26
|
+
<% end %>
|
@@ -7,7 +7,14 @@
|
|
7
7
|
<p class="post-meta">
|
8
8
|
Posted by
|
9
9
|
<%= link_to("#{post['author']['first_name']} #{post['author']['last_name']}", blog_author_path(:author_slug => post['author']['slug'])) %>
|
10
|
-
on <%= post['created']
|
10
|
+
on <%= post['created'] %>
|
11
|
+
|
12
|
+
<% post['categories'].each do |category| %>
|
13
|
+
<span class="label label-default">
|
14
|
+
<%= link_to(category['name'], blog_category_path(:category_slug => category['slug'])) %>
|
15
|
+
</span>
|
16
|
+
<% end %>
|
17
|
+
</p>
|
11
18
|
|
12
19
|
<p class="post-summary">
|
13
20
|
<%= post['summary'] %>
|
@@ -7,7 +7,14 @@
|
|
7
7
|
<p class="post-meta">
|
8
8
|
Posted by
|
9
9
|
<%= link_to("#{@post['author']['first_name']} #{@post['author']['last_name']}", blog_author_path(:author_slug => @post['author']['slug'])) %>
|
10
|
-
on <%= @post['created']
|
10
|
+
on <%= @post['created'] %>
|
11
|
+
|
12
|
+
<% @post['categories'].each do |category| %>
|
13
|
+
<span class="label label-default">
|
14
|
+
<%= link_to(category['name'], blog_category_path(:category_slug => category['slug'])) %>
|
15
|
+
</span>
|
16
|
+
<% end %>
|
17
|
+
</p>
|
11
18
|
|
12
19
|
<p class="post-body">
|
13
20
|
<%= @post['body'].html_safe %>
|
data/config/routes.rb
CHANGED
@@ -2,6 +2,7 @@ Buttercms::Engine.routes.draw do
|
|
2
2
|
get '/' => 'blog#home', as: :blog
|
3
3
|
get '/page/:page' => 'blog#home', as: :archive
|
4
4
|
get '/author/:author_slug' => 'blog#author', as: :blog_author
|
5
|
+
get '/category/:category_slug' => 'blog#category', as: :blog_category
|
5
6
|
|
6
7
|
# This must appear last since it's a catch all
|
7
8
|
get '/:slug' => 'blog#post', as: :blog_post
|
data/lib/buttercms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: buttercms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ButterCms
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-05-
|
11
|
+
date: 2015-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -88,10 +88,9 @@ files:
|
|
88
88
|
- app/controllers/buttercms/blog_controller.rb
|
89
89
|
- app/helpers/buttercms/application_helper.rb
|
90
90
|
- app/views/buttercms/blog/author.html.erb
|
91
|
+
- app/views/buttercms/blog/category.html.erb
|
91
92
|
- app/views/buttercms/blog/home.html.erb
|
92
93
|
- app/views/buttercms/blog/post.html.erb
|
93
|
-
- app/views/buttercms/blog/rails-blog-example.sublime-project
|
94
|
-
- app/views/buttercms/blog/rails-blog-example.sublime-workspace
|
95
94
|
- app/views/layouts/buttercms/application.html.erb
|
96
95
|
- bin/rails
|
97
96
|
- buttercms.gemspec
|
@@ -1,603 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"auto_complete":
|
3
|
-
{
|
4
|
-
"selected_items":
|
5
|
-
[
|
6
|
-
[
|
7
|
-
"re",
|
8
|
-
"request"
|
9
|
-
],
|
10
|
-
[
|
11
|
-
"mar",
|
12
|
-
"margin-bottom"
|
13
|
-
],
|
14
|
-
[
|
15
|
-
"fn",
|
16
|
-
"function"
|
17
|
-
],
|
18
|
-
[
|
19
|
-
"pos",
|
20
|
-
"posY"
|
21
|
-
],
|
22
|
-
[
|
23
|
-
"cont",
|
24
|
-
"contenteditable"
|
25
|
-
],
|
26
|
-
[
|
27
|
-
"to",
|
28
|
-
"todojs Todo for javascript"
|
29
|
-
],
|
30
|
-
[
|
31
|
-
"tex",
|
32
|
-
"text-decoration"
|
33
|
-
],
|
34
|
-
[
|
35
|
-
"d",
|
36
|
-
"div"
|
37
|
-
],
|
38
|
-
[
|
39
|
-
"act",
|
40
|
-
"activeNode"
|
41
|
-
],
|
42
|
-
[
|
43
|
-
"fun",
|
44
|
-
"function"
|
45
|
-
],
|
46
|
-
[
|
47
|
-
"imag",
|
48
|
-
"imageUrl"
|
49
|
-
]
|
50
|
-
]
|
51
|
-
},
|
52
|
-
"buffers":
|
53
|
-
[
|
54
|
-
{
|
55
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/config/database.yml",
|
56
|
-
"settings":
|
57
|
-
{
|
58
|
-
"buffer_size": 552,
|
59
|
-
"line_ending": "Unix"
|
60
|
-
}
|
61
|
-
},
|
62
|
-
{
|
63
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/app/controllers/application_controller.rb",
|
64
|
-
"settings":
|
65
|
-
{
|
66
|
-
"buffer_size": 220,
|
67
|
-
"line_ending": "Unix"
|
68
|
-
}
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/config/application.rb",
|
72
|
-
"settings":
|
73
|
-
{
|
74
|
-
"buffer_size": 1163,
|
75
|
-
"line_ending": "Unix"
|
76
|
-
}
|
77
|
-
},
|
78
|
-
{
|
79
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/Gemfile",
|
80
|
-
"settings":
|
81
|
-
{
|
82
|
-
"buffer_size": 1547,
|
83
|
-
"line_ending": "Unix"
|
84
|
-
}
|
85
|
-
},
|
86
|
-
{
|
87
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/config/secrets.yml",
|
88
|
-
"settings":
|
89
|
-
{
|
90
|
-
"buffer_size": 1086,
|
91
|
-
"line_ending": "Unix"
|
92
|
-
}
|
93
|
-
},
|
94
|
-
{
|
95
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/config/routes.rb",
|
96
|
-
"settings":
|
97
|
-
{
|
98
|
-
"buffer_size": 1637,
|
99
|
-
"line_ending": "Unix"
|
100
|
-
}
|
101
|
-
}
|
102
|
-
],
|
103
|
-
"build_system": "",
|
104
|
-
"build_system_choices":
|
105
|
-
[
|
106
|
-
],
|
107
|
-
"build_varint": "",
|
108
|
-
"command_palette":
|
109
|
-
{
|
110
|
-
"height": 367.0,
|
111
|
-
"last_filter": "snipp",
|
112
|
-
"selected_items":
|
113
|
-
[
|
114
|
-
[
|
115
|
-
"snipp",
|
116
|
-
"SnippetMaker: Make Snippet"
|
117
|
-
],
|
118
|
-
[
|
119
|
-
"make",
|
120
|
-
"SnippetMaker: Make Snippet"
|
121
|
-
],
|
122
|
-
[
|
123
|
-
"package",
|
124
|
-
"Package Control: Install Package"
|
125
|
-
]
|
126
|
-
],
|
127
|
-
"width": 449.0
|
128
|
-
},
|
129
|
-
"console":
|
130
|
-
{
|
131
|
-
"height": 126.0,
|
132
|
-
"history":
|
133
|
-
[
|
134
|
-
"import urllib.request,os,hashlib; h = 'eb2297e1a458f27d836c04bb0cbaf282' + 'd0e7a3098092775ccb37ca9d6b2e4b7d'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)"
|
135
|
-
]
|
136
|
-
},
|
137
|
-
"distraction_free":
|
138
|
-
{
|
139
|
-
"menu_visible": true,
|
140
|
-
"show_minimap": false,
|
141
|
-
"show_open_files": false,
|
142
|
-
"show_tabs": false,
|
143
|
-
"side_bar_visible": false,
|
144
|
-
"status_bar_visible": false
|
145
|
-
},
|
146
|
-
"expanded_folders":
|
147
|
-
[
|
148
|
-
"/Users/jakelumetta/Rails/rails-blog-example",
|
149
|
-
"/Users/jakelumetta/Rails/rails-blog-example/app",
|
150
|
-
"/Users/jakelumetta/Rails/rails-blog-example/app/controllers",
|
151
|
-
"/Users/jakelumetta/Rails/rails-blog-example/app/views",
|
152
|
-
"/Users/jakelumetta/Rails/rails-blog-example/app/views/layouts",
|
153
|
-
"/Users/jakelumetta/Rails/rails-blog-example/app/views/website",
|
154
|
-
"/Users/jakelumetta/Rails/rails-blog-example/config"
|
155
|
-
],
|
156
|
-
"file_history":
|
157
|
-
[
|
158
|
-
"/Users/jakelumetta/Rails/buttercms-rails/lib/buttercms/version.rb",
|
159
|
-
"/Users/jakelumetta/Rails/buttercms-rails/buttercms.gemspec",
|
160
|
-
"/Users/jakelumetta/Rails/buttercms-rails/config/routes.rb",
|
161
|
-
"/Users/jakelumetta/Rails/buttercms-rails/Rakefile",
|
162
|
-
"/Users/jakelumetta/Django/buttercms-django/buttercms-django/templates/buttercms_blog_post.html",
|
163
|
-
"/Users/jakelumetta/Django/buttercms/buttercms/apps.py",
|
164
|
-
"/Users/jakelumetta/Django/buttercms/buttercms/urls.py",
|
165
|
-
"/Users/jakelumetta/Django/buttercms/website/urls.py",
|
166
|
-
"/Users/jakelumetta/Django/buttercms/website/templates/docs.html",
|
167
|
-
"/Users/jakelumetta/Django/buttercms/website/views.py",
|
168
|
-
"/Users/jakelumetta/Django/buttercms/buttercms/settings.py",
|
169
|
-
"/Users/jakelumetta/Django/buttercms/.gitignore",
|
170
|
-
"/Users/jakelumetta/Django/buttercms/website/templates/home.html",
|
171
|
-
"/Users/jakelumetta/Django/buttercms/website/templates/landing/home.html",
|
172
|
-
"/Users/jakelumetta/Django/buttercms/website/templates/api_token.html",
|
173
|
-
"/Users/jakelumetta/Django/buttercms/website/templates/base.html",
|
174
|
-
"/Users/jakelumetta/Django/buttercms/website/static/css/style.css",
|
175
|
-
"/Users/jakelumetta/Django/buttercms/fabfile.py",
|
176
|
-
"/Users/jakelumetta/Django/buttercms/bower.json",
|
177
|
-
"/Users/jakelumetta/Django/buttercms/.bowerrc",
|
178
|
-
"/Users/jakelumetta/Django/buttercms/api/urls.py",
|
179
|
-
"/Users/jakelumetta/Django/buttercms/website/forms.py",
|
180
|
-
"/Users/jakelumetta/Library/Application Support/Sublime Text 3/Packages/User/pdb.sublime-snippet",
|
181
|
-
"/Users/jakelumetta/Library/Application Support/Sublime Text 3/Packages/User/log.sublime-snippet",
|
182
|
-
"/Users/jakelumetta/Library/Application Support/Sublime Text 3/Packages/User/todojs.sublime-snippet",
|
183
|
-
"/Users/jakelumetta/Desktop/medium-editor/demo/textarea.html"
|
184
|
-
],
|
185
|
-
"find":
|
186
|
-
{
|
187
|
-
"height": 23.0
|
188
|
-
},
|
189
|
-
"find_in_files":
|
190
|
-
{
|
191
|
-
"height": 93.0,
|
192
|
-
"where_history":
|
193
|
-
[
|
194
|
-
""
|
195
|
-
]
|
196
|
-
},
|
197
|
-
"find_state":
|
198
|
-
{
|
199
|
-
"case_sensitive": false,
|
200
|
-
"find_history":
|
201
|
-
[
|
202
|
-
"slug",
|
203
|
-
"page",
|
204
|
-
"next_page",
|
205
|
-
"blog_post",
|
206
|
-
"post",
|
207
|
-
"home.html.erb",
|
208
|
-
"{{",
|
209
|
-
"recent_posts",
|
210
|
-
"previous_page",
|
211
|
-
"next_page",
|
212
|
-
"first_name",
|
213
|
-
"include('buttercms.urls')",
|
214
|
-
"index.html",
|
215
|
-
"{% url 'docs' %}",
|
216
|
-
"template",
|
217
|
-
"h2",
|
218
|
-
"h4",
|
219
|
-
"h3",
|
220
|
-
"login",
|
221
|
-
"top",
|
222
|
-
"$p",
|
223
|
-
"- $(window)",
|
224
|
-
"newLine",
|
225
|
-
"img-responsive",
|
226
|
-
"editor.",
|
227
|
-
"WEBCAM",
|
228
|
-
",",
|
229
|
-
"pickFile",
|
230
|
-
"p",
|
231
|
-
"div",
|
232
|
-
"insertImage"
|
233
|
-
],
|
234
|
-
"highlight": true,
|
235
|
-
"in_selection": false,
|
236
|
-
"preserve_case": false,
|
237
|
-
"regex": false,
|
238
|
-
"replace_history":
|
239
|
-
[
|
240
|
-
"static/docs/index.html"
|
241
|
-
],
|
242
|
-
"reverse": false,
|
243
|
-
"show_context": true,
|
244
|
-
"use_buffer2": true,
|
245
|
-
"whole_word": false,
|
246
|
-
"wrap": true
|
247
|
-
},
|
248
|
-
"groups":
|
249
|
-
[
|
250
|
-
{
|
251
|
-
"selected": 2,
|
252
|
-
"sheets":
|
253
|
-
[
|
254
|
-
{
|
255
|
-
"buffer": 0,
|
256
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/config/database.yml",
|
257
|
-
"semi_transient": false,
|
258
|
-
"settings":
|
259
|
-
{
|
260
|
-
"buffer_size": 552,
|
261
|
-
"regions":
|
262
|
-
{
|
263
|
-
},
|
264
|
-
"selection":
|
265
|
-
[
|
266
|
-
[
|
267
|
-
184,
|
268
|
-
184
|
269
|
-
]
|
270
|
-
],
|
271
|
-
"settings":
|
272
|
-
{
|
273
|
-
"syntax": "Packages/YAML/YAML.tmLanguage"
|
274
|
-
},
|
275
|
-
"translation.x": 0.0,
|
276
|
-
"translation.y": 0.0,
|
277
|
-
"zoom_level": 1.0
|
278
|
-
},
|
279
|
-
"stack_index": 5,
|
280
|
-
"type": "text"
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"buffer": 1,
|
284
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/app/controllers/application_controller.rb",
|
285
|
-
"semi_transient": false,
|
286
|
-
"settings":
|
287
|
-
{
|
288
|
-
"buffer_size": 220,
|
289
|
-
"regions":
|
290
|
-
{
|
291
|
-
},
|
292
|
-
"selection":
|
293
|
-
[
|
294
|
-
[
|
295
|
-
214,
|
296
|
-
214
|
297
|
-
]
|
298
|
-
],
|
299
|
-
"settings":
|
300
|
-
{
|
301
|
-
"syntax": "Packages/Ruby/Ruby.tmLanguage"
|
302
|
-
},
|
303
|
-
"translation.x": 0.0,
|
304
|
-
"translation.y": 0.0,
|
305
|
-
"zoom_level": 1.0
|
306
|
-
},
|
307
|
-
"stack_index": 1,
|
308
|
-
"type": "text"
|
309
|
-
},
|
310
|
-
{
|
311
|
-
"buffer": 2,
|
312
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/config/application.rb",
|
313
|
-
"semi_transient": false,
|
314
|
-
"settings":
|
315
|
-
{
|
316
|
-
"buffer_size": 1163,
|
317
|
-
"regions":
|
318
|
-
{
|
319
|
-
},
|
320
|
-
"selection":
|
321
|
-
[
|
322
|
-
[
|
323
|
-
1133,
|
324
|
-
1133
|
325
|
-
]
|
326
|
-
],
|
327
|
-
"settings":
|
328
|
-
{
|
329
|
-
"syntax": "Packages/Ruby/Ruby.tmLanguage",
|
330
|
-
"tab_size": 4,
|
331
|
-
"translate_tabs_to_spaces": true
|
332
|
-
},
|
333
|
-
"translation.x": 0.0,
|
334
|
-
"translation.y": 0.0,
|
335
|
-
"zoom_level": 1.0
|
336
|
-
},
|
337
|
-
"stack_index": 0,
|
338
|
-
"type": "text"
|
339
|
-
},
|
340
|
-
{
|
341
|
-
"buffer": 3,
|
342
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/Gemfile",
|
343
|
-
"semi_transient": false,
|
344
|
-
"settings":
|
345
|
-
{
|
346
|
-
"buffer_size": 1547,
|
347
|
-
"regions":
|
348
|
-
{
|
349
|
-
},
|
350
|
-
"selection":
|
351
|
-
[
|
352
|
-
[
|
353
|
-
930,
|
354
|
-
930
|
355
|
-
]
|
356
|
-
],
|
357
|
-
"settings":
|
358
|
-
{
|
359
|
-
"syntax": "Packages/Ruby/Ruby.tmLanguage"
|
360
|
-
},
|
361
|
-
"translation.x": 0.0,
|
362
|
-
"translation.y": 0.0,
|
363
|
-
"zoom_level": 1.0
|
364
|
-
},
|
365
|
-
"stack_index": 3,
|
366
|
-
"type": "text"
|
367
|
-
},
|
368
|
-
{
|
369
|
-
"buffer": 4,
|
370
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/config/secrets.yml",
|
371
|
-
"semi_transient": false,
|
372
|
-
"settings":
|
373
|
-
{
|
374
|
-
"buffer_size": 1086,
|
375
|
-
"regions":
|
376
|
-
{
|
377
|
-
},
|
378
|
-
"selection":
|
379
|
-
[
|
380
|
-
[
|
381
|
-
671,
|
382
|
-
711
|
383
|
-
]
|
384
|
-
],
|
385
|
-
"settings":
|
386
|
-
{
|
387
|
-
"syntax": "Packages/YAML/YAML.tmLanguage"
|
388
|
-
},
|
389
|
-
"translation.x": 0.0,
|
390
|
-
"translation.y": 0.0,
|
391
|
-
"zoom_level": 1.0
|
392
|
-
},
|
393
|
-
"stack_index": 4,
|
394
|
-
"type": "text"
|
395
|
-
},
|
396
|
-
{
|
397
|
-
"buffer": 5,
|
398
|
-
"file": "/Users/jakelumetta/Rails/rails-blog-example/config/routes.rb",
|
399
|
-
"semi_transient": false,
|
400
|
-
"settings":
|
401
|
-
{
|
402
|
-
"buffer_size": 1637,
|
403
|
-
"regions":
|
404
|
-
{
|
405
|
-
},
|
406
|
-
"selection":
|
407
|
-
[
|
408
|
-
[
|
409
|
-
293,
|
410
|
-
293
|
411
|
-
]
|
412
|
-
],
|
413
|
-
"settings":
|
414
|
-
{
|
415
|
-
"syntax": "Packages/Ruby/Ruby.tmLanguage",
|
416
|
-
"tab_size": 2,
|
417
|
-
"translate_tabs_to_spaces": true
|
418
|
-
},
|
419
|
-
"translation.x": 0.0,
|
420
|
-
"translation.y": 0.0,
|
421
|
-
"zoom_level": 1.0
|
422
|
-
},
|
423
|
-
"stack_index": 2,
|
424
|
-
"type": "text"
|
425
|
-
}
|
426
|
-
]
|
427
|
-
}
|
428
|
-
],
|
429
|
-
"incremental_find":
|
430
|
-
{
|
431
|
-
"height": 23.0
|
432
|
-
},
|
433
|
-
"input":
|
434
|
-
{
|
435
|
-
"height": 31.0
|
436
|
-
},
|
437
|
-
"layout":
|
438
|
-
{
|
439
|
-
"cells":
|
440
|
-
[
|
441
|
-
[
|
442
|
-
0,
|
443
|
-
0,
|
444
|
-
1,
|
445
|
-
1
|
446
|
-
]
|
447
|
-
],
|
448
|
-
"cols":
|
449
|
-
[
|
450
|
-
0.0,
|
451
|
-
1.0
|
452
|
-
],
|
453
|
-
"rows":
|
454
|
-
[
|
455
|
-
0.0,
|
456
|
-
1.0
|
457
|
-
]
|
458
|
-
},
|
459
|
-
"menu_visible": true,
|
460
|
-
"output.find_results":
|
461
|
-
{
|
462
|
-
"height": 0.0
|
463
|
-
},
|
464
|
-
"pinned_build_system": "",
|
465
|
-
"project": "rails-blog-example.sublime-project",
|
466
|
-
"replace":
|
467
|
-
{
|
468
|
-
"height": 42.0
|
469
|
-
},
|
470
|
-
"save_all_on_build": true,
|
471
|
-
"select_file":
|
472
|
-
{
|
473
|
-
"height": 0.0,
|
474
|
-
"last_filter": "",
|
475
|
-
"selected_items":
|
476
|
-
[
|
477
|
-
[
|
478
|
-
"rout",
|
479
|
-
"config/routes.rb"
|
480
|
-
],
|
481
|
-
[
|
482
|
-
"se",
|
483
|
-
"config/secrets.yml"
|
484
|
-
],
|
485
|
-
[
|
486
|
-
"contr",
|
487
|
-
"app/controllers/application_controller.rb"
|
488
|
-
],
|
489
|
-
[
|
490
|
-
"gem",
|
491
|
-
"Gemfile"
|
492
|
-
],
|
493
|
-
[
|
494
|
-
"dta",
|
495
|
-
"config/database.yml"
|
496
|
-
],
|
497
|
-
[
|
498
|
-
"con",
|
499
|
-
"config/routes.rb"
|
500
|
-
],
|
501
|
-
[
|
502
|
-
"ver",
|
503
|
-
"lib/buttercms/version.rb"
|
504
|
-
],
|
505
|
-
[
|
506
|
-
"urls",
|
507
|
-
"website/urls.py"
|
508
|
-
],
|
509
|
-
[
|
510
|
-
"setting",
|
511
|
-
"buttercms/settings.py"
|
512
|
-
],
|
513
|
-
[
|
514
|
-
"req",
|
515
|
-
"requirements.txt"
|
516
|
-
],
|
517
|
-
[
|
518
|
-
"base",
|
519
|
-
"website/templates/base.html"
|
520
|
-
],
|
521
|
-
[
|
522
|
-
"view",
|
523
|
-
"website/views.py"
|
524
|
-
],
|
525
|
-
[
|
526
|
-
"sett",
|
527
|
-
"buttercms/settings.py"
|
528
|
-
],
|
529
|
-
[
|
530
|
-
".git",
|
531
|
-
".gitignore"
|
532
|
-
],
|
533
|
-
[
|
534
|
-
"home",
|
535
|
-
"website/templates/landing/home.html"
|
536
|
-
],
|
537
|
-
[
|
538
|
-
"api",
|
539
|
-
"website/templates/api_token.html"
|
540
|
-
],
|
541
|
-
[
|
542
|
-
"fab",
|
543
|
-
"fabfile.py"
|
544
|
-
],
|
545
|
-
[
|
546
|
-
"forms",
|
547
|
-
"website/forms.py"
|
548
|
-
],
|
549
|
-
[
|
550
|
-
"vie",
|
551
|
-
"website/views.py"
|
552
|
-
],
|
553
|
-
[
|
554
|
-
"style",
|
555
|
-
"website/static/css/style.css"
|
556
|
-
]
|
557
|
-
],
|
558
|
-
"width": 0.0
|
559
|
-
},
|
560
|
-
"select_project":
|
561
|
-
{
|
562
|
-
"height": 500.0,
|
563
|
-
"last_filter": "docs",
|
564
|
-
"selected_items":
|
565
|
-
[
|
566
|
-
[
|
567
|
-
"docs",
|
568
|
-
"~/Django/docs.sublime-project"
|
569
|
-
],
|
570
|
-
[
|
571
|
-
"cms",
|
572
|
-
"~/Django/buttercms.sublime-project"
|
573
|
-
],
|
574
|
-
[
|
575
|
-
"",
|
576
|
-
"~/Django/buttercms.sublime-project"
|
577
|
-
]
|
578
|
-
],
|
579
|
-
"width": 380.0
|
580
|
-
},
|
581
|
-
"select_symbol":
|
582
|
-
{
|
583
|
-
"height": 0.0,
|
584
|
-
"last_filter": "",
|
585
|
-
"selected_items":
|
586
|
-
[
|
587
|
-
],
|
588
|
-
"width": 0.0
|
589
|
-
},
|
590
|
-
"selected_group": 0,
|
591
|
-
"settings":
|
592
|
-
{
|
593
|
-
},
|
594
|
-
"show_minimap": true,
|
595
|
-
"show_open_files": false,
|
596
|
-
"show_tabs": true,
|
597
|
-
"side_bar_visible": true,
|
598
|
-
"side_bar_width": 247.0,
|
599
|
-
"status_bar_visible": true,
|
600
|
-
"template_settings":
|
601
|
-
{
|
602
|
-
}
|
603
|
-
}
|