mastodon-social 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 73810aa00a8d27299a5c9446c3cc0a239d5b0076a104688255bac6d70ee203a4
4
- data.tar.gz: dde89d4d59683de3b0c971dce6139cab466135dbb2c77f4d6265d0422b5468e8
3
+ metadata.gz: a4e8066b60a87318c1a92cd9f4eff9139ea8cd7b438924ad79a5505a0c30ff49
4
+ data.tar.gz: 8b96fa22102c4ed75a109e83d3577d12299c81d3a1a734ccb69ee886087a584e
5
5
  SHA512:
6
- metadata.gz: 656f21b8a566eac6f97802ad179521a05710ff071abcfd2066b778821f170362b2ca342ab7cbda02e65847d47dc046aac23cf35eea1fb323ae5209d32d878b7e
7
- data.tar.gz: 43587680e329dc2b0fd6ed335fd70d8b39a65091109211af7fb0c5c29a13cfa7f050fcaaa6be46ad9957335e06672e50150348397eb4ead81939b42425967e2d
6
+ metadata.gz: 79a9b30e00c3b1822246968e2c5e78617f7c36c5054f551f5bf9bee7dc25b289983a197c5a100a032b7780fc3dafa5dfef8dc0ec1abee0141e624fef722f3d90
7
+ data.tar.gz: 82d622c5acc17768b8012cc4b7eef191d1304b4a2803ef177c7bf5f713f4dd523fe5d23588c5472282e05c84782674836b67b15a3f114376ae1eb0eb2d40aa9d
data/README.md CHANGED
@@ -8,10 +8,22 @@ In your `Gemfile` add:
8
8
  ```ruby
9
9
  group :jekyll_plugins do
10
10
  # (other jekyll plugins)
11
- gem 'mastodon-api'
11
+ gem 'mastodon-social'
12
12
  end
13
13
  ```
14
14
 
15
+ The `mastodon-social` gem depends on `mastodon-api`. However, as of September 2023, `mastodon-api` has not been pushed to
16
+ RubyGems in over three years. This means if you just pull in the default version of the gem, it will be out of date and will
17
+ give you strange errors because all its dependencies are old.
18
+
19
+ The version of `mastodon-api` on GitHub has been updated; it just hasn't been pushed to RubyGems. You will need to pull
20
+ `mastodon-api` directly from GitHub instead of RubyGems. To do this, add this line in your `Gemfile` directly under where
21
+ you are importing `mastodon-social`:
22
+
23
+ ```ruby
24
+ gem 'mastodon-api', :git => 'git://github.com/mastodon/mastodon-api.git'
25
+ ```
26
+
15
27
  ## Usage
16
28
 
17
29
  The plugin will add a new `mastodon` command to your jekyll setup:
@@ -57,7 +69,7 @@ the block, like so:
57
69
  ```html
58
70
  {% mastodon_social %}
59
71
  Boost this on Mastodon!
60
- {% end_mastodon_social %}
72
+ {% endmastodon_social %}
61
73
  ```
62
74
 
63
75
  ### Setup and Authorization
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module MastodonSocial
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -0,0 +1,30 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "lib/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "mastodon-social"
7
+ spec.version = MastodonSocial::VERSION
8
+ spec.authors = ["Michael Meckler"]
9
+ spec.email = ["rattroupe@reiterate-app.com"]
10
+
11
+ spec.summary = "Create links for a Jekyll blog that allow reposting on Mastodon"
12
+ spec.description = "Add mastodon social links"
13
+ spec.required_ruby_version = ">= 2.6.0"
14
+ spec.add_runtime_dependency 'mastodon-api', '~> 2.0'
15
+
16
+
17
+ # Specify which files should be added to the gem when it is released.
18
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
19
+ spec.files = Dir.chdir(__dir__) do
20
+ `git ls-files -z`.split("\x0").reject do |f|
21
+ (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
22
+ end
23
+ end
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ # For more information and examples about making a new gem, check out our
29
+ # guide at: https://bundler.io/guides/creating_gem.html
30
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mastodon-social
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Meckler
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-14 00:00:00.000000000 Z
11
+ date: 2023-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mastodon-api
@@ -41,6 +41,7 @@ files:
41
41
  - lib/jekyll/tags/mastodon-link.rb
42
42
  - lib/mastodon-social.rb
43
43
  - lib/version.rb
44
+ - mastodon-social.gemspec
44
45
  - sig/mastodon-social.rbs
45
46
  homepage:
46
47
  licenses: []