stones 1.1.3 → 1.2.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
  SHA256:
3
- metadata.gz: 61c6847a8f4b75864fd0d6639d5c6b8c72b13864593dfceb08d5e6586c54cd30
4
- data.tar.gz: 36767c3730cdd926f3dab475f9ff37c6b0624de9ca66dc42b92050bb6ad01bb0
3
+ metadata.gz: b06bca36b491605d0f1517a4945586aa228d9d50d9eab809a4c38b4fc4936c27
4
+ data.tar.gz: ffd59b0db7b8c95b091e62ad9a9c06e74d63365d72d5c2326283861b9b6d6527
5
5
  SHA512:
6
- metadata.gz: 60834f372484caaadd0878a3f80dc73604a541e058553f2b955a2ef3878450a8d682135e1cb224543f36b53b4076647c13b033dd3d5b82fd756f78d208dac05f
7
- data.tar.gz: 3b199479d153809903908bf227bce55db77a39189ee49b197a03277fdef9bffdc501767eba71ded614fede6515dbab5ecbf382ad7e8257bcd1973eaf20539b5b
6
+ metadata.gz: edb31fd337f037f4753d91cc27a9065ec5b4fe98aa643f3fcedda73b7b14848574abad7311156ae97647335c1b1377f538e8f28a127310d3f31b5d029f28a332
7
+ data.tar.gz: dc4c937d3e4f96bebbbf0721851385266adadbef0b1ad3bb2e9e94e07eb72458d6d53c8d868731b15b9d22b79349320d0fdbc768392e96db26722cae9778fec0
data/.ruby-gemset CHANGED
@@ -1 +1 @@
1
- rails-6.1
1
+ rails-7.0
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.7.2
1
+ ruby-3.1.0
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source "https://rubygems.org"
2
2
  gemspec
3
3
 
4
- gem 'rails'
4
+ gem "rails"
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  Stones
2
2
  ======
3
+ [![Gem Version](https://badge.fury.io/rb/stones.png)](http://badge.fury.io/rb/stones)
3
4
 
4
5
  Each time I created a new Rails project these files are required.
5
6
  I got tired of it and collected them in a gem.
@@ -38,11 +39,16 @@ Recommended
38
39
  -----------
39
40
 
40
41
  - rvm
41
- - ruby 2.7.2
42
- - rails 6.1
42
+ - ruby 3.1.0
43
+ - rails 7.0.1
43
44
 
44
45
  Dropped/cleaned files (still available in version 0.2.5):
45
46
 
46
47
  - Rakefile
47
48
  - .watchr
48
49
  - lib/tasks/backup.rake
50
+
51
+ Rails
52
+ -----
53
+
54
+ "stones" takes care of a "<head>" change introduced by Rails 7.x.
data/Rakefile CHANGED
@@ -1,8 +1,8 @@
1
1
  begin
2
- require 'bundler'
3
- require 'bundler/setup'
2
+ require "bundler"
3
+ require "bundler/setup"
4
4
  rescue LoadError
5
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ puts "You must `gem install bundler` and `bundle install` to run rake tasks"
6
6
  end
7
7
 
8
8
  Bundler::GemHelper.install_tasks
@@ -1,6 +1,18 @@
1
+ - version = Rails.version.to_f
2
+
3
+ - if version < 7.0
4
+ title = (APP || 'app').capitalize
5
+ = favicon_link_tag
6
+ = stylesheet_link_tag @stylesheet || 'application', media: 'all'
7
+ = stylesheet_link_tag 'print', media: 'print'
8
+ = javascript_include_tag 'application'
9
+ = csrf_meta_tags
10
+ - return
11
+
1
12
  title = (APP || 'app').capitalize
2
- = favicon_link_tag
3
- = stylesheet_link_tag @stylesheet || 'application', media: 'all'
4
- = stylesheet_link_tag 'print', media: 'print'
5
- = javascript_include_tag 'application'
13
+ meta name="viewport" content="width=device-width,initial-scale=1"
6
14
  = csrf_meta_tags
15
+ = csp_meta_tag
16
+
17
+ = stylesheet_link_tag "application", "data-turbo-track": "reload"
18
+ = javascript_importmap_tags
@@ -2,15 +2,16 @@
2
2
  # rubocop: disable all
3
3
 
4
4
  module Stones
5
- VERSION = '1.1.3' # 2021-06-23
6
- # VERSION = '1.1.2' # 2020-04-27
7
- # VERSION = '1.1.1' # 2020-03-22
8
- # VERSION = '1.1.0' # 2020-03-02
9
- # VERSION = '1.0.10' # 2019-09-27
10
- # VERSION = '1.0.9' # 2018-11-11
11
- # VERSION = '1.0.7' # 2018-11-10
12
- # VERSION = '1.0.6' # 2018-10-29
13
- # VERSION = '1.0.5' # 2018-09-09
14
- # VERSION = '1.0.4' # 2018-08-06
15
- # VERSION = '1.0.3'
5
+ VERSION = '1.2.0' # 2022-02-12
6
+ # VERSION = '1.1.3' # 2021-06-23
7
+ # VERSION = '1.1.2' # 2020-04-27
8
+ # VERSION = '1.1.1' # 2020-03-22
9
+ # VERSION = '1.1.0' # 2020-03-02
10
+ # VERSION = '1.0.10'# 2019-09-27
11
+ # VERSION = '1.0.9' # 2018-11-11
12
+ # VERSION = '1.0.7' # 2018-11-10
13
+ # VERSION = '1.0.6' # 2018-10-29
14
+ # VERSION = '1.0.5' # 2018-09-09
15
+ # VERSION = '1.0.4' # 2018-08-06
16
+ # VERSION = '1.0.3'
16
17
  end
data/stones.gemspec CHANGED
@@ -1,26 +1,25 @@
1
- lib = File.expand_path('../lib', __FILE__)
1
+ lib = File.expand_path("../lib", __FILE__)
2
2
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require 'stones/version'
3
+ require "stones/version"
4
4
 
5
5
  Gem::Specification.new do |s|
6
- s.name = 'stones'
7
- s.version = Stones::VERSION
8
- s.platform = Gem::Platform::RUBY
9
- s.summary = "Stones contains some basic files."
6
+ s.name = "stones"
7
+ s.version = Stones::VERSION
8
+ s.platform = Gem::Platform::RUBY
9
+ s.summary = "Stones contains some basic files."
10
10
  s.description = "A collection of, hopefully, useful files."
11
- s.authors = ['Dittmar Krall']
12
- s.email = ['dittmar.krall@matique.de']
13
- s.homepage = 'http://matique.de'
14
- s.license = 'MIT'
15
- s.platform = Gem::Platform::RUBY
11
+ s.authors = ["Dittmar Krall"]
12
+ s.email = ["dittmar.krall@matique.com"]
13
+ s.homepage = "http://matique.com"
14
+ s.license = "MIT"
16
15
 
17
- s.metadata['source_code_uri'] = 'https://github.com/matique/stones'
16
+ s.metadata["source_code_uri"] = "https://github.com/matique/stones"
18
17
 
19
- s.files = `git ls-files`.split("\n")
20
- # s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
21
- # s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
18
+ s.files = `git ls-files`.split("\n")
19
+ # s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
20
+ # s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
22
21
  s.require_paths = ["lib"]
23
22
 
24
- s.add_development_dependency 'bundler'
25
- s.add_development_dependency 'rake'
23
+ s.add_development_dependency "bundler"
24
+ s.add_development_dependency "rake"
26
25
  end
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.1.3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dittmar Krall
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-23 00:00:00.000000000 Z
11
+ date: 2022-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -40,13 +40,12 @@ dependencies:
40
40
  version: '0'
41
41
  description: A collection of, hopefully, useful files.
42
42
  email:
43
- - dittmar.krall@matique.de
43
+ - dittmar.krall@matique.com
44
44
  executables: []
45
45
  extensions: []
46
46
  extra_rdoc_files: []
47
47
  files:
48
48
  - ".gitignore"
49
- - ".rubocop.yml"
50
49
  - ".ruby-gemset"
51
50
  - ".ruby-version"
52
51
  - Gemfile
@@ -73,7 +72,7 @@ files:
73
72
  - lib/stones/engine.rb
74
73
  - lib/stones/version.rb
75
74
  - stones.gemspec
76
- homepage: http://matique.de
75
+ homepage: http://matique.com
77
76
  licenses:
78
77
  - MIT
79
78
  metadata:
@@ -93,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
93
92
  - !ruby/object:Gem::Version
94
93
  version: '0'
95
94
  requirements: []
96
- rubygems_version: 3.2.6
95
+ rubygems_version: 3.3.3
97
96
  signing_key:
98
97
  specification_version: 4
99
98
  summary: Stones contains some basic files.
data/.rubocop.yml DELETED
@@ -1,9 +0,0 @@
1
- inherit_from:
2
- - ~/configs/.rubocop.yml
3
-
4
- AllCops:
5
- NewCops: enable
6
- Include:
7
- - 'lib/**/*.rb'
8
- Exclude:
9
- - 'test/**/*'