lines-engine 0.4.6.4 → 0.5

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: 5a20ae95168e6f05757c5498d7d72306f60d7bbe
4
- data.tar.gz: 42e781bdc2d697c95957fd38d863c45b90c07136
3
+ metadata.gz: 42964593398a6b475281340989af216edc6ce376
4
+ data.tar.gz: 3c1bc4bf999bee98015a34ec6466b95c628e2703
5
5
  SHA512:
6
- metadata.gz: 6c3817425fb844dec8619c4f4d20159d38868db521914bc96af595f8e34f53b34fa20dd2725169ec3ccb50b9c86c904bce05b5b99d98e15b1ae0a2476a42a144
7
- data.tar.gz: 6cd01512aaf58f14afd82b7809bd830c709f19768de6c9dc40d9727bb3cab810ce2175df63435480af0d64c0b77389c20c3fc3594c00e62a2c3c0d58c5bfddd0
6
+ metadata.gz: 4ae0c4f21272902fc6f3aa5837c3032b9527c6b1f135b11a6862fe1b027b870a832d9c86dbe4db1207ddc55cc0581efc50f896915a688d14c87eca756b99447e
7
+ data.tar.gz: ef78b41edf3abb6112cdc746b184286a5e8c3b416e0528ce582154d0076bf88887c2a63af279eb33076287c41586c9c7738de448da2723a34308070128ef3b96
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5
4
+
5
+ - Completely moved from sprockets to SASS @import statements. Be aware that you have to remove all "*= require" statements from your CSS manifest and use @import instead. For more information, see: http://guides.rubyonrails.org/asset_pipeline.html
6
+ - Require statements from css manifest files removed that prevented @import statements to work correctly
7
+ - renamed .css.scss files to .scss due to Rails deprecation warning
8
+
9
+
3
10
  ## 0.4.6.x
4
11
 
5
12
  - Fixed caching bug.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- lines-engine (0.4.6.4)
4
+ lines-engine (0.5)
5
5
  acts-as-taggable-on (~> 3.2.6, >= 3.2.6)
6
6
  bcrypt (~> 3.1.0, >= 3.1.0)
7
7
  bcrypt-ruby (>= 3.0.0, <= 4)
@@ -86,15 +86,15 @@ GEM
86
86
  coffee-rails (4.1.0)
87
87
  coffee-script (>= 2.2.0)
88
88
  railties (>= 4.0.0, < 5.0)
89
- coffee-script (2.3.0)
89
+ coffee-script (2.4.1)
90
90
  coffee-script-source
91
91
  execjs
92
- coffee-script-source (1.9.1)
92
+ coffee-script-source (1.9.1.1)
93
93
  colorize (0.7.3)
94
94
  crass (0.2.1)
95
95
  diff-lcs (1.2.5)
96
96
  erubis (2.7.0)
97
- execjs (2.4.0)
97
+ execjs (2.5.2)
98
98
  factory_girl (4.4.0)
99
99
  activesupport (>= 3.0.0)
100
100
  factory_girl_rails (4.4.1)
@@ -115,10 +115,9 @@ GEM
115
115
  guard-rspec (4.3.1)
116
116
  guard (~> 2.1)
117
117
  rspec (>= 2.14, < 4.0)
118
- hike (1.2.3)
119
118
  hitimes (1.2.2)
120
119
  i18n (0.6.11)
121
- jquery-fileupload-rails (0.4.4)
120
+ jquery-fileupload-rails (0.4.5)
122
121
  actionpack (>= 3.1)
123
122
  railties (>= 3.1)
124
123
  sass (>= 3.2)
@@ -146,7 +145,6 @@ GEM
146
145
  mime-types (2.3)
147
146
  mini_portile (0.6.0)
148
147
  minitest (5.4.2)
149
- multi_json (1.11.0)
150
148
  mysql2 (0.3.17)
151
149
  net-scp (1.2.1)
152
150
  net-ssh (>= 2.6.5)
@@ -156,12 +154,12 @@ GEM
156
154
  nokogumbo (1.1.12)
157
155
  nokogiri
158
156
  orm_adapter (0.5.0)
159
- posix-spawn (0.3.10)
157
+ posix-spawn (0.3.11)
160
158
  pry (0.10.1)
161
159
  coderay (~> 1.1.0)
162
160
  method_source (~> 0.8.1)
163
161
  slop (~> 3.4)
164
- pygments.rb (0.6.2)
162
+ pygments.rb (0.6.3)
165
163
  posix-spawn (~> 0.3.6)
166
164
  yajl-ruby (~> 1.2.0)
167
165
  rack (1.5.2)
@@ -212,7 +210,7 @@ GEM
212
210
  nokogiri (>= 1.4.4)
213
211
  nokogumbo (= 1.1.12)
214
212
  sass (3.4.13)
215
- sass-rails (5.0.1)
213
+ sass-rails (5.0.3)
216
214
  railties (>= 4.0.0, < 5.0)
217
215
  sass (~> 3.1)
218
216
  sprockets (>= 2.8, < 4.0)
@@ -224,11 +222,8 @@ GEM
224
222
  sitemap_generator (5.0.5)
225
223
  builder
226
224
  slop (3.6.0)
227
- sprockets (2.12.3)
228
- hike (~> 1.2)
229
- multi_json (~> 1.0)
225
+ sprockets (3.0.1)
230
226
  rack (~> 1.0)
231
- tilt (~> 1.1, != 1.3.0)
232
227
  sprockets-rails (2.2.4)
233
228
  actionpack (>= 3.0)
234
229
  activesupport (>= 3.0)
@@ -8,16 +8,15 @@
8
8
  * You're free to add application-wide styles to this file and they'll appear at the top of the
9
9
  * compiled file, but it's generally better to create a new file per style scope.
10
10
  *
11
- *= require_self
12
- *= require lines/pygments
13
11
  */
14
12
 
15
- @import 'fonts.css.scss';
16
- @import 'variables_and_mixins.css.scss';
17
- @import 'navbar.css.scss';
18
- @import 'general.css.scss';
19
- @import 'article.css.scss';
20
- @import 'pagination.css.scss';
21
- @import 'footer.css.scss';
22
- @import 'media_queries.css.scss';
23
- @import 'lines_overrides.css.scss';
13
+ @import 'pygments.css';
14
+ @import 'fonts';
15
+ @import 'variables_and_mixins';
16
+ @import 'navbar';
17
+ @import 'general';
18
+ @import 'article';
19
+ @import 'pagination';
20
+ @import 'footer';
21
+ @import 'media_queries';
22
+ @import 'lines_overrides';
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Place your custom CSS and overrides here.
3
+ * Make sure to only use the override file for your custom CSS. The original CSS files may be overwritten
4
+ * with newer gem versions.
5
+ *
6
+ */
data/db/seeds.rb CHANGED
@@ -4,6 +4,6 @@ img = Lines::Picture.create!({ image: (File.open(File.join(Rails.root, 'vendor/s
4
4
 
5
5
  Lines::Article.create({ :title => "Congratulations! You Have a Lines Blog.", :sub_title => "Here's what you get", :content => "This blog is designed to put the reading experience first. The viewer scales perfectly to all screen sizes and devices. So no frustration for the reader caused by small illegible text, but full focus on content instead. \r\n\r\nThe editing system is designed to work simply and beautifully, from action bar to usability issues, so you can use your time thinking about your writing.\r\n\r\n#Technology\r\n\r\nThis blog is based on Ruby on Rails 3.2, which is all you need besides a database that supports it. We're using a MySQL database. We're providing as clean a code as possible, and of course we'll maintain it and keep it up-to-date on GitHub.\r\n\r\n#For Developers\r\nNearly everything about this blog template can be customized to your personal needs and preferences.\r\n\r\n#Default features\r\n+ 960x540 px hero graphics for posts\r\n+ upload default hero images that you want to use more frequently\r\n+ customizable generic titles & subtitles\r\n+ automatic teaser for the article overview\r\n+ six headline styles according to priority\r\n+ *italics* & **bold text**\r\n+ > block quotes\r\n\r\n+ images, lists, links\r\n+ code examples in markdown\r\n\r\n```\r\nfunction fancyAlert(arg) {\r\n if(arg) {\r\n $.facebox({div:'#foo'})\r\n }\r\n}\r\n```\r\n+ tags for articles\r\n+ G+ link to social network discussion\r\n+ multiple authors and author information\r\n+ add documents for download\r\n+ formatting help\r\n+ direct RSS reader access\r\n+ customizable footer\r\n\r\nBy default, the featured post (usually the latest one) is fully displayed, but you may choose your featured post. Below that, the user finds an overview of all the articles published with a small hero graphic and a teaser. If you have more than ten articles in your overview, pagination kicks in. \r\n\r\n#Non-Features\r\n+ management hassle\r\n+ rights and legal bullshit\r\n+ complicated settings\r\n+ disco lights\r\n\r\n\r\n#Design\r\n###Fonts: \r\nHeadlines for posts and H1.s are set in \"Museo\", the rest is \"Ubuntu\" — clean, future-oriented, democratic, appealing.\r\n# So, an H1 headline would look like this\r\n## Whereas, an H2 looks like this\r\n###And so on\r\n####And so forth\r\n#####Until, finally\r\n######You come to an H6. \r\n######Sometimes, it's nice to use those headline tags for highlighting continuing text, too, or for footnotes, additional comments, whatever you can imagine.\r\n\r\n###Colors: \r\nOpoloo orange and shades of grey\r\n\r\n###Flat: \r\nOur Android background clearly shows in the completely flat design approach. No drop shadows, no gloss, no distractions.\r\n\r\n\r\n#And finally ...\r\nWe hope you'll be as happy with this framework as we are. And if not, you can always change it. For any concerns, do by all means [contact us](http://www.opoloo.com/#kontakt).\r\n\r\n\r\n![Octoloo](#{img.image.url})\r\n", :published => true, :published_at => Time.now, :hero_image => "", :created_at => Time.now, :updated_at => Time.now, :slug => "congratulations-you-have-a-lines-blog", :gplus_url => "", :featured => true, :document => nil, :short_hero_image => "/heroes/001_dark.jpg" , :authors => [Lines::Author.first]})
6
6
 
7
- Lines::Article.create({ :title => "Customization & License", :sub_title => "", :content => "Find below all the important details you need to know about customizing your new blog system: modifying the stylesheets, adapting header & footer, and on.\r\n\r\nWe also made sure you get a friendly user license that gives you the freedom to do almost everything you want with this blog.\r\n\r\n#Customization\r\n\r\n##Modify CSS/SCSS\r\nAdmin viewer SCSS: \r\n```app/assets/stylesheets/admin.css.scss\r\n```\r\nDefault viewer SCSS: \r\n```app/assets/stylesheets/style.css.scss\r\n```\r\n##Header (Meta) & Footer\r\nTo change the header/meta/footer elements you need to modify\r\n```app/views/layouts/application.html.erb\r\n```\r\n\r\n#License\r\nYou may use the Lines blog template as you please. You must, however, keep the footer section, so attribution to Lines and Opoloo is granted.\r\n\r\nWe 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.\r\n\r\nYou can see the full license [here](choosealicense.com/licenses/lgpl-v3/).", :published => true, :published_at => Time.now, :hero_image => "", :created_at => Time.now, :updated_at => Time.now, :slug => "customization-license", :gplus_url => "", :featured => false, :document => nil, :short_hero_image => "/heroes/001_dark.jpg" , :authors => [Lines::Author.first]})
7
+ Lines::Article.create({ :title => "Customization & License", :sub_title => "", :content => "Find below all the important details you need to know about customizing your new blog system: modifying the stylesheets, adapting header & footer, and on.\r\n\r\nWe also made sure you get a friendly user license that gives you the freedom to do almost everything you want with this blog.\r\n\r\n#Customization\r\n\r\n##Modify CSS/SCSS\r\nAdmin viewer SCSS: \r\n```app/assets/stylesheets/admin.scss\r\n```\r\nDefault viewer SCSS: \r\n```app/assets/stylesheets/style.scss\r\n```\r\n##Header (Meta) & Footer\r\nTo change the header/meta/footer elements you need to modify\r\n```app/views/layouts/application.html.erb\r\n```\r\n\r\n#License\r\nYou may use the Lines blog template as you please. You must, however, keep the footer section, so attribution to Lines and Opoloo is granted.\r\n\r\nWe 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.\r\n\r\nYou can see the full license [here](choosealicense.com/licenses/lgpl-v3/).", :published => true, :published_at => Time.now, :hero_image => "", :created_at => Time.now, :updated_at => Time.now, :slug => "customization-license", :gplus_url => "", :featured => false, :document => nil, :short_hero_image => "/heroes/001_dark.jpg" , :authors => [Lines::Author.first]})
8
8
 
9
9
  Lines::Article.create({ :title => "Lines Needs You", :sub_title => "", :content => "We believe in the power of open source. It's one of the best ways to push the boundaries of the web. Because Lines is still a young platform, it needs your help so it can mature and grow to its aspired size and strength. We can't wait to see all the great things your brilliant brain and fingers will do with this project.", :published => true, :published_at => Time.now, :hero_image => "", :created_at => Time.now, :updated_at => Time.now, :slug => "lines-needs-you", :gplus_url => "", :featured => false, :document => nil, :short_hero_image => "/heroes/003.jpg", :authors => [Lines::Author.first] })
data/lib/lines/engine.rb CHANGED
@@ -25,7 +25,7 @@ module Lines
25
25
  end
26
26
 
27
27
  initializer "lines.assets.precompile" do |app|
28
- app.config.assets.precompile += %w(lines/admin.css lines/admin.js)
28
+ app.config.assets.precompile += %w(lines/application.css lines/application.js lines/admin.css lines/admin.js)
29
29
  end
30
30
 
31
31
  initializer 'lines.action_controller' do |app|
data/lib/lines/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Lines
2
- VERSION = "0.4.6.4"
2
+ VERSION = "0.5"
3
3
  end
@@ -10,6 +10,4 @@
10
10
  * defined in the other CSS/SCSS files in this directory. It is generally better to create a new
11
11
  * file per style scope.
12
12
  *
13
- *= require_tree .
14
- *= require_self
15
13
  */
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lines-engine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.6.4
4
+ version: '0.5'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Opoloo GbR
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-25 00:00:00.000000000 Z
11
+ date: 2015-04-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: orm_adapter
@@ -650,18 +650,18 @@ files:
650
650
  - app/assets/javascripts/lines/articles.js.coffee
651
651
  - app/assets/javascripts/lines/autosize.min.js
652
652
  - app/assets/javascripts/lines/pictures.js.coffee
653
- - app/assets/stylesheets/lines/admin.css.scss
654
- - app/assets/stylesheets/lines/application.css.scss
655
- - app/assets/stylesheets/lines/article.css.scss
656
- - app/assets/stylesheets/lines/fonts.css.scss
657
- - app/assets/stylesheets/lines/footer.css.scss
658
- - app/assets/stylesheets/lines/general.css.scss
659
- - app/assets/stylesheets/lines/lines_overrides.css.scss
660
- - app/assets/stylesheets/lines/media_queries.css.scss
661
- - app/assets/stylesheets/lines/navbar.css.scss
662
- - app/assets/stylesheets/lines/pagination.css.scss
653
+ - app/assets/stylesheets/lines/admin.scss
654
+ - app/assets/stylesheets/lines/application.scss
655
+ - app/assets/stylesheets/lines/article.scss
656
+ - app/assets/stylesheets/lines/fonts.scss
657
+ - app/assets/stylesheets/lines/footer.scss
658
+ - app/assets/stylesheets/lines/general.scss
659
+ - app/assets/stylesheets/lines/lines_overrides.scss
660
+ - app/assets/stylesheets/lines/media_queries.scss
661
+ - app/assets/stylesheets/lines/navbar.scss
662
+ - app/assets/stylesheets/lines/pagination.scss
663
663
  - app/assets/stylesheets/lines/pygments.css.erb
664
- - app/assets/stylesheets/lines/variables_and_mixins.css.scss
664
+ - app/assets/stylesheets/lines/variables_and_mixins.scss
665
665
  - app/controllers/lines/admin/application_controller.rb
666
666
  - app/controllers/lines/admin/articles_controller.rb
667
667
  - app/controllers/lines/admin/authors_controller.rb
@@ -1,9 +0,0 @@
1
- /*
2
- * Place your custom CSS and overrides here. You can find the original CSS source under:
3
- *
4
- * app/assets/stylesheets/lines/style.css.scss
5
- *
6
- * Make sure to only use the override file for your custom CSS. The style.css may be overwritten
7
- * with newer gem versions.
8
- *
9
- */