Skip to content

Commit 1c6fd00

Browse files
committed
initial commit
0 parents  commit 1c6fd00

File tree

78 files changed

+1201
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1201
-0
lines changed

.gitignore

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
# Ignore pidfiles, but keep the directory.
17+
/tmp/pids/*
18+
!/tmp/pids/
19+
!/tmp/pids/.keep
20+
21+
# Ignore uploaded files in development.
22+
/storage/*
23+
!/storage/.keep
24+
25+
/public/assets
26+
.byebug_history
27+
28+
# Ignore master key for decrypting credentials and more.
29+
/config/master.key
30+
31+
/public/packs
32+
/public/packs-test
33+
/node_modules
34+
/yarn-error.log
35+
yarn-debug.log*
36+
.yarn-integrity
37+
38+
# Environment Variables
39+
.env
40+
41+
# Docs & Guides
42+
/doc/
43+
/docs/*
44+
!/docs/source/
45+
/guides/*
46+
!/guides/source/
47+
48+
# ---------- Rails Engine ---------- #
49+
50+
pkg/
51+
/test/dummy/db/*.sqlite3
52+
/test/dummy/db/*.sqlite3-*
53+
/test/dummy/log/*.log
54+
/test/dummy/storage/
55+
/test/dummy/tmp/
56+
57+
# ---------- Mac ---------- #
58+
59+
.DS_Store
60+
.AppleDouble
61+
.LSOverride
62+
63+
# Icon must end with two \r
64+
Icon
65+
66+
# Thumbnails
67+
._*
68+
69+
# Files that might appear on external disk
70+
.Spotlight-V100
71+
.Trashes
72+
73+
# Directories potentially created on remote AFP share
74+
.AppleDB
75+
.AppleDesktop
76+
Network Trash Folder
77+
Temporary Items
78+
.apdisk

.tool-versions

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby 2.7.0

Gemfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
source 'https://rubygems.org'
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
# Specify your gem's dependencies in action_kit.gemspec.
5+
gemspec
6+
7+
group :development do
8+
gem 'sqlite3'
9+
end
10+
11+
# To use a debugger
12+
# gem 'byebug', group: [:development, :test]

MIT-LICENSE

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
Copyright 2023 plainsource
2+
3+
Permission is hereby granted, free of charge, to any person obtaining
4+
a copy of this software and associated documentation files (the
5+
"Software"), to deal in the Software without restriction, including
6+
without limitation the rights to use, copy, modify, merge, publish,
7+
distribute, sublicense, and/or sell copies of the Software, and to
8+
permit persons to whom the Software is furnished to do so, subject to
9+
the following conditions:
10+
11+
The above copyright notice and this permission notice shall be
12+
included in all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# ActionKit
2+
Short description and motivation.
3+
4+
## Usage
5+
How to use my plugin.
6+
7+
## Installation
8+
Add this line to your application's Gemfile:
9+
10+
```ruby
11+
gem 'action_kit'
12+
```
13+
14+
And then execute:
15+
```bash
16+
$ bundle
17+
```
18+
19+
Or install it yourself as:
20+
```bash
21+
$ gem install action_kit
22+
```
23+
24+
## Contributing
25+
Contribution directions go here.
26+
27+
## License
28+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Rakefile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
require "bundler/setup"
2+
3+
APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
4+
load "rails/tasks/engine.rake"
5+
6+
load "rails/tasks/statistics.rake"
7+
8+
require "bundler/gem_tasks"
9+
10+
require "rake/testtask"
11+
12+
Rake::TestTask.new(:test) do |t|
13+
t.libs << 'test'
14+
t.pattern = 'test/**/*_test.rb'
15+
t.verbose = false
16+
end
17+
18+
task default: :test

actionkit.gemspec

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
require_relative "lib/action_kit/version"
2+
3+
Gem::Specification.new do |spec|
4+
spec.name = "actionkit"
5+
spec.version = ActionKit::VERSION
6+
spec.authors = ["plainsource"]
7+
spec.email = ["plainsource@humanmind.me"]
8+
spec.homepage = "https://www.timeboard.org/plainsource/actionkit"
9+
spec.summary = "ActionKit adds many useful day-to-day features to ActionController and ActionView to help make many tasks easy."
10+
spec.description = "Add an actionkit text column to your model and use all ActionKit features."
11+
spec.license = "MIT"
12+
13+
# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
14+
# to allow pushing to a single host or delete this section to allow pushing to any host.
15+
# spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
16+
17+
spec.metadata["homepage_uri"] = spec.homepage
18+
# spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
19+
# spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
20+
21+
spec.files = Dir["{app,config,db,lib}/**/*", "MIT-LICENSE", "Rakefile", "README.md"]
22+
23+
spec.add_dependency "rails", "~> 6.1.3", ">= 6.1.3.1"
24+
end
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
//= link_directory ../stylesheets/action_kit .css

app/assets/images/action_kit/.keep

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6+
* or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10+
* files in this directory. Styles in this file should be added after the last require_* statement.
11+
* It is generally better to create a new file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/

0 commit comments

Comments
 (0)