mdstyle_linker 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: 66a8b641721d56c8af8bdb322de72db9193b6fa95bd023b7b7427491c31aec1c
4
- data.tar.gz: c92656afc4795871e89ac29205fa26d357c4c1b662ff0b89c3def33d065a7b98
3
+ metadata.gz: 9d580e9f32bb01d29c482aeb0a92d1cbb953fc672f4b16453276a9990900ca86
4
+ data.tar.gz: 7265c1ee0e605c561479674a9124706b699318f80eafeab7f466d441d9454e83
5
5
  SHA512:
6
- metadata.gz: 782576d2b5f9e43aff70e1b52c4d845c628a8336dfe31420576cf27e7d3f590c920f7e334ca52680aafc5ae19f15bac08396fc082ba36befc6c5a3760b9f86dc
7
- data.tar.gz: 7c1bdd207bba0de4ec4d7189db1feb91213b7677c2ccefb5489d0a84b4114e98648a4a837bfe0388942d77532b432e232e3a064d76b696a0fdad13c838a18cc7
6
+ metadata.gz: 74ad441f240e26ed5434c244b29965fdbd5179fde6f82981cd251498e527cb4ff53c341a73f746811ee783cc480a3d23dfb1c3e287a2fd7a681ae03db0448dcd
7
+ data.tar.gz: 0c2bf3a46abd272bca2a43390c46c48ce613a631e458ecbebfffe8622d355be37fe570b29064e30e8603626f3f7c2e50ed4153c07eb5c81c7920d0da1f9b6daf
data/README.md CHANGED
@@ -1,43 +1,20 @@
1
1
  # MdstyleLinker
2
-
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/mdstyle_linker`. 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
6
-
7
- ## Installation
8
-
9
- Add this line to your application's Gemfile:
10
-
11
- ```ruby
12
- gem 'mdstyle_linker'
13
- ```
14
-
15
- And then execute:
16
-
17
- $ bundle
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install mdstyle_linker
2
+ ## what's this
3
+ generate markdown style link (e.g. `[title](url))` from URL
22
4
 
23
5
  ## Usage
6
+ ```ruby
7
+ require "mdstyle_linker"
8
+ url = "https://github.com/halllllll/mdstyle_linker"
9
+ MdstyleLinker.mdstyle(url)
24
10
 
25
- TODO: Write usage instructions here
26
-
27
- ## Development
28
-
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
-
31
- 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 tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
11
+ => "[GitHub - halllllll/mdstyle_linker: generate markdown style link from URL (e.g. \\[title\\](url))](https://github.com/halllllll/mdstyle_linker)"
12
+ ```
32
13
 
33
14
  ## Contributing
34
15
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/mdstyle_linker. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
16
+ \ 🎉 Welcome ANY. 👐/
36
17
 
37
18
  ## License
38
19
 
39
- The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
40
-
41
- ## Code of Conduct
42
-
43
- Everyone interacting in the MdstyleLinker project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/mdstyle_linker/blob/master/CODE_OF_CONDUCT.md).
20
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -1,3 +1,3 @@
1
1
  module MdstyleLinker
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -16,12 +16,12 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
18
  # to allow pushing to a single host or delete this section to allow pushing to any host.
19
- #if spec.respond_to?(:metadata)
20
- # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
- # else
22
- # raise "RubyGems 2.0 or newer is required to protect against " \
23
- # "public gem pushes."
24
- # end
19
+ # if spec.respond_to?(:metadata)
20
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
21
+ # else
22
+ # raise "RubyGems 2.0 or newer is required to protect against " \
23
+ # "public gem pushes."
24
+ # end
25
25
 
26
26
  # Specify which files should be added to the gem when it is released.
27
27
  # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mdstyle_linker
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
  - halllllll