discord 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.bundle/config +2 -0
- data/.envrc +1 -0
- data/.rubocop.yml +13 -0
- data/CHANGELOG.md +5 -0
- data/Gemfile +12 -0
- data/README.md +33 -0
- data/Rakefile +16 -0
- data/default.nix +15 -0
- data/flake.lock +40 -0
- data/flake.nix +27 -0
- data/lib/discord/version.rb +5 -0
- data/lib/discord.rb +8 -0
- data/shell.nix +3 -0
- data/sig/discord.rbs +4 -0
- metadata +61 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 70401036dccd020159fea88e54204dcebf9ae354aa22b13d0b3dc2f9fe9fdaba
|
4
|
+
data.tar.gz: 428e5946bebc533016388e8380e69c8f1eed469682c51e0703cc7a0e3f0a65bc
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 7411e1fe26ed25d22f42fa2280b1d1daec3de8decd0cbce5cc0c83376184cccb6b87281ae1bc02783fde4ba9ecd43ff74e35d27cc12b54805e142fe7062af802
|
7
|
+
data.tar.gz: 4ab64720d14539ac12aef00300ba7c5bb1d1cc78d217171e3676672db592d756e2061534f1f51b5e1f1d8a60227efcaf2d9213e2c94bcecc855330f643cf2feb
|
data/.bundle/config
ADDED
data/.envrc
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
use flake
|
data/.rubocop.yml
ADDED
data/CHANGELOG.md
ADDED
data/Gemfile
ADDED
data/README.md
ADDED
@@ -0,0 +1,33 @@
|
|
1
|
+
# Discord
|
2
|
+
|
3
|
+
experimental discord api wrapper
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'discord'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle install
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install discord
|
20
|
+
|
21
|
+
## Usage
|
22
|
+
|
23
|
+
TODO: Write usage instructions here
|
24
|
+
|
25
|
+
## Development
|
26
|
+
|
27
|
+
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
28
|
+
|
29
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
30
|
+
|
31
|
+
## Contributing
|
32
|
+
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/discord.
|
data/Rakefile
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require "bundler/gem_tasks"
|
4
|
+
require "rake/testtask"
|
5
|
+
|
6
|
+
Rake::TestTask.new(:test) do |t|
|
7
|
+
t.libs << "test"
|
8
|
+
t.libs << "lib"
|
9
|
+
t.test_files = FileList["test/**/test_*.rb"]
|
10
|
+
end
|
11
|
+
|
12
|
+
require "rubocop/rake_task"
|
13
|
+
|
14
|
+
RuboCop::RakeTask.new
|
15
|
+
|
16
|
+
task default: %i[test rubocop]
|
data/default.nix
ADDED
data/flake.lock
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
{
|
2
|
+
"nodes": {
|
3
|
+
"flake-utils": {
|
4
|
+
"locked": {
|
5
|
+
"lastModified": 1659877975,
|
6
|
+
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
|
7
|
+
"owner": "numtide",
|
8
|
+
"repo": "flake-utils",
|
9
|
+
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
|
10
|
+
"type": "github"
|
11
|
+
},
|
12
|
+
"original": {
|
13
|
+
"owner": "numtide",
|
14
|
+
"repo": "flake-utils",
|
15
|
+
"type": "github"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"nixpkgs": {
|
19
|
+
"locked": {
|
20
|
+
"lastModified": 1666726448,
|
21
|
+
"narHash": "sha256-7p/vPB1I0AFCwAc3sHcBui7x3qKm8KclwGoCHTlx0A4=",
|
22
|
+
"path": "/nix/store/dks90x2yk9zhg6ybcjvc1rgnn5k0qz3s-source",
|
23
|
+
"rev": "3689a76637f9b233529ec79d0927142ff28b0a5a",
|
24
|
+
"type": "path"
|
25
|
+
},
|
26
|
+
"original": {
|
27
|
+
"id": "nixpkgs",
|
28
|
+
"type": "indirect"
|
29
|
+
}
|
30
|
+
},
|
31
|
+
"root": {
|
32
|
+
"inputs": {
|
33
|
+
"flake-utils": "flake-utils",
|
34
|
+
"nixpkgs": "nixpkgs"
|
35
|
+
}
|
36
|
+
}
|
37
|
+
},
|
38
|
+
"root": "root",
|
39
|
+
"version": 7
|
40
|
+
}
|
data/flake.nix
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
{
|
2
|
+
description = "ruby discord";
|
3
|
+
|
4
|
+
inputs = {
|
5
|
+
# nixpkgs.url = github:nixos/nixpkgs;
|
6
|
+
|
7
|
+
flake-utils.url = github:numtide/flake-utils;
|
8
|
+
};
|
9
|
+
|
10
|
+
outputs = { self
|
11
|
+
, nixpkgs
|
12
|
+
, flake-utils
|
13
|
+
}: flake-utils.lib.eachDefaultSystem (system: let
|
14
|
+
pkgs = nixpkgs.legacyPackages.${system};
|
15
|
+
|
16
|
+
pkgName = "ruby-discord";
|
17
|
+
|
18
|
+
pkg = pkgs.callPackage ./default.nix { };
|
19
|
+
shell = import ./shell.nix { inherit pkgs; };
|
20
|
+
in {
|
21
|
+
packages.${pkgName} = pkg;
|
22
|
+
packages.default = pkg;
|
23
|
+
|
24
|
+
devShells.${pkgName} = shell;
|
25
|
+
devShells.default = shell;
|
26
|
+
});
|
27
|
+
}
|
data/lib/discord.rb
ADDED
data/shell.nix
ADDED
data/sig/discord.rbs
ADDED
metadata
ADDED
@@ -0,0 +1,61 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: discord
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Anna Kudriavtsev
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 1980-01-01 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description:
|
14
|
+
email:
|
15
|
+
- anna328p@gmail.com
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- ".bundle/config"
|
21
|
+
- ".envrc"
|
22
|
+
- ".rubocop.yml"
|
23
|
+
- CHANGELOG.md
|
24
|
+
- Gemfile
|
25
|
+
- README.md
|
26
|
+
- Rakefile
|
27
|
+
- default.nix
|
28
|
+
- flake.lock
|
29
|
+
- flake.nix
|
30
|
+
- lib/discord.rb
|
31
|
+
- lib/discord/version.rb
|
32
|
+
- shell.nix
|
33
|
+
- sig/discord.rbs
|
34
|
+
homepage: https://github.com/arch-community/ruby-discord
|
35
|
+
licenses:
|
36
|
+
- AGPL-3.0-or-later
|
37
|
+
metadata:
|
38
|
+
allowed_push_host: https://rubygems.org
|
39
|
+
homepage_uri: https://github.com/arch-community/ruby-discord
|
40
|
+
source_code_uri: https://github.com/arch-community/ruby-discord
|
41
|
+
changelog_uri: https://github.com/arch-community/ruby-discord/blob/main/CHANGELOG.md
|
42
|
+
post_install_message:
|
43
|
+
rdoc_options: []
|
44
|
+
require_paths:
|
45
|
+
- lib
|
46
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
47
|
+
requirements:
|
48
|
+
- - ">="
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 3.1.0
|
51
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
52
|
+
requirements:
|
53
|
+
- - ">="
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
requirements: []
|
57
|
+
rubygems_version: 3.3.20
|
58
|
+
signing_key:
|
59
|
+
specification_version: 4
|
60
|
+
summary: Discord API abstraction layer
|
61
|
+
test_files: []
|