punk 0.0.1 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ship.yml +26 -0
- data/.github/workflows/test.yml +20 -0
- data/.rubocop.yml +243 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +2 -1
- data/README.md +11 -0
- data/Rakefile +7 -9
- data/VERSION +1 -1
- data/bin/punk +0 -1
- data/env/test.sh +5 -0
- data/lib/punk/commands/http.rb +3 -3
- data/lib/punk/core/app.rb +22 -5
- data/lib/punk/core/commander.rb +5 -2
- data/lib/punk/core/worker.rb +1 -1
- data/lib/punk/framework/runnable.rb +1 -1
- data/punk.gemspec +11 -4
- metadata +21 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 032da75c1fc1dd84c9fb0178bcdddc8b47d365d4eeb58f0e844d995c7e3b5108
|
4
|
+
data.tar.gz: c4226fcf9efe2dea99b33b38c2dd23969beb16c6891b8761144553ced4aed557
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '069992c6d41d5655a1619c3051113da00dbec82895ca0ba760fd7644da2bd823b6e39ef9d617df869b550bcaa3b7cb443e6004536bb2aaef9466b811a03d2df1'
|
7
|
+
data.tar.gz: 7f69a6cfb7635e67d627432cf9c9bc7878f69d7aed6508b212ff2f591ababa68985152e869cbdbb3781261b4611139f6a6cdcaf2362f8ddeaca78583a6af839f
|
@@ -0,0 +1,26 @@
|
|
1
|
+
name: ship
|
2
|
+
|
3
|
+
on:
|
4
|
+
release:
|
5
|
+
types:
|
6
|
+
- published
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
ship:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
steps:
|
12
|
+
- uses: actions/checkout@v2
|
13
|
+
- name: Set up Ruby
|
14
|
+
uses: ruby/setup-ruby@v1
|
15
|
+
with:
|
16
|
+
ruby-version: 2.5.8
|
17
|
+
bundler-cache: true
|
18
|
+
- name: Deploy to RubyGems
|
19
|
+
run: |
|
20
|
+
mkdir -p $HOME/.gem
|
21
|
+
touch $HOME/.gem/credentials
|
22
|
+
chmod 0600 $HOME/.gem/credentials
|
23
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
24
|
+
bundle exec rake release LOCAL_BRANCH=$GITHUB_REF
|
25
|
+
env:
|
26
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
@@ -0,0 +1,20 @@
|
|
1
|
+
name: test
|
2
|
+
|
3
|
+
on: [push, pull_request]
|
4
|
+
|
5
|
+
jobs:
|
6
|
+
test:
|
7
|
+
runs-on: ubuntu-latest
|
8
|
+
env:
|
9
|
+
PUNK_ENV: test
|
10
|
+
steps:
|
11
|
+
- uses: actions/checkout@v2
|
12
|
+
- name: Set up Ruby
|
13
|
+
uses: ruby/setup-ruby@v1
|
14
|
+
with:
|
15
|
+
ruby-version: 2.5.8
|
16
|
+
bundler-cache: true
|
17
|
+
- name: Lint files
|
18
|
+
run: bundle exec rubocop
|
19
|
+
- name: Run specs
|
20
|
+
run: bundle exec rspec
|
data/.rubocop.yml
ADDED
@@ -0,0 +1,243 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rails
|
3
|
+
- rubocop-rspec
|
4
|
+
|
5
|
+
AllCops:
|
6
|
+
NewCops: enable
|
7
|
+
TargetRubyVersion: 2.5
|
8
|
+
DisplayCopNames: true
|
9
|
+
Exclude:
|
10
|
+
- "punk.gemspec"
|
11
|
+
- ".bundle/**/*"
|
12
|
+
- "vendor/**/*"
|
13
|
+
- "node_modules/**/*"
|
14
|
+
|
15
|
+
RSpec/DescribeMethod:
|
16
|
+
Exclude:
|
17
|
+
- spec/routes/**/*
|
18
|
+
|
19
|
+
RSpec/FilePath:
|
20
|
+
Exclude:
|
21
|
+
- spec/routes/**/*
|
22
|
+
|
23
|
+
Layout/EmptyLineAfterGuardClause:
|
24
|
+
Enabled: false
|
25
|
+
|
26
|
+
Layout/EmptyLinesAroundAttributeAccessor:
|
27
|
+
Enabled: true
|
28
|
+
|
29
|
+
Layout/ExtraSpacing:
|
30
|
+
AllowForAlignment: false
|
31
|
+
|
32
|
+
Layout/FirstHashElementIndentation:
|
33
|
+
EnforcedStyle: consistent
|
34
|
+
|
35
|
+
Layout/LineLength:
|
36
|
+
Enabled: false
|
37
|
+
|
38
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
39
|
+
EnforcedStyle: no_space
|
40
|
+
|
41
|
+
Layout/SpaceAroundMethodCallOperator:
|
42
|
+
Enabled: true
|
43
|
+
|
44
|
+
Layout/SpaceBeforeBrackets:
|
45
|
+
Enabled: false
|
46
|
+
|
47
|
+
Lint/BinaryOperatorWithIdenticalOperands:
|
48
|
+
Enabled: true
|
49
|
+
|
50
|
+
Lint/DeprecatedOpenSSLConstant:
|
51
|
+
Enabled: true
|
52
|
+
|
53
|
+
Lint/DuplicateElsifCondition:
|
54
|
+
Enabled: true
|
55
|
+
|
56
|
+
Lint/DuplicateRescueException:
|
57
|
+
Enabled: true
|
58
|
+
|
59
|
+
Lint/EmptyConditionalBody:
|
60
|
+
Enabled: true
|
61
|
+
|
62
|
+
Lint/FloatComparison:
|
63
|
+
Enabled: true
|
64
|
+
|
65
|
+
Lint/MissingSuper:
|
66
|
+
Enabled: true
|
67
|
+
|
68
|
+
Lint/MixedRegexpCaptureTypes:
|
69
|
+
Enabled: true
|
70
|
+
|
71
|
+
Lint/OutOfRangeRegexpRef:
|
72
|
+
Enabled: true
|
73
|
+
|
74
|
+
Lint/RaiseException:
|
75
|
+
Enabled: true
|
76
|
+
|
77
|
+
Lint/SelfAssignment:
|
78
|
+
Enabled: true
|
79
|
+
|
80
|
+
Lint/StructNewOverride:
|
81
|
+
Enabled: true
|
82
|
+
|
83
|
+
Lint/TopLevelReturnWithArgument:
|
84
|
+
Enabled: true
|
85
|
+
|
86
|
+
Lint/UnreachableLoop:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
Metrics/ParameterLists:
|
90
|
+
Enabled: false
|
91
|
+
|
92
|
+
Metrics/BlockLength:
|
93
|
+
Enabled: false
|
94
|
+
|
95
|
+
Metrics/MethodLength:
|
96
|
+
Enabled: false
|
97
|
+
|
98
|
+
Metrics/ClassLength:
|
99
|
+
Enabled: false
|
100
|
+
|
101
|
+
Metrics/ModuleLength:
|
102
|
+
Enabled: false
|
103
|
+
|
104
|
+
Metrics/AbcSize:
|
105
|
+
Enabled: false
|
106
|
+
|
107
|
+
Metrics/CyclomaticComplexity:
|
108
|
+
Enabled: false
|
109
|
+
|
110
|
+
Metrics/PerceivedComplexity:
|
111
|
+
Enabled: false
|
112
|
+
|
113
|
+
Naming/MethodParameterName:
|
114
|
+
Enabled: false
|
115
|
+
|
116
|
+
RSpec/EmptyExampleGroup:
|
117
|
+
Enabled: false
|
118
|
+
|
119
|
+
RSpec/MultipleExpectations:
|
120
|
+
Max: 2
|
121
|
+
|
122
|
+
Style/AccessorGrouping:
|
123
|
+
Enabled: true
|
124
|
+
|
125
|
+
Rails/ActiveRecordCallbacksOrder:
|
126
|
+
Enabled: true
|
127
|
+
|
128
|
+
Style/ArrayCoercion:
|
129
|
+
Enabled: true
|
130
|
+
|
131
|
+
Style/AsciiComments:
|
132
|
+
Enabled: false
|
133
|
+
|
134
|
+
Style/BisectedAttrAccessor:
|
135
|
+
Enabled: true
|
136
|
+
|
137
|
+
Style/CaseLikeIf:
|
138
|
+
Enabled: true
|
139
|
+
|
140
|
+
Style/Documentation:
|
141
|
+
Enabled: false
|
142
|
+
|
143
|
+
Style/ExplicitBlockArgument:
|
144
|
+
Enabled: false
|
145
|
+
|
146
|
+
Style/ExponentialNotation:
|
147
|
+
Enabled: true
|
148
|
+
|
149
|
+
Style/GlobalStdStream:
|
150
|
+
Enabled: true
|
151
|
+
|
152
|
+
Style/HashAsLastArrayItem:
|
153
|
+
Enabled: true
|
154
|
+
|
155
|
+
Style/HashEachMethods:
|
156
|
+
Enabled: true
|
157
|
+
|
158
|
+
Style/HashLikeCase:
|
159
|
+
Enabled: true
|
160
|
+
|
161
|
+
Style/HashTransformKeys:
|
162
|
+
Enabled: true
|
163
|
+
|
164
|
+
Style/HashTransformValues:
|
165
|
+
Enabled: true
|
166
|
+
|
167
|
+
Style/OptionalBooleanParameter:
|
168
|
+
Enabled: true
|
169
|
+
|
170
|
+
Style/ParallelAssignment:
|
171
|
+
Enabled: false
|
172
|
+
|
173
|
+
Style/RedundantAssignment:
|
174
|
+
Enabled: true
|
175
|
+
|
176
|
+
Style/RedundantFetchBlock:
|
177
|
+
Enabled: true
|
178
|
+
|
179
|
+
Style/RedundantFileExtensionInRequire:
|
180
|
+
Enabled: true
|
181
|
+
|
182
|
+
Style/RedundantRegexpCharacterClass:
|
183
|
+
Enabled: true
|
184
|
+
|
185
|
+
Style/RedundantRegexpEscape:
|
186
|
+
Enabled: true
|
187
|
+
|
188
|
+
Style/RegexpLiteral:
|
189
|
+
Enabled: false
|
190
|
+
|
191
|
+
Style/SingleArgumentDig:
|
192
|
+
Enabled: true
|
193
|
+
|
194
|
+
Style/SlicingWithRange:
|
195
|
+
Enabled: true
|
196
|
+
|
197
|
+
Style/StringConcatenation:
|
198
|
+
Enabled: true
|
199
|
+
|
200
|
+
Style/StringLiterals:
|
201
|
+
Enabled: false
|
202
|
+
|
203
|
+
Style/SymbolArray:
|
204
|
+
Enabled: false
|
205
|
+
|
206
|
+
Style/WordArray:
|
207
|
+
Enabled: false
|
208
|
+
|
209
|
+
Rails/FindById:
|
210
|
+
Enabled: true
|
211
|
+
|
212
|
+
Rails/Inquiry:
|
213
|
+
Enabled: true
|
214
|
+
|
215
|
+
Rails/MailerName:
|
216
|
+
Enabled: true
|
217
|
+
|
218
|
+
Rails/MatchRoute:
|
219
|
+
Enabled: true
|
220
|
+
|
221
|
+
Rails/NegateInclude:
|
222
|
+
Enabled: true
|
223
|
+
|
224
|
+
Rails/Pluck:
|
225
|
+
Enabled: true
|
226
|
+
|
227
|
+
Rails/PluckInWhere:
|
228
|
+
Enabled: true
|
229
|
+
|
230
|
+
Rails/RenderInline:
|
231
|
+
Enabled: true
|
232
|
+
|
233
|
+
Rails/RenderPlainText:
|
234
|
+
Enabled: true
|
235
|
+
|
236
|
+
Rails/ShortI18n:
|
237
|
+
Enabled: true
|
238
|
+
|
239
|
+
Rails/SkipsModelValidations:
|
240
|
+
Enabled: false
|
241
|
+
|
242
|
+
Rails/WhereExists:
|
243
|
+
Enabled: true
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -3,7 +3,7 @@ GEM
|
|
3
3
|
specs:
|
4
4
|
aasm (5.1.1)
|
5
5
|
concurrent-ruby (~> 1.0)
|
6
|
-
activesupport (6.1.
|
6
|
+
activesupport (6.1.1)
|
7
7
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
8
8
|
i18n (>= 1.6, < 2)
|
9
9
|
minitest (>= 5.1)
|
@@ -292,6 +292,7 @@ DEPENDENCIES
|
|
292
292
|
activesupport (~> 6.1)
|
293
293
|
amazing_print (~> 1.2)
|
294
294
|
bootsnap (~> 1.5)
|
295
|
+
bundler (~> 1.17)
|
295
296
|
byebug (~> 11.1)
|
296
297
|
capybara (~> 3.34)
|
297
298
|
commander (~> 4.5)
|
data/README.md
CHANGED
@@ -1,7 +1,18 @@
|
|
1
|
+
[![test](https://github.com/kranzky/punk/workflows/test/badge.svg)](https://github.com/kranzky/punk/actions?query=workflow%3Atest)
|
2
|
+
[![ship](https://github.com/kranzky/punk/workflows/ship/badge.svg)](https://github.com/kranzky/punk/actions?query=workflow%3Aship)
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/punk.svg)](https://badge.fury.io/rb/punk)
|
4
|
+
|
1
5
|
# Punk!
|
2
6
|
|
3
7
|
Punk! is an omakase web framework for rapid prototyping.
|
4
8
|
|
9
|
+
## Release Process
|
10
|
+
|
11
|
+
1. `rake version:bump:whatever`
|
12
|
+
2. `rake gemspec:release BRANCH=main`
|
13
|
+
3. `rake git:release BRANCH=main`
|
14
|
+
4. Create new release on GitHub to trigger ship workflow
|
15
|
+
|
5
16
|
## Copyright
|
6
17
|
|
7
18
|
Copyright (c) 2021 Jason Hutchens. See LICENSE for further details.
|
data/Rakefile
CHANGED
@@ -1,31 +1,29 @@
|
|
1
|
-
#
|
1
|
+
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'bundler'
|
5
5
|
begin
|
6
6
|
Bundler.setup(:default, :development)
|
7
7
|
rescue Bundler::BundlerError => e
|
8
|
-
|
9
|
-
|
8
|
+
warn e.message
|
9
|
+
warn "Run `bundle install` to install missing gems"
|
10
10
|
exit e.status_code
|
11
11
|
end
|
12
12
|
require 'rake'
|
13
13
|
require 'juwelier'
|
14
14
|
Juwelier::Tasks.new do |gem|
|
15
|
-
# gem is a Gem::Specification... see http://guides.rubygems.org/specification-reference/ for more options
|
16
15
|
gem.name = "punk"
|
17
16
|
gem.homepage = "https://github.com/kranzky/punk"
|
18
|
-
gem.license = "
|
19
|
-
gem.summary =
|
20
|
-
gem.description =
|
17
|
+
gem.license = "Unlicense"
|
18
|
+
gem.summary = "Punk! is an omakase web framework for rapid prototyping."
|
19
|
+
gem.description = ""
|
21
20
|
gem.email = "lloyd@kranzky.com"
|
22
21
|
gem.authors = ["Lloyd Kranzky"]
|
23
22
|
gem.required_ruby_version = ">= 2.1"
|
24
|
-
# dependencies defined in Gemfile
|
25
23
|
end
|
26
24
|
Juwelier::RubygemsDotOrgTasks.new
|
27
25
|
|
28
26
|
require 'yard'
|
29
27
|
YARD::Rake::YardocTask.new
|
30
28
|
|
31
|
-
task :
|
29
|
+
task default: :clean
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.1.3
|
data/bin/punk
CHANGED
data/env/test.sh
ADDED
@@ -0,0 +1,5 @@
|
|
1
|
+
#!/usr/bin/env bash
|
2
|
+
|
3
|
+
export DATABASE_URL='postgres://localhost/punk_test'
|
4
|
+
export MEMCACHIER_SERVERS='localhost:11211'
|
5
|
+
export COOKIE_SECRET='20b065932a09ca10a67b02a049695177bd9b1aa75bd2cf9755e62b9a7e64daeefebec4edc2a91b2be08f7899fa9e48aca6f67d4f045d34e83213566d7dde249c'
|
data/lib/punk/commands/http.rb
CHANGED
@@ -24,7 +24,7 @@ PUNK::Command.create "PATCH" do
|
|
24
24
|
"PATH_INFO" => args[0],
|
25
25
|
"CONTENT_TYPE" => "text/json",
|
26
26
|
"SCRIPT_NAME" => "",
|
27
|
-
"rack.input" => StringIO.new(args[1
|
27
|
+
"rack.input" => StringIO.new(args[1..-1].join)
|
28
28
|
)
|
29
29
|
end
|
30
30
|
end
|
@@ -38,7 +38,7 @@ PUNK::Command.create "POST" do
|
|
38
38
|
"PATH_INFO" => args[0],
|
39
39
|
"CONTENT_TYPE" => "text/json",
|
40
40
|
"SCRIPT_NAME" => "",
|
41
|
-
"rack.input" => StringIO.new(args[1
|
41
|
+
"rack.input" => StringIO.new(args[1..-1].join)
|
42
42
|
)
|
43
43
|
end
|
44
44
|
end
|
@@ -52,7 +52,7 @@ PUNK::Command.create "PUT" do
|
|
52
52
|
"PATH_INFO" => args[0],
|
53
53
|
"CONTENT_TYPE" => "text/json",
|
54
54
|
"SCRIPT_NAME" => "",
|
55
|
-
"rack.input" => StringIO.new(args[1
|
55
|
+
"rack.input" => StringIO.new(args[1..-1].join)
|
56
56
|
)
|
57
57
|
end
|
58
58
|
end
|
data/lib/punk/core/app.rb
CHANGED
@@ -29,9 +29,26 @@ module PUNK
|
|
29
29
|
class App < Roda
|
30
30
|
include Loggable
|
31
31
|
|
32
|
-
PUBLIC = File.join(PUNK.get.app.path, '..', 'www')
|
33
|
-
INDEX = File.read(File.join(PUBLIC, 'index.html'))
|
34
32
|
REMOTE = PUNK.env.staging? || PUNK.env.production?
|
33
|
+
PUBLIC = File.join(PUNK.get.app.path, '..', 'www')
|
34
|
+
index_path = File.join(PUBLIC, 'index.html')
|
35
|
+
INDEX =
|
36
|
+
if File.exist?(index_path)
|
37
|
+
File.read(index_path)
|
38
|
+
else
|
39
|
+
<<~INDEX_HTML
|
40
|
+
<!DOCTYPE html>
|
41
|
+
<html>
|
42
|
+
<head>
|
43
|
+
<title>Let's Punk!</title>
|
44
|
+
</head>
|
45
|
+
<body>
|
46
|
+
<h1>Let's Punk!</h1>
|
47
|
+
<p>Are you <a href="https://github.com/kranzky/lets-punk">ready</a> to rock?</p>
|
48
|
+
</body>
|
49
|
+
</html>
|
50
|
+
INDEX_HTML
|
51
|
+
end
|
35
52
|
|
36
53
|
plugin :sessions, secret: [PUNK.get.cookie.secret].pack('H*'),
|
37
54
|
key: PUNK.get.cookie.key,
|
@@ -72,7 +89,7 @@ module PUNK
|
|
72
89
|
def require_session!
|
73
90
|
begin
|
74
91
|
# TODO
|
75
|
-
@_current_session = nil #Session[request.session['session_id']]
|
92
|
+
@_current_session = nil # Session[request.session['session_id']]
|
76
93
|
if @_current_session&.active?
|
77
94
|
@_current_session.touch
|
78
95
|
else
|
@@ -176,8 +193,8 @@ module PUNK
|
|
176
193
|
logger.info "Started #{name} for #{request.ip}", params.deep_symbolize_keys.sanitize.inspect
|
177
194
|
logger.trace request.env['HTTP_USER_AGENT']
|
178
195
|
# TODO
|
179
|
-
#
|
180
|
-
#
|
196
|
+
# logger.info "Started #{name} for #{request.ip || Session.default_values[:remote_addr].to_s}", params.deep_symbolize_keys.sanitize.inspect
|
197
|
+
# logger.trace request.env['HTTP_USER_AGENT'] || Session.default_values[:user_agent]
|
181
198
|
logger.trace request.env['HTTP_COOKIE']
|
182
199
|
logger.push_tags(name)
|
183
200
|
_set_cookie(request.env)
|
data/lib/punk/core/commander.rb
CHANGED
@@ -4,10 +4,13 @@ command :test do |c|
|
|
4
4
|
c.description = 'Run rubocop and rspec'
|
5
5
|
c.action do
|
6
6
|
say('Running tests...')
|
7
|
-
|
7
|
+
unless ENV['PUNK_ENV'] == 'test'
|
8
|
+
error('!!! PUNK_ENV should be test !!!')
|
9
|
+
exit 1 # rubocop:disable Rails/Exit
|
10
|
+
end
|
8
11
|
ENV.delete_if { |name, _value| name =~ /^PUNK_/ }
|
9
12
|
system('rubocop') &&
|
10
|
-
system('quasar build -m pwa') &&
|
13
|
+
# system('quasar build -m pwa') && TODO
|
11
14
|
system('PUNK_ENV=test rspec')
|
12
15
|
exit $CHILD_STATUS.exitstatus # rubocop:disable Rails/Exit
|
13
16
|
end
|
data/lib/punk/core/worker.rb
CHANGED
@@ -4,7 +4,7 @@ require_relative '../../punk'
|
|
4
4
|
require 'sidekiq'
|
5
5
|
require 'sidekiq-cron'
|
6
6
|
|
7
|
-
PUNK.init(task: 'worker', config: { app: { name: '
|
7
|
+
PUNK.init(task: 'worker', config: { app: { name: 'Roadie' } }).exec
|
8
8
|
|
9
9
|
Sidekiq.logger = SemanticLogger['PUNK::SKQ']
|
10
10
|
Sidekiq.logger.class.alias_method(:with_context, :tagged)
|
data/punk.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: punk 0.
|
5
|
+
# stub: punk 0.1.3 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "punk".freeze
|
9
|
-
s.version = "0.
|
9
|
+
s.version = "0.1.3"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Lloyd Kranzky".freeze]
|
14
|
-
s.date = "2021-01-
|
14
|
+
s.date = "2021-01-09"
|
15
15
|
s.description = "".freeze
|
16
16
|
s.email = "lloyd@kranzky.com".freeze
|
17
17
|
s.executables = ["punk".freeze]
|
@@ -21,6 +21,9 @@ Gem::Specification.new do |s|
|
|
21
21
|
]
|
22
22
|
s.files = [
|
23
23
|
".document",
|
24
|
+
".github/workflows/ship.yml",
|
25
|
+
".github/workflows/test.yml",
|
26
|
+
".rubocop.yml",
|
24
27
|
"Gemfile",
|
25
28
|
"Gemfile.lock",
|
26
29
|
"LICENSE",
|
@@ -28,6 +31,7 @@ Gem::Specification.new do |s|
|
|
28
31
|
"Rakefile",
|
29
32
|
"VERSION",
|
30
33
|
"bin/punk",
|
34
|
+
"env/test.sh",
|
31
35
|
"lib/punk.rb",
|
32
36
|
"lib/punk/commands/auth.rb",
|
33
37
|
"lib/punk/commands/generate.rb",
|
@@ -94,7 +98,7 @@ Gem::Specification.new do |s|
|
|
94
98
|
"punk.gemspec"
|
95
99
|
]
|
96
100
|
s.homepage = "https://github.com/kranzky/punk".freeze
|
97
|
-
s.licenses = ["
|
101
|
+
s.licenses = ["Unlicense".freeze]
|
98
102
|
s.required_ruby_version = Gem::Requirement.new(">= 2.1".freeze)
|
99
103
|
s.rubygems_version = "3.0.9".freeze
|
100
104
|
s.summary = "Punk! is an omakase web framework for rapid prototyping.".freeze
|
@@ -142,6 +146,7 @@ Gem::Specification.new do |s|
|
|
142
146
|
s.add_runtime_dependency(%q<sentry-raven>.freeze, ["~> 3.1"])
|
143
147
|
s.add_runtime_dependency(%q<skylight>.freeze, ["~> 4.3"])
|
144
148
|
s.add_runtime_dependency(%q<phony>.freeze, ["~> 2.18"])
|
149
|
+
s.add_development_dependency(%q<bundler>.freeze, ["~> 1.17"])
|
145
150
|
s.add_development_dependency(%q<gemfile_updater>.freeze, ["~> 0.1"])
|
146
151
|
s.add_development_dependency(%q<juwelier>.freeze, ["~> 2.4"])
|
147
152
|
s.add_development_dependency(%q<amazing_print>.freeze, ["~> 1.2"])
|
@@ -188,6 +193,7 @@ Gem::Specification.new do |s|
|
|
188
193
|
s.add_dependency(%q<sentry-raven>.freeze, ["~> 3.1"])
|
189
194
|
s.add_dependency(%q<skylight>.freeze, ["~> 4.3"])
|
190
195
|
s.add_dependency(%q<phony>.freeze, ["~> 2.18"])
|
196
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 1.17"])
|
191
197
|
s.add_dependency(%q<gemfile_updater>.freeze, ["~> 0.1"])
|
192
198
|
s.add_dependency(%q<juwelier>.freeze, ["~> 2.4"])
|
193
199
|
s.add_dependency(%q<amazing_print>.freeze, ["~> 1.2"])
|
@@ -235,6 +241,7 @@ Gem::Specification.new do |s|
|
|
235
241
|
s.add_dependency(%q<sentry-raven>.freeze, ["~> 3.1"])
|
236
242
|
s.add_dependency(%q<skylight>.freeze, ["~> 4.3"])
|
237
243
|
s.add_dependency(%q<phony>.freeze, ["~> 2.18"])
|
244
|
+
s.add_dependency(%q<bundler>.freeze, ["~> 1.17"])
|
238
245
|
s.add_dependency(%q<gemfile_updater>.freeze, ["~> 0.1"])
|
239
246
|
s.add_dependency(%q<juwelier>.freeze, ["~> 2.4"])
|
240
247
|
s.add_dependency(%q<amazing_print>.freeze, ["~> 1.2"])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: punk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Lloyd Kranzky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bootsnap
|
@@ -556,6 +556,20 @@ dependencies:
|
|
556
556
|
- - "~>"
|
557
557
|
- !ruby/object:Gem::Version
|
558
558
|
version: '2.18'
|
559
|
+
- !ruby/object:Gem::Dependency
|
560
|
+
name: bundler
|
561
|
+
requirement: !ruby/object:Gem::Requirement
|
562
|
+
requirements:
|
563
|
+
- - "~>"
|
564
|
+
- !ruby/object:Gem::Version
|
565
|
+
version: '1.17'
|
566
|
+
type: :development
|
567
|
+
prerelease: false
|
568
|
+
version_requirements: !ruby/object:Gem::Requirement
|
569
|
+
requirements:
|
570
|
+
- - "~>"
|
571
|
+
- !ruby/object:Gem::Version
|
572
|
+
version: '1.17'
|
559
573
|
- !ruby/object:Gem::Dependency
|
560
574
|
name: gemfile_updater
|
561
575
|
requirement: !ruby/object:Gem::Requirement
|
@@ -650,6 +664,9 @@ extra_rdoc_files:
|
|
650
664
|
- README.md
|
651
665
|
files:
|
652
666
|
- ".document"
|
667
|
+
- ".github/workflows/ship.yml"
|
668
|
+
- ".github/workflows/test.yml"
|
669
|
+
- ".rubocop.yml"
|
653
670
|
- Gemfile
|
654
671
|
- Gemfile.lock
|
655
672
|
- LICENSE
|
@@ -657,6 +674,7 @@ files:
|
|
657
674
|
- Rakefile
|
658
675
|
- VERSION
|
659
676
|
- bin/punk
|
677
|
+
- env/test.sh
|
660
678
|
- lib/punk.rb
|
661
679
|
- lib/punk/commands/auth.rb
|
662
680
|
- lib/punk/commands/generate.rb
|
@@ -723,7 +741,7 @@ files:
|
|
723
741
|
- punk.gemspec
|
724
742
|
homepage: https://github.com/kranzky/punk
|
725
743
|
licenses:
|
726
|
-
-
|
744
|
+
- Unlicense
|
727
745
|
metadata: {}
|
728
746
|
post_install_message:
|
729
747
|
rdoc_options: []
|