zepto-for-rails 0.3.12 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b5d58c2a62393a22ef93acee9a9ed2118eb724ea5ed0050dd1f2eb6e3a5637eb
4
- data.tar.gz: df863f2c09e7e6361c2834fca82cda70eb539b1f07122772caf0fed4653e8ede
3
+ metadata.gz: 57c463805eb26aa81453279e0da14ba1f42d5e1b121cd09ea85d679e878d2b7f
4
+ data.tar.gz: bd09ca57cdde548ae9255a558f1ff7362c8127593a178bfb8313de02ac38dcce
5
5
  SHA512:
6
- metadata.gz: d211cb20f88055b907c0f1f7ff26d6add0594ca43a4ebecba97330135357522c3fe5d1bc09696a83285edc614dced78642015080c30ffbf882b4d96c923a2dd7
7
- data.tar.gz: eb3b8525df8dcd9247e96edbfa2dcd30d3d655c9911026bcee9971f5cda5d9645ec3f8c07f910a423a3294da950d3b0fdb00dd719ff16f35ca4d46595d052244
6
+ metadata.gz: 4782737e808a8ecf4a568804aedafe820155e5f3596303326ce717c6620a8737ad7d34172d3a756fa956d55d81194b2b97394b6ff30e106a756cd88c0a95465d
7
+ data.tar.gz: 2ec4601f6d3cdba2a70749fd7c640896b0ed4ba2994cdf34c3f17eac9b10a8b438ab7018bd7e690017184caa539b388225bdd38ec48c0a729454dce0bc62e86f
data/.gitignore CHANGED
@@ -1 +1,14 @@
1
- *.gem
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # "Do not check your Gemfile.lock into version control, since it enforces precision
11
+ # that does not exist in the gem command, which is used to install gems in practice."
12
+ # - https://yehudakatz.com/2010/12/16/clarifying-the-roles-of-the-gemspec-and-gemfile/
13
+ Gemfile.lock
14
+ *.gem
data/Gemfile CHANGED
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  source 'http://rubygems.org'
2
4
 
3
5
  # Declare your gem's dependencies in zepto-rails.gemspec.
data/bin/release ADDED
@@ -0,0 +1,24 @@
1
+ #!/usr/bin/env bash
2
+
3
+ VERSION=$1
4
+
5
+ # Use the latest dependencies for the new gem version.
6
+ bundle
7
+
8
+ # Run all the rake task to ensure we're publishing a publishable gem.
9
+ rake
10
+
11
+ # Update the gem version.
12
+ printf "# frozen_string_literal: true\n\nmodule ZeptoForRails\n VERSION = \"$VERSION\"\nend\n" > ./lib/zepto_for_rails/version.rb
13
+ git add lib/zepto_for_rails/version.rb
14
+ git commit -m "Bump version for v$VERSION"
15
+ git push origin main
16
+
17
+ # Tag the new gem version.
18
+ git tag v$VERSION
19
+ git push --tags
20
+
21
+ # Build the new gem and publish it to Rubygems.
22
+ gem build zepto-for-rails.gemspec
23
+ gem push "zepto-for-rails-$VERSION.gem" --host https://rubygems.org
24
+ rm "zepto-for-rails-$VERSION.gem"
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ZeptoForRails
4
+ class Engine < ::Rails::Engine
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ZeptoForRails
4
+ VERSION = "1.0.0"
5
+ end
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'zepto_for_rails/engine'
4
+ require_relative 'zepto_for_rails/version'
5
+
6
+ module ZeptoForRails
7
+ end
@@ -1,22 +1,27 @@
1
- $:.push File.expand_path('../lib', __FILE__)
1
+ # frozen_string_literal: true
2
2
 
3
- # Maintain your gem's version:
4
- require 'zepto/for/rails/version'
3
+ require_relative 'lib/zepto_for_rails/version'
5
4
 
6
5
  # Describe your gem and declare its dependencies:
7
6
  Gem::Specification.new do |s|
8
7
  s.name = 'zepto-for-rails'
9
- s.version = Zepto::For::Rails::VERSION
8
+ s.version = ZeptoForRails::VERSION
10
9
  s.authors = ['Stefan Vermaas']
11
- s.email = ['stefanvermaas1991@gmail.com']
10
+ s.email = ['stefanvermaas@pm.me']
12
11
  s.homepage = 'https://github.com/stefanvermaas/zepto-for-rails'
13
12
  s.summary = 'Zepto.js for the rails asset pipeline'
14
13
  s.description = 'Provides a the zepto.js for the rails asset pipeline'
15
14
  s.licenses = ['MIT']
15
+ s.required_ruby_version = Gem::Requirement.new('>= 2.5')
16
16
 
17
- s.add_runtime_dependency 'rails', '> 4'
17
+ s.files = Dir.chdir(File.expand_path(__dir__)) do
18
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{\A(?:test|spec|features)/}) }
19
+ end
20
+
21
+ s.bindir = 'bin'
22
+ s.executables = s.files.grep(%r{\bin/}) { |f| File.basename(f) }
23
+ s.require_paths = %w[lib]
18
24
 
19
- s.files = `git ls-files`.split("\n")
20
- s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
21
- s.require_path = 'lib'
25
+ # Runtime dependencies
26
+ s.add_runtime_dependency 'rails', '> 4'
22
27
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zepto-for-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.12
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Vermaas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-25 00:00:00.000000000 Z
11
+ date: 2021-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -26,7 +26,7 @@ dependencies:
26
26
  version: '4'
27
27
  description: Provides a the zepto.js for the rails asset pipeline
28
28
  email:
29
- - stefanvermaas1991@gmail.com
29
+ - stefanvermaas@pm.me
30
30
  executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
@@ -34,12 +34,12 @@ files:
34
34
  - ".github/dependabot.yml"
35
35
  - ".gitignore"
36
36
  - Gemfile
37
- - Gemfile.lock
38
37
  - README.md
39
38
  - Rakefile
40
- - lib/zepto-for-rails.rb
41
- - lib/zepto/for/rails/engine.rb
42
- - lib/zepto/for/rails/version.rb
39
+ - bin/release
40
+ - lib/zepto_for_rails.rb
41
+ - lib/zepto_for_rails/engine.rb
42
+ - lib/zepto_for_rails/version.rb
43
43
  - vendor/assets/javascripts/zepto.js
44
44
  - zepto-for-rails.gemspec
45
45
  homepage: https://github.com/stefanvermaas/zepto-for-rails
@@ -54,14 +54,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
54
54
  requirements:
55
55
  - - ">="
56
56
  - !ruby/object:Gem::Version
57
- version: '0'
57
+ version: '2.5'
58
58
  required_rubygems_version: !ruby/object:Gem::Requirement
59
59
  requirements:
60
60
  - - ">="
61
61
  - !ruby/object:Gem::Version
62
62
  version: '0'
63
63
  requirements: []
64
- rubygems_version: 3.2.15
64
+ rubygems_version: 3.2.3
65
65
  signing_key:
66
66
  specification_version: 4
67
67
  summary: Zepto.js for the rails asset pipeline
data/Gemfile.lock DELETED
@@ -1,144 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- zepto-for-rails (0.3.11)
5
- rails (> 4)
6
-
7
- GEM
8
- remote: http://rubygems.org/
9
- specs:
10
- actioncable (6.1.4)
11
- actionpack (= 6.1.4)
12
- activesupport (= 6.1.4)
13
- nio4r (~> 2.0)
14
- websocket-driver (>= 0.6.1)
15
- actionmailbox (6.1.4)
16
- actionpack (= 6.1.4)
17
- activejob (= 6.1.4)
18
- activerecord (= 6.1.4)
19
- activestorage (= 6.1.4)
20
- activesupport (= 6.1.4)
21
- mail (>= 2.7.1)
22
- actionmailer (6.1.4)
23
- actionpack (= 6.1.4)
24
- actionview (= 6.1.4)
25
- activejob (= 6.1.4)
26
- activesupport (= 6.1.4)
27
- mail (~> 2.5, >= 2.5.4)
28
- rails-dom-testing (~> 2.0)
29
- actionpack (6.1.4)
30
- actionview (= 6.1.4)
31
- activesupport (= 6.1.4)
32
- rack (~> 2.0, >= 2.0.9)
33
- rack-test (>= 0.6.3)
34
- rails-dom-testing (~> 2.0)
35
- rails-html-sanitizer (~> 1.0, >= 1.2.0)
36
- actiontext (6.1.4)
37
- actionpack (= 6.1.4)
38
- activerecord (= 6.1.4)
39
- activestorage (= 6.1.4)
40
- activesupport (= 6.1.4)
41
- nokogiri (>= 1.8.5)
42
- actionview (6.1.4)
43
- activesupport (= 6.1.4)
44
- builder (~> 3.1)
45
- erubi (~> 1.4)
46
- rails-dom-testing (~> 2.0)
47
- rails-html-sanitizer (~> 1.1, >= 1.2.0)
48
- activejob (6.1.4)
49
- activesupport (= 6.1.4)
50
- globalid (>= 0.3.6)
51
- activemodel (6.1.4)
52
- activesupport (= 6.1.4)
53
- activerecord (6.1.4)
54
- activemodel (= 6.1.4)
55
- activesupport (= 6.1.4)
56
- activestorage (6.1.4)
57
- actionpack (= 6.1.4)
58
- activejob (= 6.1.4)
59
- activerecord (= 6.1.4)
60
- activesupport (= 6.1.4)
61
- marcel (~> 1.0.0)
62
- mini_mime (>= 1.1.0)
63
- activesupport (6.1.4)
64
- concurrent-ruby (~> 1.0, >= 1.0.2)
65
- i18n (>= 1.6, < 2)
66
- minitest (>= 5.1)
67
- tzinfo (~> 2.0)
68
- zeitwerk (~> 2.3)
69
- builder (3.2.4)
70
- concurrent-ruby (1.1.9)
71
- crass (1.0.6)
72
- erubi (1.10.0)
73
- globalid (0.4.2)
74
- activesupport (>= 4.2.0)
75
- i18n (1.8.10)
76
- concurrent-ruby (~> 1.0)
77
- loofah (2.10.0)
78
- crass (~> 1.0.2)
79
- nokogiri (>= 1.5.9)
80
- mail (2.7.1)
81
- mini_mime (>= 0.1.1)
82
- marcel (1.0.1)
83
- method_source (1.0.0)
84
- mini_mime (1.1.0)
85
- mini_portile2 (2.5.3)
86
- minitest (5.14.4)
87
- nio4r (2.5.7)
88
- nokogiri (1.11.7)
89
- mini_portile2 (~> 2.5.0)
90
- racc (~> 1.4)
91
- racc (1.5.2)
92
- rack (2.2.3)
93
- rack-test (1.1.0)
94
- rack (>= 1.0, < 3)
95
- rails (6.1.4)
96
- actioncable (= 6.1.4)
97
- actionmailbox (= 6.1.4)
98
- actionmailer (= 6.1.4)
99
- actionpack (= 6.1.4)
100
- actiontext (= 6.1.4)
101
- actionview (= 6.1.4)
102
- activejob (= 6.1.4)
103
- activemodel (= 6.1.4)
104
- activerecord (= 6.1.4)
105
- activestorage (= 6.1.4)
106
- activesupport (= 6.1.4)
107
- bundler (>= 1.15.0)
108
- railties (= 6.1.4)
109
- sprockets-rails (>= 2.0.0)
110
- rails-dom-testing (2.0.3)
111
- activesupport (>= 4.2.0)
112
- nokogiri (>= 1.6)
113
- rails-html-sanitizer (1.3.0)
114
- loofah (~> 2.3)
115
- railties (6.1.4)
116
- actionpack (= 6.1.4)
117
- activesupport (= 6.1.4)
118
- method_source
119
- rake (>= 0.13)
120
- thor (~> 1.0)
121
- rake (13.0.3)
122
- sprockets (4.0.2)
123
- concurrent-ruby (~> 1.0)
124
- rack (> 1, < 3)
125
- sprockets-rails (3.2.2)
126
- actionpack (>= 4.0)
127
- activesupport (>= 4.0)
128
- sprockets (>= 3.0.0)
129
- thor (1.1.0)
130
- tzinfo (2.0.4)
131
- concurrent-ruby (~> 1.0)
132
- websocket-driver (0.7.5)
133
- websocket-extensions (>= 0.1.0)
134
- websocket-extensions (0.1.5)
135
- zeitwerk (2.4.2)
136
-
137
- PLATFORMS
138
- ruby
139
-
140
- DEPENDENCIES
141
- zepto-for-rails!
142
-
143
- BUNDLED WITH
144
- 2.1.4
@@ -1,8 +0,0 @@
1
- module Zepto
2
- module For
3
- module Rails
4
- class Engine < ::Rails::Engine
5
- end
6
- end
7
- end
8
- end
@@ -1,7 +0,0 @@
1
- module Zepto
2
- module For
3
- module Rails
4
- VERSION = '0.3.12'
5
- end
6
- end
7
- end
@@ -1,2 +0,0 @@
1
- require 'zepto/for/rails/engine'
2
- require 'zepto/for/rails/version'