gdocs2jekyll 0.1.0 → 0.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4f3dc62b4842ee6989623fef4d100df8a1c9837c88b7a7b263a04c652a4bbd69
4
- data.tar.gz: d5c01aa1343c3973794d70c8bd83b99b3498a067bbaf2a06e9d1dbf2294742ba
3
+ metadata.gz: af70e6103c184aa7f4d0a42a8976522b1695aa95064577574e0ac33f2609ffae
4
+ data.tar.gz: d3c49cd0894303a15652e65f15d45d2e65f75759122741ea1849a6d972a6892a
5
5
  SHA512:
6
- metadata.gz: aff33df9041cd8f71356a0fa6a1963ec4b0863ba133e15b9116508b381f39dcde28f098a5531d3351d786c9bb22f6bbe3090e797921ef6a86b2c74eb6fd721ba
7
- data.tar.gz: 18a6f778ce6aef23f01dd81e8abc183d63db996507b2f3b51b09f78c8a7fba48fc56f138ce30ff94fe3eba8ac1fb286b4ef3ed5c3c49e6ee0e25b7925a681d1b
6
+ metadata.gz: 98a3f5caaa4efacde51c04568e6f943f2eb10269c88d4c52830ecf68056996d2c3b084d8d98ce19bce63c72afb903e624db78574d0f80f6827641afaaedee903
7
+ data.tar.gz: 2e11ac387f69a245e5d2b1e44bd2c6676f866ac177ab15a0c5284ccbbbc2f560e5298197f323420dcfc07fb5c3f92072fd961d03afb6ff308ca536ed7451b322
data/CHANGELOG.md CHANGED
File without changes
data/CODE_OF_CONDUCT.md CHANGED
File without changes
data/Gemfile CHANGED
File without changes
data/LICENSE.txt CHANGED
File without changes
data/README.md CHANGED
@@ -19,6 +19,20 @@ If bundler is not being used to manage dependencies, install the gem by executin
19
19
 
20
20
  $ gem install gdocs2jekyll
21
21
 
22
+ put this in your `_config.yml`
23
+
24
+ ```
25
+ plugins: [gdocs2jekyll]
26
+ ```
27
+
28
+ Finally, create a API Key in your Google Cloud Platform, with access to the Google Docs API, and set the `GOOGLE_DRIVE_API_KEY` environment variable
29
+
30
+ ```
31
+ export GOOGLE_DRIVE_API_KEY="your_generated_api_key"
32
+ ```
33
+
34
+ Without this step, the tag won't generate any content.
35
+
22
36
  ## Usage
23
37
 
24
38
  In your md file just use the tag
data/Rakefile CHANGED
File without changes
data/gdriveurl.png CHANGED
File without changes
data/iframesample.png CHANGED
File without changes
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Gdocs2jekyll
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/gdocs2jekyll.rb CHANGED
File without changes
data/sig/gdocs2jekyll.rbs CHANGED
File without changes
data/tagsample.png CHANGED
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gdocs2jekyll
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
  - Emil Freme
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-13 00:00:00.000000000 Z
11
+ date: 2024-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -79,14 +79,13 @@ files:
79
79
  - LICENSE.txt
80
80
  - README.md
81
81
  - Rakefile
82
- - gdocs2jekyll.gemspec
83
82
  - gdriveurl.png
84
83
  - iframesample.png
85
84
  - lib/gdocs2jekyll.rb
86
85
  - lib/gdocs2jekyll/version.rb
87
86
  - sig/gdocs2jekyll.rbs
88
87
  - tagsample.png
89
- homepage: https://github.com/EmilFreme/gdocs2jekyll
88
+ homepage: https://github.com/emil-freme/gdocs2jekyll
90
89
  licenses:
91
90
  - MIT
92
91
  metadata: {}
@@ -105,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
105
104
  - !ruby/object:Gem::Version
106
105
  version: '0'
107
106
  requirements: []
108
- rubygems_version: 3.2.5
107
+ rubygems_version: 3.4.19
109
108
  signing_key:
110
109
  specification_version: 4
111
110
  summary: Tiny tag generator to embed GDocs in Jekyll post
data/gdocs2jekyll.gemspec DELETED
@@ -1,44 +0,0 @@
1
- # frozen_string_literal: true
2
-
3
- require_relative "lib/gdocs2jekyll/version"
4
-
5
- Gem::Specification.new do |spec|
6
- spec.name = "gdocs2jekyll"
7
- spec.version = Gdocs2jekyll::VERSION
8
- spec.authors = ["Emil Freme"]
9
- spec.email = ["emil@1000fps.co"]
10
-
11
- spec.summary = "Tiny tag generator to embed GDocs in Jekyll post"
12
- spec.description = "Tiny tag generator to embed GDocs in Jekyll post"
13
- spec.homepage = "https://github.com/EmilFreme/gdocs2jekyll"
14
- spec.license = "MIT"
15
- spec.required_ruby_version = ">= 2.6.0"
16
-
17
- # spec.metadata["allowed_push_host"] = "TODO: Set to your gem server 'https://example.com'"
18
-
19
- # spec.metadata["homepage_uri"] = spec.homepage
20
- # spec.metadata["source_code_uri"] = "TODO: Put your gem's public repo URL here."
21
- # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
22
-
23
- # Specify which files should be added to the gem when it is released.
24
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
25
- spec.files = Dir.chdir(__dir__) do
26
- `git ls-files -z`.split("\x0").reject do |f|
27
- (f == __FILE__) || f.match(%r{\A(?:(?:bin|test|spec|features)/|\.(?:git|travis|circleci)|appveyor)})
28
- end
29
- end
30
- spec.bindir = "exe"
31
- spec.executables = spec.files.grep(%r{\Aexe/}) { |f| File.basename(f) }
32
- spec.require_paths = ["lib"]
33
-
34
- # Uncomment to register a new dependency of your gem
35
- # spec.add_dependency "example-gem", "~> 1.0"
36
- spec.add_dependency "jekyll", "~> 4.0"
37
-
38
- spec.add_dependency "http", "~> 5.0.4"
39
- spec.add_dependency "nokogiri", "~> 1.13.6"
40
- spec.add_dependency "pandoc-ruby", "~> 2.1.6"
41
-
42
- # For more information and examples about making a new gem, check out our
43
- # guide at: https://bundler.io/guides/creating_gem.html
44
- end