rack-dev-mark 0.7.9 → 0.7.10

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
- SHA1:
3
- metadata.gz: 5e1a655c2468e1c6f30cefe314b3c41d55668b87
4
- data.tar.gz: 1e0267dc11b3cc3714c8d54709ecb0f7258227d5
2
+ SHA256:
3
+ metadata.gz: b4220cd454ef05089e7b946d9f3970ea13321cd7b6fa58ad073134dc33f40bf7
4
+ data.tar.gz: 1d8e76c5cc8dc3fb19913b18dc07af51fd1967928ca7959395061e43bd025f4e
5
5
  SHA512:
6
- metadata.gz: 93032feab22d84a7780d5c7f465f7b147b86dd17dcf1f1c9ec1bcd3e6d9c3769ca6c2c0051fca619f9037b94b4cfa94d0fc700452eab4603f06f4c6c6fa77bb3
7
- data.tar.gz: e84bda81dff22e7bf577ec8f33b19b22fad4e9232f8824941b758d3959908d593f25e4535f61803fcdd94970aaffcbdfcb37541ec43e4dee9f0309c7eed0b2ed
6
+ metadata.gz: 5ec1364628c8920cdd3d7bd6f2afb34aff86455105981ab6bf673c0db9128d36ceddc60eaae250223e62ee0ae05f89bffb1759dde616891f8af2baf18321d9d0
7
+ data.tar.gz: f408702475afee94a4182d587326b1511630f7f3b58f5f5c5a65bee5c6798ba4afb8ca24bc641942ae1957cc572fd36c6efe49b758af884c900dca877cc8069c
@@ -0,0 +1,76 @@
1
+ # For most projects, this workflow file will not need changing; you simply need
2
+ # to commit it to your repository.
3
+ #
4
+ # You may wish to alter this file to override the set of languages analyzed,
5
+ # or to provide custom queries or build logic.
6
+ #
7
+ # ******** NOTE ********
8
+ # We have attempted to detect the languages in your repository. Please check
9
+ # the `language` matrix defined below to confirm you have the correct set of
10
+ # supported CodeQL languages.
11
+ #
12
+ name: "CodeQL"
13
+
14
+ on:
15
+ push:
16
+ branches: [ "master" ]
17
+ pull_request:
18
+ # The branches below must be a subset of the branches above
19
+ branches: [ "master" ]
20
+ schedule:
21
+ - cron: '16 23 * * 2'
22
+
23
+ jobs:
24
+ analyze:
25
+ name: Analyze
26
+ runs-on: ubuntu-latest
27
+ permissions:
28
+ actions: read
29
+ contents: read
30
+ security-events: write
31
+
32
+ strategy:
33
+ fail-fast: false
34
+ matrix:
35
+ language: [ 'ruby' ]
36
+ # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
37
+ # Use only 'java' to analyze code written in Java, Kotlin or both
38
+ # Use only 'javascript' to analyze code written in JavaScript, TypeScript or both
39
+ # Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
40
+
41
+ steps:
42
+ - name: Checkout repository
43
+ uses: actions/checkout@v3
44
+
45
+ # Initializes the CodeQL tools for scanning.
46
+ - name: Initialize CodeQL
47
+ uses: github/codeql-action/init@v2
48
+ with:
49
+ languages: ${{ matrix.language }}
50
+ # If you wish to specify custom queries, you can do so here or in a config file.
51
+ # By default, queries listed here will override any specified in a config file.
52
+ # Prefix the list here with "+" to use these queries and those in the config file.
53
+
54
+ # Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
55
+ # queries: security-extended,security-and-quality
56
+
57
+
58
+ # Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
59
+ # If this step fails, then you should remove it and run the build manually (see below)
60
+ - name: Autobuild
61
+ uses: github/codeql-action/autobuild@v2
62
+
63
+ # ℹ️ Command-line programs to run using the OS shell.
64
+ # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
65
+
66
+ # If the Autobuild fails above, remove it and uncomment the following three lines.
67
+ # modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
68
+
69
+ # - run: |
70
+ # echo "Run, Build Application using script"
71
+ # ./location_of_script_within_repo/buildscript.sh
72
+
73
+ - name: Perform CodeQL Analysis
74
+ uses: github/codeql-action/analyze@v2
75
+ with:
76
+ category: "/language:${{matrix.language}}"
data/.gitignore CHANGED
@@ -9,6 +9,7 @@
9
9
  /test/version_tmp/
10
10
  /tmp/
11
11
  /log/
12
+ /vendor/
12
13
 
13
14
  ## Specific to RubyMotion:
14
15
  .dat*
data/Gemfile CHANGED
@@ -4,6 +4,6 @@ gem "rack", "~> #{ENV['RACK_VERSION']}" if ENV['RACK_VERSION'].to_s != ''
4
4
  gem "rails", "~> #{ENV['RAILS_VERSION']}" if ENV['RAILS_VERSION'].to_s != ''
5
5
  gem "i18n", "~> #{ENV['I18N_VERSION']}" if ENV['I18N_VERSION'].to_s != ''
6
6
 
7
- gem 'gem-release', '~> 2.0.0.dev.5'
7
+ gem 'gem-release', '~> 2.2.2'
8
8
 
9
9
  gemspec
@@ -1,5 +1,5 @@
1
1
  module Rack
2
2
  module DevMark
3
- VERSION = ::File.read(::File.expand_path('../../../../VERSION', __FILE__)).to_s.strip
3
+ VERSION = '0.7.10'.freeze
4
4
  end
5
5
  end
data/lib/rack/dev-mark.rb CHANGED
@@ -33,11 +33,11 @@ module Rack
33
33
  end
34
34
 
35
35
  def tmp_disabled
36
- @tmp_disabled ||= false
36
+ Thread.current[:"rack-dev-mark__tmp_disabled"] ||= false
37
37
  end
38
38
 
39
39
  def tmp_disabled=(v)
40
- @tmp_disabled = !!v
40
+ Thread.current[:"rack-dev-mark__tmp_disabled"] = !!v
41
41
  end
42
42
 
43
43
  def rack_dev_mark_env
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-dev-mark
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daisuke Taniwaki
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-06-16 00:00:00.000000000 Z
11
+ date: 2023-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack
@@ -79,6 +79,7 @@ executables: []
79
79
  extensions: []
80
80
  extra_rdoc_files: []
81
81
  files:
82
+ - ".github/workflows/codeql.yml"
82
83
  - ".gitignore"
83
84
  - ".travis.yml"
84
85
  - COMPATIBILITY.md
@@ -87,7 +88,6 @@ files:
87
88
  - README.md
88
89
  - Rakefile
89
90
  - THEME.md
90
- - VERSION
91
91
  - lib/generators/rack/dev-mark/install_generator.rb
92
92
  - lib/rack-dev-mark.rb
93
93
  - lib/rack/dev-mark.rb
@@ -147,8 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
147
  - !ruby/object:Gem::Version
148
148
  version: '0'
149
149
  requirements: []
150
- rubyforge_project:
151
- rubygems_version: 2.6.8
150
+ rubygems_version: 3.1.6
152
151
  signing_key:
153
152
  specification_version: 4
154
153
  summary: Differentiate development environment from production
data/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.7.9