appdev_support 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +6 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +41 -0
- data/LICENSE.txt +21 -0
- data/README.md +137 -0
- data/Rakefile +6 -0
- data/appdev_support.gemspec +28 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/appdev_support/action_dispatch/cookies/cookie_jar/fetch.rb +15 -0
- data/lib/appdev_support/action_dispatch/cookies/cookie_jar/store.rb +7 -0
- data/lib/appdev_support/action_dispatch/request/session/fetch.rb +15 -0
- data/lib/appdev_support/action_dispatch/request/session/store.rb +7 -0
- data/lib/appdev_support/active_record/attribute_methods.rb +6 -0
- data/lib/appdev_support/active_record/calculations.rb +5 -0
- data/lib/appdev_support/active_record/delegation.rb +5 -0
- data/lib/appdev_support/active_record/relation/to_s.rb +9 -0
- data/lib/appdev_support/pryrc/debug.rb +49 -0
- data/lib/appdev_support/pryrc/minimal.rb +8 -0
- data/lib/appdev_support/version.rb +3 -0
- data/lib/appdev_support.rb +46 -0
- metadata +84 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 7c445a2d99b989fe0a5cb203c3774a6f67a488aade775749c7732fe7211700d5
|
4
|
+
data.tar.gz: 233869e210245da7aef18666cc6852c8fabe6275535605c5498dcbf1a4612a4a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: c20251390cbf6238c0d56f3391b325709966e1df21ec4e09646196658dc9867cdc54823bef46704a986e17d2157c372fb1f9594afd9884feeedc8f20505c97b4
|
7
|
+
data.tar.gz: 87d790e09c409b9c3dce83f7b689ca6bb7bbc6ae77f07580c1bfdfec3fe3e546971e8f9b52c54daa081cba9798ca9a8a54ec1553c10f444030edf4bc99b83689
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at jelani@firstdraft.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [https://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: https://contributor-covenant.org
|
74
|
+
[version]: https://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,41 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
appdev_support (0.2.1)
|
5
|
+
tabulo
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
diff-lcs (1.5.0)
|
11
|
+
rake (12.3.3)
|
12
|
+
rspec (3.12.0)
|
13
|
+
rspec-core (~> 3.12.0)
|
14
|
+
rspec-expectations (~> 3.12.0)
|
15
|
+
rspec-mocks (~> 3.12.0)
|
16
|
+
rspec-core (3.12.2)
|
17
|
+
rspec-support (~> 3.12.0)
|
18
|
+
rspec-expectations (3.12.3)
|
19
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
20
|
+
rspec-support (~> 3.12.0)
|
21
|
+
rspec-mocks (3.12.5)
|
22
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
23
|
+
rspec-support (~> 3.12.0)
|
24
|
+
rspec-support (3.12.0)
|
25
|
+
tabulo (2.8.2)
|
26
|
+
tty-screen (= 0.8.1)
|
27
|
+
unicode-display_width (~> 2.2)
|
28
|
+
tty-screen (0.8.1)
|
29
|
+
unicode-display_width (2.4.2)
|
30
|
+
|
31
|
+
PLATFORMS
|
32
|
+
x86_64-linux
|
33
|
+
|
34
|
+
DEPENDENCIES
|
35
|
+
appdev_support!
|
36
|
+
rake (~> 12.0)
|
37
|
+
rspec (~> 3.0)
|
38
|
+
tabulo
|
39
|
+
|
40
|
+
BUNDLED WITH
|
41
|
+
2.2.3
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2020 Jelani Woods
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,137 @@
|
|
1
|
+
# AppdevSupport
|
2
|
+
|
3
|
+
This gem adds patches that are used to make Ruby and Ruby on Rails environments more beginner friendly.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem "appdev_support", github: "firstdraft/appdev_support"
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle install
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install appdev_support
|
20
|
+
|
21
|
+
Run
|
22
|
+
|
23
|
+
```rb
|
24
|
+
AppdevSupport.init
|
25
|
+
```
|
26
|
+
to load the default settings.
|
27
|
+
|
28
|
+
Create an [initializer](#configuration) file for customization.
|
29
|
+
|
30
|
+
## Usage
|
31
|
+
|
32
|
+
Once installed, you can do things like:
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
# in app/controllers/events_controller.rb
|
36
|
+
class EventsController < ApplicationController
|
37
|
+
def index
|
38
|
+
cookies.store(:theme, "dark")
|
39
|
+
cookies.fetch(:theme)
|
40
|
+
session.fetch(:user_id)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
```
|
44
|
+
|
45
|
+
and `session.fetch` will raise a `KeyNotFound` Exception.
|
46
|
+
|
47
|
+
`.fetch` can be called on `session`, `cookies`, and any `ActiveRecord` object. For an `ActiveRecord` object, you can `.fetch` a column.
|
48
|
+
|
49
|
+
```ruby
|
50
|
+
Event.fetch(:starts_on) # => "Mon, 23 Mar 2020 23:25:48"
|
51
|
+
```
|
52
|
+
|
53
|
+
Similarly, `.store` can be called on `session` and `cookies` with the expected behavior.
|
54
|
+
|
55
|
+
```ruby
|
56
|
+
session.store(:user_id, 1)
|
57
|
+
```
|
58
|
+
|
59
|
+
Displaying an `ActiveRecord::Relation` in a View file will display:
|
60
|
+
|
61
|
+
```rb
|
62
|
+
Event::ActiveRecord_Relation (array with 4 Event instances inside)
|
63
|
+
```
|
64
|
+
|
65
|
+
You can call `.at` on an `ActiveRecord::Relation` instead of just `[]` to mirror how Arrays work.
|
66
|
+
|
67
|
+
```ruby
|
68
|
+
Event.all.at(0)
|
69
|
+
```
|
70
|
+
|
71
|
+
If the containing app has `pry` or `pry-rails` installed, the `print` functionality has been enhanced:
|
72
|
+
With the value `:mimimal`:
|
73
|
+
- `ActiveRecord::Relation` objects are displayed like this:
|
74
|
+
```irb
|
75
|
+
pry(main)> Todo.all
|
76
|
+
=> Todo::ActiveRecord_Relation (array with 1 Todo instance inside)
|
77
|
+
```
|
78
|
+
With the value `:debug`
|
79
|
+
- `ActiveRecord::Relation` objects are displayed like this:
|
80
|
+
```irb
|
81
|
+
pry(main)> Todo.all
|
82
|
+
Todo Count (0.3ms) SELECT COUNT(*) FROM "todos"
|
83
|
+
Todo Load (0.2ms) SELECT "todos".* FROM "todos"
|
84
|
+
+----+-------+------+---------------------------------------------+
|
85
|
+
| id | title | body | {:header_frequency=>10, :border=>:markdown} |
|
86
|
+
+----+-------+------+---------------------------------------------+
|
87
|
+
| 1 | test | nope | |
|
88
|
+
+----+-------+------+---------------------------------------------+
|
89
|
+
|
90
|
+
Todo Count (0.3ms) SELECT COUNT(*) FROM "todos"
|
91
|
+
=> Todo::ActiveRecord_Relation (array with 1 Todo instance inside)
|
92
|
+
```
|
93
|
+
- `Class` objects are displayed like this:
|
94
|
+
```irb
|
95
|
+
pry(main)> Todo
|
96
|
+
=> Todo(id: integer, title: string, body: text, created_at: datetime, updated_at: datetime)
|
97
|
+
|
98
|
+
The Todo class itself.
|
99
|
+
```
|
100
|
+
- All other objects are displayed like this:
|
101
|
+
```irb
|
102
|
+
pry(main)> "hello, world"
|
103
|
+
=> "hello, world"
|
104
|
+
|
105
|
+
An instance of the String class.
|
106
|
+
```
|
107
|
+
|
108
|
+
## Configuration
|
109
|
+
|
110
|
+
Add an initializer:
|
111
|
+
|
112
|
+
```rb
|
113
|
+
AppdevSupport.config do |config|
|
114
|
+
# config.action_dispatch = true
|
115
|
+
# config.active_record = true
|
116
|
+
# config.pryrc = :minimal
|
117
|
+
end
|
118
|
+
AppdevSupport.init
|
119
|
+
```
|
120
|
+
|
121
|
+
In a Rails app, this usually means creating a file in the `config/` folder called `appdev_support.rb`
|
122
|
+
|
123
|
+
By default, these settings are `true`. Turn any of them off here. Options are currently grouped by highest parent class.
|
124
|
+
|
125
|
+
|
126
|
+
## Contributing
|
127
|
+
|
128
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/firstdraft/appdev_support. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/firstdraft/appdev_support/blob/master/CODE_OF_CONDUCT.md).
|
129
|
+
|
130
|
+
|
131
|
+
## License
|
132
|
+
|
133
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
134
|
+
|
135
|
+
## Code of Conduct
|
136
|
+
|
137
|
+
Everyone interacting in the AppdevSupport project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/firstdraft/appdev_support/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
require_relative 'lib/appdev_support/version'
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "appdev_support"
|
5
|
+
spec.version = AppdevSupport::VERSION
|
6
|
+
spec.authors = ["Jelani Woods"]
|
7
|
+
spec.email = ["jelani@firstdraft.com"]
|
8
|
+
|
9
|
+
spec.summary = %q{A gem that ties together the all the Rails monkey patches we use in class.}
|
10
|
+
spec.description = %q{🙈}
|
11
|
+
spec.homepage = "https://github.com/firstdraft/appdev_support"
|
12
|
+
spec.license = "MIT"
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
|
14
|
+
|
15
|
+
spec.metadata["homepage_uri"] = spec.homepage
|
16
|
+
spec.metadata["source_code_uri"] = "https://github.com/firstdraft/appdev_support"
|
17
|
+
spec.metadata["changelog_uri"] = "https://github.com/firstdraft/appdev_support"
|
18
|
+
|
19
|
+
# Specify which files should be added to the gem when it is released.
|
20
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
21
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
22
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
|
+
end
|
24
|
+
spec.bindir = "exe"
|
25
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
26
|
+
spec.require_paths = ["lib"]
|
27
|
+
spec.add_runtime_dependency(%q<tabulo>.freeze, [">= 0"])
|
28
|
+
end
|
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "appdev_support"
|
5
|
+
|
6
|
+
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
+
# with your gem easier. You can also use a different console, if you like.
|
8
|
+
|
9
|
+
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
+
# require "pry"
|
11
|
+
# Pry.start
|
12
|
+
|
13
|
+
require "irb"
|
14
|
+
IRB.start(__FILE__)
|
data/bin/setup
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
module ActionDispatch
|
2
|
+
class Cookies
|
3
|
+
class CookieJar
|
4
|
+
def fetch(key, *fallback)
|
5
|
+
if has_key?(key)
|
6
|
+
self.[](key)
|
7
|
+
elsif fallback.present?
|
8
|
+
fallback
|
9
|
+
else
|
10
|
+
raise KeyError, "Key not found. Could not find #{key} in cookies Hash."
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
module ActionDispatch
|
2
|
+
class Request
|
3
|
+
class Session
|
4
|
+
def fetch(key, *fallback)
|
5
|
+
if has_key?(key)
|
6
|
+
self.[](key)
|
7
|
+
elsif fallback.present?
|
8
|
+
fallback
|
9
|
+
else
|
10
|
+
raise KeyError, "Key not found. Could not find #{key} in session Hash."
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
require "tabulo"
|
2
|
+
Pry.config.print = proc do |output, value, _pry_|
|
3
|
+
case value
|
4
|
+
when ActiveRecord::Relation
|
5
|
+
row_count = value.count
|
6
|
+
|
7
|
+
max_rows_to_display_at_once = 5
|
8
|
+
num_rows_to_frame_with = 2
|
9
|
+
|
10
|
+
column_names_to_exclude = [:created_at, :updated_at]
|
11
|
+
column_names = value.column_names.map(&:to_sym) - column_names_to_exclude
|
12
|
+
|
13
|
+
header_frequency = 10
|
14
|
+
border_style = :markdown
|
15
|
+
|
16
|
+
table_options = {
|
17
|
+
header_frequency: header_frequency,
|
18
|
+
border: border_style,
|
19
|
+
wrap_body_cells_to: 1,
|
20
|
+
truncation_indicator: "…"
|
21
|
+
}
|
22
|
+
|
23
|
+
if row_count > max_rows_to_display_at_once
|
24
|
+
output.puts Tabulo::Table.new(value.limit(num_rows_to_frame_with), *column_names, table_options).pack
|
25
|
+
|
26
|
+
output.puts
|
27
|
+
output.puts "(... #{row_count - 2*num_rows_to_frame_with} more rows between ...)"
|
28
|
+
output.puts
|
29
|
+
|
30
|
+
output.puts Tabulo::Table.new(value.offset(row_count - num_rows_to_frame_with).limit(num_rows_to_frame_with), *column_names, table_options).pack
|
31
|
+
else
|
32
|
+
output.puts Tabulo::Table.new(value, *column_names, table_options).pack
|
33
|
+
end
|
34
|
+
|
35
|
+
output.puts
|
36
|
+
output.puts "=> #{value.to_s}"
|
37
|
+
output.puts
|
38
|
+
when Class
|
39
|
+
Pry::ColorPrinter.default(output, value, _pry_)
|
40
|
+
|
41
|
+
output.puts
|
42
|
+
output.puts("The #{value} class itself.")
|
43
|
+
else
|
44
|
+
Pry::ColorPrinter.default(output, value, _pry_)
|
45
|
+
|
46
|
+
output.puts
|
47
|
+
output.puts("An instance of the #{value.class} class.")
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,46 @@
|
|
1
|
+
require "appdev_support/version"
|
2
|
+
|
3
|
+
module AppdevSupport
|
4
|
+
class Error < StandardError; end
|
5
|
+
|
6
|
+
class << self
|
7
|
+
attr_writer :active_record, :action_dispatch, :pryrc
|
8
|
+
|
9
|
+
def action_dispatch
|
10
|
+
@action_dispatch || true
|
11
|
+
end
|
12
|
+
|
13
|
+
def active_record
|
14
|
+
@active_record || true
|
15
|
+
end
|
16
|
+
|
17
|
+
def pryrc
|
18
|
+
@pryrc || :minimal
|
19
|
+
end
|
20
|
+
|
21
|
+
def config
|
22
|
+
yield self
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
def self.init
|
27
|
+
if @active_record
|
28
|
+
load "appdev_support/active_record/delegation.rb"
|
29
|
+
load "appdev_support/active_record/attribute_methods.rb"
|
30
|
+
load "appdev_support/active_record/relation/to_s.rb"
|
31
|
+
end
|
32
|
+
if @action_dispatch
|
33
|
+
load "appdev_support/action_dispatch/request/session/fetch.rb"
|
34
|
+
load "appdev_support/action_dispatch/request/session/store.rb"
|
35
|
+
load "appdev_support/action_dispatch/cookies/cookie_jar/fetch.rb"
|
36
|
+
load "appdev_support/action_dispatch/cookies/cookie_jar/store.rb"
|
37
|
+
end
|
38
|
+
return unless Object.const_defined?("Pry")
|
39
|
+
case @pryrc
|
40
|
+
when :minimal, true
|
41
|
+
load "appdev_support/pryrc/minimal.rb"
|
42
|
+
when :debug
|
43
|
+
load "appdev_support/pryrc/debug.rb"
|
44
|
+
end
|
45
|
+
end
|
46
|
+
end
|
metadata
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: appdev_support
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jelani Woods
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2023-05-30 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: tabulo
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
description: "\U0001F648"
|
28
|
+
email:
|
29
|
+
- jelani@firstdraft.com
|
30
|
+
executables: []
|
31
|
+
extensions: []
|
32
|
+
extra_rdoc_files: []
|
33
|
+
files:
|
34
|
+
- ".gitignore"
|
35
|
+
- ".rspec"
|
36
|
+
- ".travis.yml"
|
37
|
+
- CODE_OF_CONDUCT.md
|
38
|
+
- Gemfile
|
39
|
+
- Gemfile.lock
|
40
|
+
- LICENSE.txt
|
41
|
+
- README.md
|
42
|
+
- Rakefile
|
43
|
+
- appdev_support.gemspec
|
44
|
+
- bin/console
|
45
|
+
- bin/setup
|
46
|
+
- lib/appdev_support.rb
|
47
|
+
- lib/appdev_support/action_dispatch/cookies/cookie_jar/fetch.rb
|
48
|
+
- lib/appdev_support/action_dispatch/cookies/cookie_jar/store.rb
|
49
|
+
- lib/appdev_support/action_dispatch/request/session/fetch.rb
|
50
|
+
- lib/appdev_support/action_dispatch/request/session/store.rb
|
51
|
+
- lib/appdev_support/active_record/attribute_methods.rb
|
52
|
+
- lib/appdev_support/active_record/calculations.rb
|
53
|
+
- lib/appdev_support/active_record/delegation.rb
|
54
|
+
- lib/appdev_support/active_record/relation/to_s.rb
|
55
|
+
- lib/appdev_support/pryrc/debug.rb
|
56
|
+
- lib/appdev_support/pryrc/minimal.rb
|
57
|
+
- lib/appdev_support/version.rb
|
58
|
+
homepage: https://github.com/firstdraft/appdev_support
|
59
|
+
licenses:
|
60
|
+
- MIT
|
61
|
+
metadata:
|
62
|
+
homepage_uri: https://github.com/firstdraft/appdev_support
|
63
|
+
source_code_uri: https://github.com/firstdraft/appdev_support
|
64
|
+
changelog_uri: https://github.com/firstdraft/appdev_support
|
65
|
+
post_install_message:
|
66
|
+
rdoc_options: []
|
67
|
+
require_paths:
|
68
|
+
- lib
|
69
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 2.3.0
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '0'
|
79
|
+
requirements: []
|
80
|
+
rubygems_version: 3.2.3
|
81
|
+
signing_key:
|
82
|
+
specification_version: 4
|
83
|
+
summary: A gem that ties together the all the Rails monkey patches we use in class.
|
84
|
+
test_files: []
|