mr_loga_loga 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: d8399869802c8da867d5ccdd3324cf90f77fd1cc29e5a2a3eb1c4ab79e662f4a
4
+ data.tar.gz: ad9c22f9df5313c82d74f8641f372d577cbb1181a02f69c0094d98ad11c2a94c
5
+ SHA512:
6
+ metadata.gz: 28e3197e5680213067ffeab4907cdbbd1fb158e4017ef8648337277923ef1d13821e91159e39acade64b862533bb0f6c31f50c5fd309071e94aeef7326f8cb69
7
+ data.tar.gz: 23fbd32e192fae524e46720fb6228edb1da71b4043ab96a2d7c0545393c75f0f32ed92f86685ecdeedeb76f1a2214d14273e3c43ac24b0a49f72143eb067e8e8
@@ -0,0 +1,27 @@
1
+ ---
2
+ name: "\U0001F41E Bug Report"
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: bug 🐛
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ Found a bug? Please fill out the sections below! 👍
11
+
12
+ ### Issue Summary
13
+
14
+ A summary of the issue.
15
+
16
+ ### Steps to Reproduce
17
+
18
+ 1. (for example) Start a new Rails project with Rails Mini Profiler
19
+ 2. Edit something.rb as follows...
20
+ 3. ...
21
+
22
+ Any other relevant information. For example, why do you consider this a bug and what did you expect to happen instead?
23
+
24
+ ### Technical details
25
+
26
+ * Rails version: Run `rails --version` to find out.
27
+ * Ruby version: Run `ruby -v` to find out.
@@ -0,0 +1,24 @@
1
+ ---
2
+ name: "\U0001F680 Feature request"
3
+ about: Suggest an idea for improving MrLogaLoga
4
+ title: ''
5
+ labels: feature 🚀
6
+ assignees: ''
7
+
8
+ ---
9
+
10
+ ### Is your proposal related to a problem?
11
+
12
+ (Provide a clear and concise description of what the problem is.)
13
+
14
+ ### Describe the solution you'd like
15
+
16
+ (Provide a clear and concise description of what you want to happen.)
17
+
18
+ ### Describe any alternatives you've considered
19
+
20
+ (Let us know about other solutions you've tried or researched.)
21
+
22
+ ### Additional context
23
+
24
+ (Is there anything else you can add about the proposal? You might want to link to related issues here, if you haven't already.)
@@ -0,0 +1 @@
1
+ blank_issues_enabled: false
@@ -0,0 +1,17 @@
1
+ version: 2
2
+
3
+ updates:
4
+
5
+ - package-ecosystem: bundler
6
+ directory: '/'
7
+ versioning-strategy: increase
8
+ schedule:
9
+ interval: weekly
10
+ ignore:
11
+ - dependency-name: "*"
12
+ update-types: ["version-update:semver-patch"]
13
+
14
+ - package-ecosystem: github-actions
15
+ directory: '/'
16
+ schedule:
17
+ interval: weekly
data/.github/stale.yml ADDED
@@ -0,0 +1,9 @@
1
+ daysUntilStale: 60
2
+ daysUntilClose: 14
3
+ staleLabel: stale
4
+ markComment: >
5
+ This issue has been automatically marked as stale because it has not had
6
+ recent activity. It will be closed if no further activity occurs. Thank you
7
+ for your contributions.
8
+ exemptProjects: true
9
+ closeComment: false
@@ -0,0 +1,58 @@
1
+ name: main
2
+
3
+ on:
4
+ pull_request:
5
+ branches: [ main ]
6
+ push:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+
13
+ strategy:
14
+ matrix:
15
+ ruby-version: ["3.1", "3.0", "2.7", "2.6"]
16
+ fail-fast: false
17
+
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+
21
+ - name: Set up Ruby ${{ matrix.ruby-version }}
22
+ uses: ruby/setup-ruby@v1
23
+ with:
24
+ ruby-version: ${{ matrix.ruby-version }}
25
+ bundler-cache: true
26
+
27
+ - name: Run Tests ✅
28
+ run: |
29
+ bundle exec rake spec
30
+ env:
31
+ COVERAGE: true
32
+ CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
33
+
34
+ - name: Report Coverage
35
+ # We don't need to upload coverage multiple times, just do it for latest versions, and only on master
36
+ if: github.ref == 'refs/heads/main' && matrix.ruby-version == 3.1
37
+ uses: paambaati/codeclimate-action@v3.0.0
38
+ env:
39
+ CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
40
+
41
+ lint:
42
+ runs-on: ubuntu-latest
43
+ steps:
44
+ - uses: actions/checkout@v2
45
+ with:
46
+ fetch-depth: 0
47
+
48
+ - name: Set up Ruby
49
+ uses: ruby/setup-ruby@v1
50
+ with:
51
+ ruby-version: "3.1"
52
+ bundler-cache: true
53
+
54
+ - name: Run RuboCop 🚓
55
+ run: bundle exec rake rubocop
56
+
57
+ - name: Lint Commits 📝
58
+ uses: wagoid/commitlint-github-action@v4
data/.gitignore ADDED
@@ -0,0 +1,190 @@
1
+ # Created by https://www.toptal.com/developers/gitignore/api/vim,rubymine+all,rails
2
+ # Edit at https://www.toptal.com/developers/gitignore?templates=vim,rubymine+all,rails
3
+
4
+ ### Rails ###
5
+ *.rbc
6
+ capybara-*.html
7
+ .rspec
8
+ /db/*.sqlite3
9
+ /db/*.sqlite3-journal
10
+ /db/*.sqlite3-[0-9]*
11
+ /public/system
12
+ /coverage/
13
+ /spec/tmp
14
+ *.orig
15
+ rerun.txt
16
+ pickle-email-*.html
17
+
18
+ # Ignore all logfiles and tempfiles.
19
+ /log/*
20
+ /tmp/*
21
+ !/log/.keep
22
+ !/tmp/.keep
23
+
24
+ # TODO Comment out this rule if you are OK with secrets being uploaded to the repo
25
+ config/initializers/secret_token.rb
26
+ config/master.key
27
+
28
+ # Only include if you have production secrets in this file, which is no longer a Rails default
29
+ # config/secrets.yml
30
+
31
+ # dotenv, dotenv-rails
32
+ # TODO Comment out these rules if environment variables can be committed
33
+ .env
34
+ .env.*
35
+
36
+ ## Environment normalization:
37
+ /.bundle
38
+ /vendor/bundle
39
+
40
+ # these should all be checked in to normalize the environment:
41
+ # Gemfile.lock, .ruby-version, .ruby-gemset
42
+
43
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
44
+ .rvmrc
45
+
46
+ # if using bower-rails ignore default bower_components path bower.json files
47
+ /vendor/assets/bower_components
48
+ *.bowerrc
49
+ bower.json
50
+
51
+ # Ignore pow environment settings
52
+ .powenv
53
+
54
+ # Ignore Byebug command history file.
55
+ .byebug_history
56
+
57
+ # Ignore node_modules
58
+ node_modules/
59
+
60
+ # Ignore precompiled javascript packs
61
+ /public/packs
62
+ /public/packs-test
63
+ /public/assets
64
+
65
+ # Ignore yarn files
66
+ /yarn-error.log
67
+ yarn-debug.log*
68
+ .yarn-integrity
69
+
70
+ # Ignore uploaded files in development
71
+ /storage/*
72
+ !/storage/.keep
73
+ /public/uploads
74
+
75
+ ### RubyMine+all ###
76
+ # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
77
+ # Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
78
+
79
+ # User-specific stuff
80
+ .idea/**/workspace.xml
81
+ .idea/**/tasks.xml
82
+ .idea/**/usage.statistics.xml
83
+ .idea/**/dictionaries
84
+ .idea/**/shelf
85
+
86
+ # AWS User-specific
87
+ .idea/**/aws.xml
88
+
89
+ # Generated files
90
+ .idea/**/contentModel.xml
91
+
92
+ # Sensitive or high-churn files
93
+ .idea/**/dataSources/
94
+ .idea/**/dataSources.ids
95
+ .idea/**/dataSources.local.xml
96
+ .idea/**/sqlDataSources.xml
97
+ .idea/**/dynamic.xml
98
+ .idea/**/uiDesigner.xml
99
+ .idea/**/dbnavigator.xml
100
+
101
+ # Gradle
102
+ .idea/**/gradle.xml
103
+ .idea/**/libraries
104
+
105
+ # Gradle and Maven with auto-import
106
+ # When using Gradle or Maven with auto-import, you should exclude module files,
107
+ # since they will be recreated, and may cause churn. Uncomment if using
108
+ # auto-import.
109
+ # .idea/artifacts
110
+ # .idea/compiler.xml
111
+ # .idea/jarRepositories.xml
112
+ # .idea/modules.xml
113
+ # .idea/*.iml
114
+ # .idea/modules
115
+ # *.iml
116
+ # *.ipr
117
+
118
+ # CMake
119
+ cmake-build-*/
120
+
121
+ # Mongo Explorer plugin
122
+ .idea/**/mongoSettings.xml
123
+
124
+ # File-based project format
125
+ *.iws
126
+
127
+ # IntelliJ
128
+ out/
129
+
130
+ # mpeltonen/sbt-idea plugin
131
+ .idea_modules/
132
+
133
+ # JIRA plugin
134
+ atlassian-ide-plugin.xml
135
+
136
+ # Cursive Clojure plugin
137
+ .idea/replstate.xml
138
+
139
+ # Crashlytics plugin (for Android Studio and IntelliJ)
140
+ com_crashlytics_export_strings.xml
141
+ crashlytics.properties
142
+ crashlytics-build.properties
143
+ fabric.properties
144
+
145
+ # Editor-based Rest Client
146
+ .idea/httpRequests
147
+
148
+ # Android studio 3.1+ serialized cache file
149
+ .idea/caches/build_file_checksums.ser
150
+
151
+ ### RubyMine+all Patch ###
152
+ # Ignores the whole .idea folder and all .iml files
153
+ # See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
154
+
155
+ .idea/
156
+
157
+ # Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
158
+
159
+ *.iml
160
+ modules.xml
161
+ .idea/misc.xml
162
+ *.ipr
163
+
164
+ # Sonarlint plugin
165
+ .idea/sonarlint
166
+
167
+ ### Vim ###
168
+ # Swap
169
+ [._]*.s[a-v][a-z]
170
+ !*.svg # comment out if you don't need vector files
171
+ [._]*.sw[a-p]
172
+ [._]s[a-rt-v][a-z]
173
+ [._]ss[a-gi-z]
174
+ [._]sw[a-p]
175
+
176
+ # Session
177
+ Session.vim
178
+ Sessionx.vim
179
+
180
+ # Temporary
181
+ .netrwhist
182
+ *~
183
+ # Auto-generated tag files
184
+ tags
185
+ # Persistent undo
186
+ [._]*.un~
187
+
188
+ # End of https://www.toptal.com/developers/gitignore/api/vim,rubymine+all,rails
189
+
190
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
data/.rubocop.yml ADDED
@@ -0,0 +1,32 @@
1
+ AllCops:
2
+ TargetRubyVersion: 2.6
3
+ NewCops: enable
4
+ SuggestExtensions: false
5
+ Exclude:
6
+ - vendor/**/*
7
+ - node_modules/**/*
8
+ - gemfiles/**/*
9
+ - db/migrate/*.rb
10
+ - !ruby/regexp /schema\.rb$/
11
+
12
+ Layout/LineLength:
13
+ Max: 120
14
+
15
+ Layout/MultilineMethodCallIndentation:
16
+ EnforcedStyle: indented_relative_to_receiver
17
+
18
+ Metrics/AbcSize:
19
+ Max: 20
20
+
21
+ Metrics/MethodLength:
22
+ CountAsOne: ['array', 'heredoc']
23
+ Max: 15
24
+
25
+ Metrics/BlockLength:
26
+ IgnoredMethods: ['describe', 'context']
27
+
28
+ Metrics/ModuleLength:
29
+ Exclude: ['**/*_spec.rb']
30
+
31
+ Style/OpenStructUse:
32
+ Exclude: ['**/*_spec.rb']
data/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## [Unreleased]
2
+
3
+ ## [0.1.0] - 2021-11-12
4
+
5
+ - Initial release
@@ -0,0 +1,84 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
6
+
7
+ We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
8
+
9
+ ## Our Standards
10
+
11
+ Examples of behavior that contributes to a positive environment for our community include:
12
+
13
+ * Demonstrating empathy and kindness toward other people
14
+ * Being respectful of differing opinions, viewpoints, and experiences
15
+ * Giving and gracefully accepting constructive feedback
16
+ * Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17
+ * Focusing on what is best not just for us as individuals, but for the overall community
18
+
19
+ Examples of unacceptable behavior include:
20
+
21
+ * The use of sexualized language or imagery, and sexual attention or
22
+ advances of any kind
23
+ * Trolling, insulting or derogatory comments, and personal or political attacks
24
+ * Public or private harassment
25
+ * Publishing others' private information, such as a physical or email
26
+ address, without their explicit permission
27
+ * Other conduct which could reasonably be considered inappropriate in a
28
+ professional setting
29
+
30
+ ## Enforcement Responsibilities
31
+
32
+ Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
33
+
34
+ Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
35
+
36
+ ## Scope
37
+
38
+ This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
39
+
40
+ ## Enforcement
41
+
42
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at hans.schnedlitz@gmail.com. All complaints will be reviewed and investigated promptly and fairly.
43
+
44
+ All community leaders are obligated to respect the privacy and security of the reporter of any incident.
45
+
46
+ ## Enforcement Guidelines
47
+
48
+ Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
49
+
50
+ ### 1. Correction
51
+
52
+ **Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
53
+
54
+ **Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
55
+
56
+ ### 2. Warning
57
+
58
+ **Community Impact**: A violation through a single incident or series of actions.
59
+
60
+ **Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
61
+
62
+ ### 3. Temporary Ban
63
+
64
+ **Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
65
+
66
+ **Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
67
+
68
+ ### 4. Permanent Ban
69
+
70
+ **Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
71
+
72
+ **Consequence**: A permanent ban from any sort of public interaction within the community.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
77
+ available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
78
+
79
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
80
+
81
+ [homepage]: https://www.contributor-covenant.org
82
+
83
+ For answers to common questions about this code of conduct, see the FAQ at
84
+ https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
data/Gemfile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
4
+
5
+ # Specify your gem's dependencies in mr_loga_loga.gemspec
6
+ gemspec
7
+
8
+ gem 'rake', '~> 13.0'
9
+
10
+ gem 'rspec', '~> 3.0'
11
+
12
+ gem 'rubocop', '~> 1.7'
data/Gemfile.lock ADDED
@@ -0,0 +1,67 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ mr_loga_loga (0.1.0)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ ast (2.4.2)
10
+ byebug (11.1.3)
11
+ diff-lcs (1.4.4)
12
+ docile (1.4.0)
13
+ parallel (1.21.0)
14
+ parser (3.0.3.2)
15
+ ast (~> 2.4.1)
16
+ rainbow (3.0.0)
17
+ rake (13.0.6)
18
+ regexp_parser (2.2.0)
19
+ rexml (3.2.5)
20
+ rspec (3.10.0)
21
+ rspec-core (~> 3.10.0)
22
+ rspec-expectations (~> 3.10.0)
23
+ rspec-mocks (~> 3.10.0)
24
+ rspec-core (3.10.1)
25
+ rspec-support (~> 3.10.0)
26
+ rspec-expectations (3.10.1)
27
+ diff-lcs (>= 1.2.0, < 2.0)
28
+ rspec-support (~> 3.10.0)
29
+ rspec-mocks (3.10.2)
30
+ diff-lcs (>= 1.2.0, < 2.0)
31
+ rspec-support (~> 3.10.0)
32
+ rspec-support (3.10.3)
33
+ rubocop (1.24.0)
34
+ parallel (~> 1.10)
35
+ parser (>= 3.0.0.0)
36
+ rainbow (>= 2.2.2, < 4.0)
37
+ regexp_parser (>= 1.8, < 3.0)
38
+ rexml
39
+ rubocop-ast (>= 1.15.0, < 2.0)
40
+ ruby-progressbar (~> 1.7)
41
+ unicode-display_width (>= 1.4.0, < 3.0)
42
+ rubocop-ast (1.15.1)
43
+ parser (>= 3.0.1.1)
44
+ ruby-progressbar (1.11.0)
45
+ simplecov (0.21.2)
46
+ docile (~> 1.1)
47
+ simplecov-html (~> 0.11)
48
+ simplecov_json_formatter (~> 0.1)
49
+ simplecov-html (0.12.3)
50
+ simplecov_json_formatter (0.1.3)
51
+ timecop (0.9.4)
52
+ unicode-display_width (2.1.0)
53
+
54
+ PLATFORMS
55
+ x86_64-linux
56
+
57
+ DEPENDENCIES
58
+ byebug
59
+ mr_loga_loga!
60
+ rake (~> 13.0)
61
+ rspec (~> 3.0)
62
+ rubocop (~> 1.7)
63
+ simplecov (~> 0.21.2)
64
+ timecop (~> 0.9.4)
65
+
66
+ BUNDLED WITH
67
+ 2.2.26
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 hschne
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.