lines-engine 0.9.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 95b0810f8c6e3810eefc78090bb8303b4321780d
4
- data.tar.gz: 8141f80cc702daac6c428d9b836881160fe3a20f
3
+ metadata.gz: 70da46d6dccf55d0fd98813e9c8adedd08a00365
4
+ data.tar.gz: 4479a07a64ede18c1e4c7f7ce7c88abcc91ff01b
5
5
  SHA512:
6
- metadata.gz: 8e7c0cc6b30a2257a8a4b7b76f7eb226572e143984e0e974b185ae44a9c54f3a7e539ee7094cd22c1cdb65d24639ce984ec183af29f013c0eb7822c9aa9d1b2d
7
- data.tar.gz: ae8b7a3d6728a19a19a60290f118a462aa1291143252380f3744e91db8ef4c71a824285870c9ada1833c6cc0e8b01e76acfe6092054c7c5acc516120be1455ac
6
+ metadata.gz: 9ab9ba5d97ebd8fe06c35df649644a9ac42f65fdb9fef49633f691b4a4194ca68811d0b0db51d6fadd20ad3f4b820bdbc3d996dd1fc976b5d90f8b87f326e6c4
7
+ data.tar.gz: 1eb2ec79f3b797ce7641f1d748ae2c5a6625591e836ed77804004821d134a91572e2fd1c2dd2f3ec7782f05dbbc24efb19c34361e929e1a6cbea430b17c8f325
checksums.yaml.gz.sig CHANGED
Binary file
data.tar.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.0.0
4
+
5
+ - Proud to announce the first stable release with the new backend!
6
+ - New README
7
+ - Minor fixes since v0.9.0
8
+ - Have fun ;)
9
+
3
10
  ## 0.9.0
4
11
 
5
12
  - New backend: the entire backend has been restyled and made responsive
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lines-engine (0.9.0)
4
+ lines-engine (1.0.0)
5
5
  acts-as-taggable-on (~> 3.5, >= 3.5)
6
6
  bcrypt (~> 3.1.0, >= 3.1.0)
7
7
  bcrypt-ruby (>= 3.0.0, <= 4)
@@ -70,7 +70,7 @@ GEM
70
70
  activerecord (>= 3.2, < 5)
71
71
  addressable (2.3.8)
72
72
  arel (6.0.3)
73
- autoprefixer-rails (5.2.1)
73
+ autoprefixer-rails (5.2.1.1)
74
74
  execjs
75
75
  json
76
76
  bcrypt (3.1.10)
@@ -118,7 +118,7 @@ GEM
118
118
  activerecord (>= 4.0.0)
119
119
  globalid (0.3.6)
120
120
  activesupport (>= 4.1.0)
121
- guard (2.12.8)
121
+ guard (2.13.0)
122
122
  formatador (>= 0.2.4)
123
123
  listen (>= 2.7, <= 4.0)
124
124
  lumberjack (~> 1.0)
@@ -147,7 +147,7 @@ GEM
147
147
  activesupport (>= 3.0.0)
148
148
  launchy (2.4.3)
149
149
  addressable (~> 2.3)
150
- listen (3.0.2)
150
+ listen (3.0.3)
151
151
  rb-fsevent (>= 0.9.3)
152
152
  rb-inotify (>= 0.9)
153
153
  loofah (2.0.2)
@@ -160,17 +160,17 @@ GEM
160
160
  method_source (0.8.2)
161
161
  mime-types (2.6.1)
162
162
  mini_portile (0.6.2)
163
- minitest (5.7.0)
164
- mysql2 (0.3.18)
163
+ minitest (5.8.0)
164
+ mysql2 (0.3.19)
165
165
  nenv (0.2.0)
166
166
  net-scp (1.2.1)
167
167
  net-ssh (>= 2.6.5)
168
- net-ssh (2.9.2)
168
+ net-ssh (2.10.0)
169
169
  nokogiri (1.6.6.2)
170
170
  mini_portile (~> 0.6.0)
171
171
  nokogumbo (1.1.12)
172
172
  nokogiri
173
- notiffany (0.0.6)
173
+ notiffany (0.0.7)
174
174
  nenv (~> 0.1)
175
175
  shellany (~> 0.0)
176
176
  orm_adapter (0.5.0)
@@ -185,7 +185,7 @@ GEM
185
185
  rack (1.6.4)
186
186
  rack-test (0.6.3)
187
187
  rack (>= 1.0)
188
- railroady (1.3.0)
188
+ railroady (1.3.1)
189
189
  rails (4.2.3)
190
190
  actionmailer (= 4.2.3)
191
191
  actionpack (= 4.2.3)
data/README.rdoc CHANGED
@@ -1,35 +1,40 @@
1
- = Lines Blog by Opoloo[http://www.opoloo.com]
1
+ {<img src="http://lines.opoloo.com/assets/images/screenshots/git-logo.png" />}[http://lines.opoloo.com/assets/images/screenshots/git-logo.png]
2
+
3
+ = LINES Publishing Engine by Opoloo[https://www.opoloo.com]
2
4
 
3
5
  {<img src="https://badge.fury.io/rb/lines-engine.svg" alt="Gem Version" />}[http://badge.fury.io/rb/lines-engine]
4
6
 
7
+
5
8
  == Introduction
6
9
 
7
- Lines is a customizable blog framework for rails developers. It aims at making publishing simple and beautiful.
10
+ LINES is a customizable publishing framework for Rails developers. It makes your publications and the processes around it simple and beautiful.
8
11
 
9
- Lines is a very slim, feature-constrained, young publishing platform. It is not wordpress or blogger and it doesn't aspire to be. It needs brains, work, and time to mature. It is a framework for tech-savvies who care about their content with the freedom of full OSS access.
12
+ LINES is designed for mobile publishing needs. You work in a clear, responsive backend where you write with a distraction-free markdown editor, and where publishing your articles is dead simple. Readers enjoy your writing, not least because it’s perfectly readable on all screens.
10
13
 
11
- To get an idea of the appearance, see the screenshots below, visit the {Lines Website}[http://lines.opoloo.com], or see it in action at link: http://blog.opoloo.com
14
+ LINES is a framework for tech-savvies who care about writing and publishing, with the freedom of full OSS access.
12
15
 
16
+ Learn more at the {Lines Website}[http://linees.opoloo.com], or see it in action: https://www.opoloo.com/blog.
13
17
 
14
- == Features & Specifications
15
18
 
16
- - solid editing system
17
- - simple, consistent publishing process
19
+ == Purpose, Features, Specifications
20
+
21
+ LINES is designed for
22
+ - distraction-free writing and editing
23
+ - a simple, consistent, mobile publishing process
18
24
  - clear, responsive presentation
19
- - extendable & customizable
25
+ - customization
20
26
  - full focus on content
21
27
 
22
- === Features
23
-
24
28
 
25
- - authentication system (w/ password reset, remember token, ...)
29
+ === Features
30
+ - authentication system (with password reset, remember token, …)
26
31
  - custom hero graphics for posts
27
- - upload default hero images that you want to use more frequently
32
+ - upload default hero images that you want to re-use
28
33
  - customizable generic titles & subtitles
29
34
  - automatic teaser & scaled image for the article overview
30
35
  - determine featured article
31
- - markdown implementation (six headline styles according to priority, italics & bold text, block quotes, images, lists, links,...)
32
- - code highlighting
36
+ - GitHub Flavored Markdown (four headline styles according to priority, italics & bold text, block quotes and citation, images, lists, links, image captions, …)
37
+ - code syntax highlighting
33
38
  - formatting help
34
39
  - tags for articles
35
40
  - G+ link to social network discussion
@@ -46,7 +51,7 @@ To get an idea of the appearance, see the screenshots below, visit the {Lines We
46
51
  2. Run 'bundle':
47
52
  bundle
48
53
 
49
- 3. There is a installation task that will guide you through the rest of the installation process. Just switch to your application directory and run:
54
+ 3. There is an installation task that will guide you through the rest of the installation process. Just switch to your application directory and run:
50
55
  rails g lines:install
51
56
 
52
57
  4. Adjust settings for Lines in the newly generated <tt>config/lines_config.yml</tt> file.
@@ -54,73 +59,86 @@ To get an idea of the appearance, see the screenshots below, visit the {Lines We
54
59
  5. Run database migrations:
55
60
  rake db:migrate
56
61
 
57
- If you need some more information or help, you can just follow this readme file.
62
+ If you need some more information or help, you can just follow this read me file.
58
63
 
59
64
 
60
65
  === Managing admin users
61
66
 
62
- Currently Lines does not offer a GUI for managing users, but you can use a rake task to do so:
67
+ Currently, LINES does not offer a GUI for managing users, but you can use a rake task to do so:
63
68
 
64
69
  rake lines:add_user
65
70
 
66
- To update an existing user, you'll need the rails console with 'rails c'
67
- # UPDATE an existing user
68
- u = User.find_by(email: 'your@email.com')
71
+ To update an existing user, youll need the rails console with 'rails c'
72
+
73
+
74
+ === UPDATE an existing user
75
+ u = User.find_by_email('your@email.com')
69
76
  u.email = "new@mail.com"
70
77
  u.password = "newsekret"
71
78
  u.save
72
79
 
73
80
 
74
- === Copy/update stylesheets
75
-
76
- Run <tt>rails g lines:copy_styles</tt> to install stylesheets from newer gem versions. Keep in mind to backup your overrides and other customizations before doing so!
77
-
78
-
79
81
  === Google Sitemap
80
82
 
81
- The sitemap_generator gem (https://github.com/kjvarga/sitemap_generator) handles the creation of sitemaps for search engines. To update the sitemap on server, run:
83
+ The sitemap_generator gem (https://github.com/kjvarga/sitemap_generator) handles the creation of site maps for search engines. To update the sitemap on server, run:
82
84
 
83
- bundle exec rake sitemap:refresh:no_ping # don't ping search engines
85
+ bundle exec rake sitemap:refresh:no_ping # dont ping search engines
84
86
  bundle exec rake sitemap:refresh # ping search engines
85
87
 
86
- Don't forget to adjust the full url to your sitemaps in <tt>public/robots.txt</tt>
88
+ Dont forget to adjust the full URL to your sitemaps in <tt>public/robots.txt</tt>
89
+
87
90
 
88
91
  == Documentation
89
92
 
90
- The complete documentation can be found at rdoc.info: http://rdoc.info/github/opoloo/lines/master/frames
93
+ The complete documentation can be found at RubyDoc.info: http://www.rubydoc.info/gems/lines-engine/
94
+
91
95
 
92
96
  == Customization
93
97
 
98
+
99
+ === Copy/update stylesheets
100
+
101
+ Run <tt>rails g lines:copy_styles</tt> to install stylesheets from newer gem versions. Keep in mind to backup your overrides and other customizations before doing so!
102
+
103
+
94
104
  === Modify CSS/SCSS
95
105
 
96
- Default viewer SCSS: <tt>app/assets/stylesheets/lines/style.css.scss</tt>
106
+ Find the SASS files inside the <tt>app/assets/stylesheets/lines/</tt> directory.
107
+
108
+ Use the <tt>app/assets/stylesheets/lines/lines_overrides.scss</tt> file to adjust existing styles or add new ones.
97
109
 
98
110
  === Modify custom hero images
99
111
 
100
- You can add, remove or change the +HERO_IMAGES+ variable inside the <tt>config/lines_config.yml</tt> file. The corresponding images reside inside the <tt>public/heroes</tt> directory.
112
+ You can change, remove, or add the +HERO_IMAGES+ variable inside the <tt>config/lines_config.yml</tt> file. The corresponding images reside inside the <tt>public/heroes</tt> directory.
113
+
101
114
 
102
115
  === Header (Meta) & Footer
103
116
 
104
- To change the header/meta/footer elements you need to modify <tt>app/views/layouts/lines/application.html.erb</tt>
117
+ To change the header/meta/footer elements you need to modify <tt>app/views/layouts/lines/application.html.erb</tt> and the corresponding partials.
105
118
 
106
- == Screenshots
107
119
 
108
- Some screenshots to get an impression of the look & feel
120
+ == Screenshots
109
121
 
110
122
  === Dashboard
111
- {<img src="http://lines.opoloo.com/images/screenshot_01.png" />}[http://lines.opoloo.com/images/screenshot_01.png]
123
+ {<img src="http://lines.opoloo.com/assets/images/screenshots/git-dashboard.png" />}[http://lines.opoloo.com/assets/images/screenshots/git-dashboard.png]
112
124
 
113
125
  === Create or edit an article
114
- {<img src="http://lines.opoloo.com/images/screenshot_02.png" />}[http://lines.opoloo.com/images/screenshot_02.png]
115
126
 
116
- === Preview and publish
117
- {<img src="http://lines.opoloo.com/images/screenshot_03.png" />}[http://lines.opoloo.com/images/screenshot_03.png]
127
+ {<img src="http://lines.opoloo.com/assets/images/screenshots/git-editor.png" />}[http://lines.opoloo.com/assets/images/screenshots/git-editor.png]
118
128
 
129
+ === Preview
119
130
 
120
- == License
131
+ {<img src="http://lines.opoloo.com/assets/images/screenshots/git-post.png" />}[http://lines.opoloo.com/assets/images/screenshots/git-post.png]
132
+
133
+ === Articles overview
121
134
 
122
- You may use the Lines blog template as you please. You must, however, keep the footer section, so attribution to Lines[http://lines.opoloo.com] and {Opoloo}[http://www.opoloo.com] is granted.
135
+ {<img src="http://lines.opoloo.com/assets/images/screenshots/git-overview.png" />}[http://lines.opoloo.com/assets/images/screenshots/git-overview.png]
136
+
137
+
138
+ == License
123
139
 
124
- We heartily invite you to extend the features of the template, but when you do, you should fork it on GitHub, so everyone can profit from your work.
140
+ You may use the Lines blog template as you please. You’d make us happy, though, if you kept an attribution to {Lines}[http://lines.opoloo.com/] and {Opoloo}[https://www.opoloo.com] to spread the word.
141
+
142
+ We heartily invite you to extend the features of the engine, but when you do, you should fork it on GitHub, so everyone can profit from your work.
125
143
 
126
144
  You can see the full license here: http://choosealicense.com/licenses/lgpl-v3/
@@ -18,7 +18,7 @@ module Lines
18
18
  # <tt>@articles_published</tt> to distinguish between published and
19
19
  # unpublished articles
20
20
  def index
21
- @articles = Article.order('published ASC, created_at DESC').page(params[:page]).per(25)
21
+ @articles = Article.order('published ASC, published_at DESC, created_at DESC').page(params[:page]).per(25)
22
22
  @articles_unpublished = @articles.select{|a| a.published == false}
23
23
  @articles_published = @articles.select{|a| a.published == true}
24
24
  respond_to do |format|
data/lib/lines/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lines
2
- VERSION = "0.9.0"
2
+ VERSION = "1.0.0"
3
3
  end
data/lines.gemspec CHANGED
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
9
9
  s.version = Lines::VERSION
10
10
  s.authors = ["Opoloo GbR"]
11
11
  s.email = ["info@opoloo.de"]
12
- s.homepage = "http://github.com/opoloo/lines-engine"
12
+ s.homepage = "http://lines.opoloo.com"
13
13
  s.summary = "LINES is the open source blog platform you have been waiting for"
14
14
  s.description = "LINES lets you manage your posts in a clear, consistent frontend. The gracefully slender editor keeps your editing simple and lets you just splash around in your ideas. Once you're happy, just hit publish and see your text, code examples, images, and links shine."
15
15
  s.license = "LGPL3"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lines-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Opoloo GbR
@@ -30,7 +30,7 @@ cert_chain:
30
30
  5BNWA8E1pTLFIGuj2vWGF3LmLHATeyBGXNDBRf6XZUG124zSK5pxkJ5zm2uBhu00
31
31
  +pn0Gw==
32
32
  -----END CERTIFICATE-----
33
- date: 2015-08-06 00:00:00.000000000 Z
33
+ date: 2015-08-10 00:00:00.000000000 Z
34
34
  dependencies:
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: orm_adapter
@@ -1294,7 +1294,7 @@ files:
1294
1294
  - spec/spec_helper.rb
1295
1295
  - spec/support/auth_macros.rb
1296
1296
  - spec/support/images/example.jpg
1297
- homepage: http://github.com/opoloo/lines-engine
1297
+ homepage: http://lines.opoloo.com
1298
1298
  licenses:
1299
1299
  - LGPL3
1300
1300
  metadata: {}
metadata.gz.sig CHANGED
Binary file