clockwork_web 0.1.1 → 0.2.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/LICENSE.txt +1 -1
- data/README.md +13 -2
- data/app/controllers/clockwork_web/home_controller.rb +2 -0
- data/app/helpers/clockwork_web/home_helper.rb +1 -1
- data/lib/clockwork_web/version.rb +1 -1
- metadata +11 -39
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 74d73597a4897bf13454c224f641f29f33f4eb7f52f601d61310fb49c633e6da
|
|
4
|
+
data.tar.gz: ba1c41be2a4ca03b4c3a96988683b79223dcfc5a65c94ae6608249acf3ae4a15
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4c88b828b6c387fba8cbe67d874df5eea3ed0b5464701be2ef21be3ecbc311c713e50e01885b3e24e9b3b654321ebba18a0cdb287eeff2e9b1bf7f89075d3e14
|
|
7
|
+
data.tar.gz: 2597b48a72c38ae3cd9fda8abc068a0767a857489c018a3398d1ba3b1978cfbd75c13a3a3fdb5b5534de30c108c0c80c458d89836a1ffd8a45fdf55a2142a6ec
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 0.2.0 (2023-02-01)
|
|
2
|
+
|
|
3
|
+
- Dropped support for Ruby < 2.7 and Rails < 6
|
|
4
|
+
|
|
5
|
+
## 0.1.2 (2023-02-01)
|
|
6
|
+
|
|
7
|
+
- Fixed CSRF vulnerability with Rails < 5.2 - [more info](https://github.com/ankane/clockwork_web/issues/4)
|
|
8
|
+
|
|
1
9
|
## 0.1.1 (2020-03-19)
|
|
2
10
|
|
|
3
11
|
- Fixed load error
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -10,12 +10,14 @@ A web interface for Clockwork
|
|
|
10
10
|
|
|
11
11
|
:tangerine: Battle-tested at [Instacart](https://www.instacart.com/opensource)
|
|
12
12
|
|
|
13
|
+
[](https://github.com/ankane/clockwork_web/actions)
|
|
14
|
+
|
|
13
15
|
## Installation
|
|
14
16
|
|
|
15
17
|
Add this line to your application’s Gemfile:
|
|
16
18
|
|
|
17
19
|
```ruby
|
|
18
|
-
gem
|
|
20
|
+
gem "clockwork_web"
|
|
19
21
|
```
|
|
20
22
|
|
|
21
23
|
And add it to your `config/routes.rb`.
|
|
@@ -44,7 +46,7 @@ ENV["CLOCKWORK_PASSWORD"] = "secret"
|
|
|
44
46
|
#### Devise
|
|
45
47
|
|
|
46
48
|
```ruby
|
|
47
|
-
authenticate :user,
|
|
49
|
+
authenticate :user, ->(user) { user.admin? } do
|
|
48
50
|
mount ClockworkWeb::Engine, at: "clockwork"
|
|
49
51
|
end
|
|
50
52
|
```
|
|
@@ -82,3 +84,12 @@ Everyone is encouraged to help improve this project. Here are a few ways you can
|
|
|
82
84
|
- Fix bugs and [submit pull requests](https://github.com/ankane/clockwork_web/pulls)
|
|
83
85
|
- Write, clarify, or fix documentation
|
|
84
86
|
- Suggest or add new features
|
|
87
|
+
|
|
88
|
+
To get started with development:
|
|
89
|
+
|
|
90
|
+
```sh
|
|
91
|
+
git clone https://github.com/ankane/clockwork_web.git
|
|
92
|
+
cd clockwork_web
|
|
93
|
+
bundle install
|
|
94
|
+
bundle exec rake test
|
|
95
|
+
```
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: clockwork_web
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andrew Kane
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-02-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: clockwork
|
|
@@ -44,44 +44,16 @@ dependencies:
|
|
|
44
44
|
requirements:
|
|
45
45
|
- - ">="
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '6'
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - ">="
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
|
58
|
-
requirements:
|
|
59
|
-
- - ">="
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: '0'
|
|
62
|
-
type: :development
|
|
63
|
-
prerelease: false
|
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
65
|
-
requirements:
|
|
66
|
-
- - ">="
|
|
67
|
-
- !ruby/object:Gem::Version
|
|
68
|
-
version: '0'
|
|
69
|
-
- !ruby/object:Gem::Dependency
|
|
70
|
-
name: rake
|
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
|
72
|
-
requirements:
|
|
73
|
-
- - ">="
|
|
74
|
-
- !ruby/object:Gem::Version
|
|
75
|
-
version: '0'
|
|
76
|
-
type: :development
|
|
77
|
-
prerelease: false
|
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
79
|
-
requirements:
|
|
80
|
-
- - ">="
|
|
81
|
-
- !ruby/object:Gem::Version
|
|
82
|
-
version: '0'
|
|
83
|
-
description:
|
|
84
|
-
email: andrew@chartkick.com
|
|
54
|
+
version: '6'
|
|
55
|
+
description:
|
|
56
|
+
email: andrew@ankane.org
|
|
85
57
|
executables: []
|
|
86
58
|
extensions: []
|
|
87
59
|
extra_rdoc_files: []
|
|
@@ -100,7 +72,7 @@ homepage: https://github.com/ankane/clockwork_web
|
|
|
100
72
|
licenses:
|
|
101
73
|
- MIT
|
|
102
74
|
metadata: {}
|
|
103
|
-
post_install_message:
|
|
75
|
+
post_install_message:
|
|
104
76
|
rdoc_options: []
|
|
105
77
|
require_paths:
|
|
106
78
|
- lib
|
|
@@ -108,15 +80,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
108
80
|
requirements:
|
|
109
81
|
- - ">="
|
|
110
82
|
- !ruby/object:Gem::Version
|
|
111
|
-
version: '2.
|
|
83
|
+
version: '2.7'
|
|
112
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
113
85
|
requirements:
|
|
114
86
|
- - ">="
|
|
115
87
|
- !ruby/object:Gem::Version
|
|
116
88
|
version: '0'
|
|
117
89
|
requirements: []
|
|
118
|
-
rubygems_version: 3.1
|
|
119
|
-
signing_key:
|
|
90
|
+
rubygems_version: 3.4.1
|
|
91
|
+
signing_key:
|
|
120
92
|
specification_version: 4
|
|
121
93
|
summary: A web interface for Clockwork
|
|
122
94
|
test_files: []
|