gal 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -3
- data/.travis.yml +2 -3
- data/CHANGELOG.md +0 -5
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +8 -6
- data/Gemfile.lock +11 -34
- data/LICENSE.txt +1 -1
- data/README.md +11 -4
- data/Rakefile +8 -8
- data/bin/console +8 -15
- data/bin/setup +0 -2
- data/gal.gemspec +28 -35
- data/lib/gal.rb +7 -111
- data/lib/gal/version.rb +5 -5
- metadata +11 -81
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afa3d56d51b9e0093e5a195317fe3fc25c0c84f90b28ac760382aae3ff793300
|
4
|
+
data.tar.gz: add5b306d106947b1834da8c726d375b93eabe26fe7bebb8968ee0bdf6971fa7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6373b776a005c89f907eefe8101ff669729ae83f781dc8e9435861d7948989b494d1112857daaa80e64b015cf9e958028e80f6e9d97c132fc5551b1c9ff0ee46
|
7
|
+
data.tar.gz: 24c8ef6a20f2225e59964a1c38e37982fd21462ba621287456e18421ec267e43d1ab21f5ef878412d44a9ac957edfcd6c946f789c6daacfc3378cc8a691a2c9e
|
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
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 vinkovedran@gmail.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
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
source 'https://rubygems.org'
|
4
|
-
|
5
|
-
|
6
|
-
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
source 'https://rubygems.org'
|
4
|
+
|
5
|
+
gemspec
|
6
|
+
|
7
|
+
gem 'rake', '~> 12.0'
|
8
|
+
gem 'rspec', '~> 3.0'
|
data/Gemfile.lock
CHANGED
@@ -1,57 +1,34 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
gal (0.1.
|
5
|
-
dotenv
|
6
|
-
rest-client
|
4
|
+
gal (0.1.1)
|
7
5
|
|
8
6
|
GEM
|
9
7
|
remote: https://rubygems.org/
|
10
8
|
specs:
|
11
|
-
diff-lcs (1.
|
12
|
-
|
13
|
-
unf (>= 0.0.5, < 1.0.0)
|
14
|
-
dotenv (2.7.5)
|
15
|
-
ffi (1.11.1-x64-mingw32)
|
16
|
-
http-accept (1.7.0)
|
17
|
-
http-cookie (1.0.3)
|
18
|
-
domain_name (~> 0.5)
|
19
|
-
mime-types (3.3)
|
20
|
-
mime-types-data (~> 3.2015)
|
21
|
-
mime-types-data (3.2019.1009)
|
22
|
-
netrc (0.11.0)
|
23
|
-
rake (10.5.0)
|
24
|
-
rest-client (2.1.0-x64-mingw32)
|
25
|
-
ffi (~> 1.9)
|
26
|
-
http-accept (>= 1.7.0, < 2.0)
|
27
|
-
http-cookie (>= 1.0.2, < 2.0)
|
28
|
-
mime-types (>= 1.16, < 4.0)
|
29
|
-
netrc (~> 0.8)
|
9
|
+
diff-lcs (1.4.4)
|
10
|
+
rake (12.3.3)
|
30
11
|
rspec (3.9.0)
|
31
12
|
rspec-core (~> 3.9.0)
|
32
13
|
rspec-expectations (~> 3.9.0)
|
33
14
|
rspec-mocks (~> 3.9.0)
|
34
|
-
rspec-core (3.9.
|
35
|
-
rspec-support (~> 3.9.
|
36
|
-
rspec-expectations (3.9.
|
15
|
+
rspec-core (3.9.2)
|
16
|
+
rspec-support (~> 3.9.3)
|
17
|
+
rspec-expectations (3.9.2)
|
37
18
|
diff-lcs (>= 1.2.0, < 2.0)
|
38
19
|
rspec-support (~> 3.9.0)
|
39
|
-
rspec-mocks (3.9.
|
20
|
+
rspec-mocks (3.9.1)
|
40
21
|
diff-lcs (>= 1.2.0, < 2.0)
|
41
22
|
rspec-support (~> 3.9.0)
|
42
|
-
rspec-support (3.9.
|
43
|
-
unf (0.1.4)
|
44
|
-
unf_ext
|
45
|
-
unf_ext (0.0.7.6)
|
23
|
+
rspec-support (3.9.3)
|
46
24
|
|
47
25
|
PLATFORMS
|
48
|
-
|
26
|
+
ruby
|
49
27
|
|
50
28
|
DEPENDENCIES
|
51
|
-
bundler (~> 2.0)
|
52
29
|
gal!
|
53
|
-
rake (~>
|
30
|
+
rake (~> 12.0)
|
54
31
|
rspec (~> 3.0)
|
55
32
|
|
56
33
|
BUNDLED WITH
|
57
|
-
2.
|
34
|
+
2.1.4
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,8 @@
|
|
1
|
-
#
|
1
|
+
# Gal
|
2
2
|
|
3
|
-
|
3
|
+
Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/gal`. To experiment with that code, run `bin/console` for an interactive prompt.
|
4
|
+
|
5
|
+
TODO: Delete this and the text above, and describe your gem
|
4
6
|
|
5
7
|
## Installation
|
6
8
|
|
@@ -12,7 +14,7 @@ gem 'gal'
|
|
12
14
|
|
13
15
|
And then execute:
|
14
16
|
|
15
|
-
$ bundle
|
17
|
+
$ bundle install
|
16
18
|
|
17
19
|
Or install it yourself as:
|
18
20
|
|
@@ -30,8 +32,13 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
30
32
|
|
31
33
|
## Contributing
|
32
34
|
|
33
|
-
Bug reports and pull requests are welcome on
|
35
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/gal. 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/[USERNAME]/gal/blob/master/CODE_OF_CONDUCT.md).
|
36
|
+
|
34
37
|
|
35
38
|
## License
|
36
39
|
|
37
40
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
41
|
+
|
42
|
+
## Code of Conduct
|
43
|
+
|
44
|
+
Everyone interacting in the Gal project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/gal/blob/master/CODE_OF_CONDUCT.md).
|
data/Rakefile
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'bundler/gem_tasks'
|
4
|
-
require 'rspec/core/rake_task'
|
5
|
-
|
6
|
-
RSpec::Core::RakeTask.new(:spec)
|
7
|
-
|
8
|
-
task default: :spec
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'bundler/gem_tasks'
|
4
|
+
require 'rspec/core/rake_task'
|
5
|
+
|
6
|
+
RSpec::Core::RakeTask.new(:spec)
|
7
|
+
|
8
|
+
task default: :spec
|
data/bin/console
CHANGED
@@ -1,15 +1,8 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
require 'bundler/setup'
|
5
|
-
require 'gal'
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
11
|
-
# require "pry"
|
12
|
-
# Pry.start
|
13
|
-
|
14
|
-
require 'irb'
|
15
|
-
IRB.start(__FILE__)
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
require 'bundler/setup'
|
5
|
+
require 'gal'
|
6
|
+
|
7
|
+
require 'irb'
|
8
|
+
IRB.start(__FILE__)
|
data/bin/setup
CHANGED
data/gal.gemspec
CHANGED
@@ -1,35 +1,28 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
spec.
|
9
|
-
spec.
|
10
|
-
|
11
|
-
spec.
|
12
|
-
|
13
|
-
spec.
|
14
|
-
spec.
|
15
|
-
spec.
|
16
|
-
|
17
|
-
|
18
|
-
spec.metadata['
|
19
|
-
spec.metadata['
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
spec.bindir = 'exe'
|
26
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
|
-
spec.require_paths = ['lib']
|
28
|
-
|
29
|
-
spec.add_runtime_dependency 'dotenv'
|
30
|
-
spec.add_runtime_dependency 'rest-client'
|
31
|
-
|
32
|
-
spec.add_development_dependency 'bundler', '~> 2.0'
|
33
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
34
|
-
spec.add_development_dependency 'rspec', '~> 3.0'
|
35
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require_relative 'lib/gal/version'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = 'gal'
|
7
|
+
spec.version = Gal::VERSION
|
8
|
+
spec.authors = ['vedranvinko']
|
9
|
+
spec.email = ['vinkovedran@gmail.com']
|
10
|
+
|
11
|
+
spec.summary = 'Pastebin API wrapper'
|
12
|
+
spec.description = 'A small wrapper for Pastebn API'
|
13
|
+
spec.homepage = 'https://github.com/vedranvinko/gal'
|
14
|
+
spec.license = 'MIT'
|
15
|
+
spec.required_ruby_version = Gem::Requirement.new('>= 2.3.0')
|
16
|
+
|
17
|
+
spec.metadata['homepage_uri'] = spec.homepage
|
18
|
+
spec.metadata['source_code_uri'] = 'https://github.com/vedranvinko/gal'
|
19
|
+
spec.metadata['changelog_uri'] = 'https://github.com/vedranvinko/gal/CHANGELOG.md'
|
20
|
+
|
21
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
22
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
|
+
end
|
24
|
+
|
25
|
+
spec.bindir = 'exe'
|
26
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
27
|
+
spec.require_paths = ['lib']
|
28
|
+
end
|
data/lib/gal.rb
CHANGED
@@ -1,111 +1,7 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'gal/version'
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
Dotenv.load
|
9
|
-
|
10
|
-
class Gal
|
11
|
-
attr_accessor :default
|
12
|
-
|
13
|
-
def initialize
|
14
|
-
@url = 'http://pastebin.com/api/api_'
|
15
|
-
@raw = 'http://pastebin.com/raw/'
|
16
|
-
|
17
|
-
@default = {
|
18
|
-
api_dev_key: ENV['token'],
|
19
|
-
api_user_name: ENV['name'],
|
20
|
-
api_user_password: ENV['password'],
|
21
|
-
api_user_key: nil,
|
22
|
-
api_option: nil,
|
23
|
-
api_paste_key: nil,
|
24
|
-
api_paste_name: nil,
|
25
|
-
api_paste_code: nil,
|
26
|
-
api_paste_format: 'ruby',
|
27
|
-
api_paste_private: '0',
|
28
|
-
api_paste_expire_date: 'N'
|
29
|
-
}
|
30
|
-
|
31
|
-
user_key
|
32
|
-
end
|
33
|
-
|
34
|
-
# rubocop:disable Style/MethodMissingSuper
|
35
|
-
# rubocop:disable Style/MissingRespondToMissing
|
36
|
-
def method_missing(m, *_args)
|
37
|
-
puts "There is no method called #{m} - please try again."
|
38
|
-
puts "Available methods are:\n"
|
39
|
-
puts public_methods(false)
|
40
|
-
end
|
41
|
-
# rubocop:enable Style/MethodMissingSuper
|
42
|
-
# rubocop:enable Style/MissingRespondToMissing
|
43
|
-
|
44
|
-
# User API
|
45
|
-
|
46
|
-
# Creation
|
47
|
-
def create(options)
|
48
|
-
raise 'Options must be a hash' unless options.is_a?(Hash)
|
49
|
-
|
50
|
-
@default[:api_paste_name] = options[:api_paste_name] || 'AutoPaste: ' + Time.now.strftime('%d/%m/%Y %H:%M:%S')
|
51
|
-
@default[:api_option] = 'paste'
|
52
|
-
@default[:api_paste_code] = options[:api_paste_code]
|
53
|
-
|
54
|
-
rsp = RestClient.post @url + 'post.php', @default
|
55
|
-
|
56
|
-
rsp.body
|
57
|
-
end
|
58
|
-
|
59
|
-
def delete(pkey)
|
60
|
-
raise 'Paste key must be a string' unless pkey.is_a?(String)
|
61
|
-
|
62
|
-
@default[:api_option] = 'delete'
|
63
|
-
@default[:api_paste_key] = pkey
|
64
|
-
rsp = RestClient.post @url + 'post.php', @default
|
65
|
-
|
66
|
-
rsp.body
|
67
|
-
end
|
68
|
-
|
69
|
-
# User info methods
|
70
|
-
def user
|
71
|
-
@default[:api_option] = 'userdetails'
|
72
|
-
rsp = RestClient.post @url + 'post.php', @default
|
73
|
-
|
74
|
-
rsp.body
|
75
|
-
end
|
76
|
-
|
77
|
-
# Collections
|
78
|
-
def list_user_entries(num)
|
79
|
-
raise 'Please provide integer as an argument' unless num.is_a?(Integer)
|
80
|
-
|
81
|
-
@default[:api_results_limit] = num
|
82
|
-
@default[:api_option] = 'list'
|
83
|
-
rsp = RestClient.post @url + 'post.php', @default
|
84
|
-
|
85
|
-
rsp.body
|
86
|
-
end
|
87
|
-
|
88
|
-
alias pastes list_user_entries
|
89
|
-
|
90
|
-
def raw_paste(pkey)
|
91
|
-
raise 'Paste key must be a string' unless pkey.is_a?(String)
|
92
|
-
|
93
|
-
rsp = RestClient.post @raw + pkey, @default
|
94
|
-
|
95
|
-
rsp.body
|
96
|
-
end
|
97
|
-
|
98
|
-
# Misc
|
99
|
-
|
100
|
-
def options
|
101
|
-
@default
|
102
|
-
end
|
103
|
-
|
104
|
-
protected
|
105
|
-
|
106
|
-
def user_key
|
107
|
-
rsp = RestClient.post @url + 'login.php', @default
|
108
|
-
@default[:api_user_key] = rsp.body
|
109
|
-
end
|
110
|
-
|
111
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'gal/version'
|
4
|
+
|
5
|
+
module Gal
|
6
|
+
class Error < StandardError; end
|
7
|
+
end
|
data/lib/gal/version.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
|
4
|
-
VERSION = '0.1.
|
5
|
-
end
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Gal
|
4
|
+
VERSION = '0.1.1'
|
5
|
+
end
|
metadata
CHANGED
@@ -1,86 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vedranvinko
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
12
|
-
dependencies:
|
13
|
-
|
14
|
-
name: dotenv
|
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
|
-
- !ruby/object:Gem::Dependency
|
28
|
-
name: rest-client
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
30
|
-
requirements:
|
31
|
-
- - ">="
|
32
|
-
- !ruby/object:Gem::Version
|
33
|
-
version: '0'
|
34
|
-
type: :runtime
|
35
|
-
prerelease: false
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
version: '0'
|
41
|
-
- !ruby/object:Gem::Dependency
|
42
|
-
name: bundler
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
44
|
-
requirements:
|
45
|
-
- - "~>"
|
46
|
-
- !ruby/object:Gem::Version
|
47
|
-
version: '2.0'
|
48
|
-
type: :development
|
49
|
-
prerelease: false
|
50
|
-
version_requirements: !ruby/object:Gem::Requirement
|
51
|
-
requirements:
|
52
|
-
- - "~>"
|
53
|
-
- !ruby/object:Gem::Version
|
54
|
-
version: '2.0'
|
55
|
-
- !ruby/object:Gem::Dependency
|
56
|
-
name: rake
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
|
-
requirements:
|
59
|
-
- - "~>"
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '10.0'
|
62
|
-
type: :development
|
63
|
-
prerelease: false
|
64
|
-
version_requirements: !ruby/object:Gem::Requirement
|
65
|
-
requirements:
|
66
|
-
- - "~>"
|
67
|
-
- !ruby/object:Gem::Version
|
68
|
-
version: '10.0'
|
69
|
-
- !ruby/object:Gem::Dependency
|
70
|
-
name: rspec
|
71
|
-
requirement: !ruby/object:Gem::Requirement
|
72
|
-
requirements:
|
73
|
-
- - "~>"
|
74
|
-
- !ruby/object:Gem::Version
|
75
|
-
version: '3.0'
|
76
|
-
type: :development
|
77
|
-
prerelease: false
|
78
|
-
version_requirements: !ruby/object:Gem::Requirement
|
79
|
-
requirements:
|
80
|
-
- - "~>"
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: '3.0'
|
83
|
-
description: A small wrapper for Pastebin API.
|
11
|
+
date: 2020-08-14 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: A small wrapper for Pastebn API
|
84
14
|
email:
|
85
15
|
- vinkovedran@gmail.com
|
86
16
|
executables: []
|
@@ -91,6 +21,7 @@ files:
|
|
91
21
|
- ".rspec"
|
92
22
|
- ".travis.yml"
|
93
23
|
- CHANGELOG.md
|
24
|
+
- CODE_OF_CONDUCT.md
|
94
25
|
- Gemfile
|
95
26
|
- Gemfile.lock
|
96
27
|
- LICENSE.txt
|
@@ -101,13 +32,13 @@ files:
|
|
101
32
|
- gal.gemspec
|
102
33
|
- lib/gal.rb
|
103
34
|
- lib/gal/version.rb
|
104
|
-
homepage: https://
|
35
|
+
homepage: https://github.com/vedranvinko/gal
|
105
36
|
licenses:
|
106
37
|
- MIT
|
107
38
|
metadata:
|
108
|
-
homepage_uri: https://
|
109
|
-
source_code_uri: https://
|
110
|
-
changelog_uri: https://
|
39
|
+
homepage_uri: https://github.com/vedranvinko/gal
|
40
|
+
source_code_uri: https://github.com/vedranvinko/gal
|
41
|
+
changelog_uri: https://github.com/vedranvinko/gal/CHANGELOG.md
|
111
42
|
post_install_message:
|
112
43
|
rdoc_options: []
|
113
44
|
require_paths:
|
@@ -116,15 +47,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
116
47
|
requirements:
|
117
48
|
- - ">="
|
118
49
|
- !ruby/object:Gem::Version
|
119
|
-
version:
|
50
|
+
version: 2.3.0
|
120
51
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
121
52
|
requirements:
|
122
53
|
- - ">="
|
123
54
|
- !ruby/object:Gem::Version
|
124
55
|
version: '0'
|
125
56
|
requirements: []
|
126
|
-
|
127
|
-
rubygems_version: 2.7.6.2
|
57
|
+
rubygems_version: 3.1.2
|
128
58
|
signing_key:
|
129
59
|
specification_version: 4
|
130
60
|
summary: Pastebin API wrapper
|