stones 1.0.7 → 1.0.9

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
  SHA256:
3
- metadata.gz: cd5792c7ce35fae6508b5943f08cb061caaf8456fc9d80a694618d00aa595be3
4
- data.tar.gz: 8feba67b7a2a1c9c5b4ed97c5e7c1a8e50544095e5be5a10d1945d88a6b81dc6
3
+ metadata.gz: a130b8dd68791631c8ef273fd667462162f0172f5730b57ff9ba163ef97a1c58
4
+ data.tar.gz: 8ea219a385cf8283a327b7edc48f6afb904bc24421e53cee14c303150d79c6ba
5
5
  SHA512:
6
- metadata.gz: c80b3293b3cfdd0142acf4ddacec520be31bd99638bd27592ac983fcfa32ab5975e92cc53c4a73b0af7487b3d25455b2cb0559587709bd85fac4254efbc0ec04
7
- data.tar.gz: dea2050aa786d36d505373d1ab03e5529aa6f47d71960ab2029cd93b78051674f5610f10921be14f843a29b124416ff9e0b6151cc4b19831fa3c35c5807bab26
6
+ metadata.gz: e955524ade199938bd6b7097c5f44b6aafd9325db8235f7cca70af60fd128766aecc6b257b672fb65676818c7d6a882629fb4e59454bb5c286ad1614fff340f0
7
+ data.tar.gz: 0f201702aefebde121f84a99581aba058ded760081f6ea3a12436d3b94f4640cbe531c56ac7c48d6c79ad741e1183cb4039b65575e61c9eac88368f97f83bdfb
@@ -0,0 +1,49 @@
1
+ / A simple about rounded box
2
+
3
+ / Requires locals: { title: 'A Title' }
4
+ / and several predefined constants.
5
+
6
+ / Usage:
7
+ / app/controllers/root.rb:
8
+ /
9
+ / def about
10
+ / render 'about', locals: { title: 'An Application' }
11
+ / end
12
+
13
+
14
+ ruby:
15
+ app = "#{APP.capitalize} #{APP_VERSION || VERSION}"
16
+ if Rails.env.production?
17
+ ruby = "Ruby #{RUBY_VERSION}"
18
+ rails = "Rails #{Rails.version}"
19
+ else
20
+ ruby = "Ruby #{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}"
21
+ rails = "Rails #{Rails.version} (#{Rails.env})"
22
+ end
23
+
24
+ css:
25
+ div#about {
26
+ height: 70%;
27
+ margin: 1em 0;
28
+ display: flex;
29
+ justify-content: center;
30
+ align-items: center;
31
+ font-size: 1.5em;
32
+ font-weight: bold;
33
+ }
34
+ div#about div#rounded-box {
35
+ border: 1px solid grey;
36
+ border-radius: 0.3em;
37
+ padding: 5px 8px;
38
+ }
39
+
40
+ div#about
41
+ div#rounded-box
42
+ - if title
43
+ h1 = title
44
+ hr
45
+ div #{app}
46
+ div #{rails}
47
+ div #{ruby}
48
+ div Started at #{STARTED_AT}
49
+ div Time #{Time.now.strftime(DATE_TIME_FORMAT)}
@@ -1,5 +1,6 @@
1
1
  module Stones
2
- VERSION = '1.0.7' # 2018-11-10
2
+ VERSION = '1.0.9' # 2018-11-11
3
+ # VERSION = '1.0.7' # 2018-11-10
3
4
  # VERSION = '1.0.6' # 2018-10-29
4
5
  # VERSION = '1.0.5' # 2018-09-09
5
6
  # VERSION = '1.0.4' # 2018-08-06
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stones
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-10 00:00:00.000000000 Z
11
+ date: 2018-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -65,6 +65,7 @@ files:
65
65
  - app/views/layouts/_header.slim
66
66
  - app/views/layouts/_html_head.slim
67
67
  - app/views/layouts/application.html.erb
68
+ - app/views/root/about.slim
68
69
  - app/views/shared/_error_explanation.html.erb
69
70
  - config/initializers/concerns.rb
70
71
  - lib/stones.rb