script_ripper 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 987b360a4e6447333e064b4a449a0aa6a300efd512a9a4028311615cc106721f
4
+ data.tar.gz: 0f5892b689a3798f828434f8e9a87c389a0dceafe97f2f055a8c34f5c91d4d57
5
+ SHA512:
6
+ metadata.gz: 5b7cf963825db3ed3802731fec4a27511a52d8f7b86abde2dfa568bf0c200ca5127aa9536e137782737dd9f5a11c22f21215616a494a26e9ae23303d78c77fa9
7
+ data.tar.gz: 917cec678062943ae00ccca24a0859d84c4ac4b439e1b9825ff1231b31bce0490cbf62b6395d5f0fb1bf17c7606cf78a298760ed7540ea990d402cff4f52e0b2
data/.editorconfig ADDED
@@ -0,0 +1,12 @@
1
+ # EditorConfig is awesome: https://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ [*]
7
+ indent_style = space
8
+ indent_size = 2
9
+ end_of_line = lf
10
+ charset = utf-8
11
+ trim_trailing_whitespace = true
12
+ insert_final_newline = true
data/.gitignore ADDED
@@ -0,0 +1,8 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.1.2
data/.travis.yml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ sudo: false
3
+ language: ruby
4
+ cache: bundler
5
+ rvm:
6
+ - 2.6.8
7
+ before_install: gem install bundler -v 1.17.2
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in script_ripper.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,51 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ script_ripper (0.1.0)
5
+ nokogiri (~> 1.13)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ addressable (2.8.1)
11
+ public_suffix (>= 2.0.2, < 6.0)
12
+ crack (0.4.5)
13
+ rexml
14
+ debug (1.6.2)
15
+ irb (>= 1.3.6)
16
+ reline (>= 0.3.1)
17
+ hashdiff (1.0.1)
18
+ io-console (0.5.11)
19
+ irb (1.4.1)
20
+ reline (>= 0.3.0)
21
+ minitest (5.16.3)
22
+ mocha (1.14.0)
23
+ nokogiri (1.13.8-arm64-darwin)
24
+ racc (~> 1.4)
25
+ public_suffix (5.0.0)
26
+ racc (1.6.0)
27
+ rake (13.0.6)
28
+ reline (0.3.1)
29
+ io-console (~> 0.5)
30
+ rexml (3.2.5)
31
+ vcr (6.1.0)
32
+ webmock (3.18.1)
33
+ addressable (>= 2.8.0)
34
+ crack (>= 0.3.2)
35
+ hashdiff (>= 0.4.0, < 2.0.0)
36
+
37
+ PLATFORMS
38
+ arm64-darwin-21
39
+
40
+ DEPENDENCIES
41
+ bundler (~> 2.3)
42
+ debug (~> 1.6)
43
+ minitest (~> 5.16)
44
+ mocha (~> 1.14)
45
+ rake (~> 13.0)
46
+ script_ripper!
47
+ vcr (= 6.1.0)
48
+ webmock (~> 3.18)
49
+
50
+ BUNDLED WITH
51
+ 2.3.7
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2022 Dave Benvenuti
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,39 @@
1
+ # Script::Ripper
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/script/ripper`. 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 'script_ripper'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install script_ripper
22
+
23
+ ## Usage
24
+
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 test` 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).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/script_ripper.
36
+
37
+ ## License
38
+
39
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,10 @@
1
+ require "bundler/gem_tasks"
2
+ require "rake/testtask"
3
+
4
+ Rake::TestTask.new(:test) do |t|
5
+ t.libs << "test"
6
+ t.libs << "lib"
7
+ t.test_files = FileList["test/**/*_test.rb"]
8
+ end
9
+
10
+ task :default => :test
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "script_ripper"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
data/exe/script_ripper ADDED
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+ $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
3
+
4
+ require "script_ripper/cli"
5
+
6
+ ScriptRipper::CLI.call
@@ -0,0 +1,94 @@
1
+ require "optparse"
2
+
3
+ require "script_ripper/downloader"
4
+ require "script_ripper/parser"
5
+ require "script_ripper/script_writer"
6
+
7
+ module ScriptRipper
8
+ class CLI
9
+ attr_reader :arguments, :options, :url, :group_name
10
+
11
+ def initialize(arguments = ARGV)
12
+ @arguments = arguments
13
+ @options = {}
14
+ end
15
+
16
+ def call
17
+ parse_arguments!
18
+
19
+ content = Downloader.call(url)
20
+ code_blocks = Parser.call(content, group_by: group_by)
21
+
22
+ if code_blocks.is_a?(Hash)
23
+ ScriptWriter.call(code_blocks: code_blocks[group_name], from_url: url, group_name: group_name)
24
+ else
25
+ ScriptWriter.call(code_blocks: code_blocks, from_url: url)
26
+ end
27
+ end
28
+
29
+ class << self
30
+ def call(arguments = ARGV)
31
+ new(arguments).call
32
+ end
33
+ end
34
+
35
+ def group_by
36
+ options[:"group-by"]
37
+ end
38
+
39
+ private
40
+
41
+ attr_reader :option_parser
42
+
43
+ def parse_arguments!
44
+ @option_parser = OptionParser.new do |opts|
45
+ opts.banner = "Usage: script_ripper [options] URL [group_name]"
46
+
47
+ opts.on(
48
+ "-g GROUPBY",
49
+ "--group-by GROUPBY",
50
+ "Group by an element type (typically something like h2, h3, etc. Required if group_name is provided."
51
+ )
52
+
53
+ opts.on("-h", "--help", "Show this message")
54
+
55
+ opts.parse!(arguments, into: options)
56
+ end
57
+
58
+ if options["help"]
59
+ puts option_parser
60
+ exit 0
61
+ end
62
+
63
+ # opts.parse! is destructive, so whatever remains should be the URL and optional group name
64
+ @url, @group_name = arguments
65
+
66
+ print_usage_and_exit_if_arguments_invalid!
67
+ end
68
+
69
+ def print_usage_and_exit_if_arguments_invalid!
70
+ fail! if blank?(url)
71
+
72
+ return if blank?(group_by) && blank?(group_name)
73
+ return if present?(group_by) && present?(group_name)
74
+
75
+ fail!
76
+ end
77
+
78
+ def fail!
79
+ puts option_parser
80
+ exit 1
81
+ end
82
+
83
+ def present?(value)
84
+ return false if value.nil?
85
+ return false if value.respond_to?(:empty?) && value.empty?
86
+
87
+ true
88
+ end
89
+
90
+ def blank?(value)
91
+ !present?(value)
92
+ end
93
+ end
94
+ end
@@ -0,0 +1,21 @@
1
+ module ScriptRipper
2
+ class CodeBlock
3
+ attr_reader :description, :code, :nokogiri_list_item
4
+
5
+ def initialize(description:, code:, nokogiri_list_item: nil)
6
+ @description = description.chomp
7
+ @code = code.chomp
8
+ @nokogiri_list_item = nokogiri_list_item
9
+ end
10
+
11
+ def inspect
12
+ { "description" => description, "code" => code }.inspect
13
+ end
14
+
15
+ def ==(other_code_block)
16
+ return false unless other_code_block.is_a?(CodeBlock)
17
+
18
+ description == other_code_block.description && code == other_code_block.code
19
+ end
20
+ end
21
+ end
@@ -0,0 +1,25 @@
1
+ require "open-uri"
2
+
3
+ module ScriptRipper
4
+ class Downloader
5
+ attr_reader :url
6
+
7
+ def initialize(url)
8
+ @url = url
9
+ end
10
+
11
+ def call
12
+ StringIO.new.tap { |content|
13
+ URI.open(url) do |remote_content|
14
+ content.write(remote_content.read)
15
+ end
16
+ }.string
17
+ end
18
+
19
+ class << self
20
+ def call(url)
21
+ new(url).call
22
+ end
23
+ end
24
+ end
25
+ end
@@ -0,0 +1,75 @@
1
+ require "nokogiri"
2
+ require "script_ripper/code_block"
3
+
4
+ module ScriptRipper
5
+ class Parser
6
+ attr_reader :contents
7
+ attr_reader :group_by
8
+
9
+ def initialize(contents, group_by = nil)
10
+ @contents = contents
11
+ @group_by = group_by
12
+ end
13
+
14
+ def call
15
+ code_blocks = document.css("ol").map do |ordered_list|
16
+ ordered_list.css("li").map do |list_item|
17
+ CodeBlock.new(
18
+ description: list_item.css("p").map(&:text).join("\n"),
19
+ code: list_item.css("code").text,
20
+ nokogiri_list_item: list_item
21
+ )
22
+ end
23
+ end.flatten.reject { |code_block| code_block.code.nil? || code_block.code.empty? }
24
+
25
+ return code_blocks if groupings_hash.empty?
26
+
27
+ {}.tap do |result|
28
+ code_blocks.each do |code_block|
29
+ grouping = find_previous_grouping_element(find_list_parent(code_block.nokogiri_list_item))
30
+
31
+ group_name = grouping&.text
32
+
33
+ result[group_name] ||= []
34
+ result[group_name] << code_block
35
+ end
36
+ end
37
+ end
38
+
39
+ class << self
40
+ def call(contents, group_by = nil)
41
+ new(contents, group_by).call
42
+ end
43
+ end
44
+
45
+ private
46
+
47
+ def find_previous_grouping_element(element)
48
+ previous_element = element&.previous_element
49
+
50
+ return nil if previous_element.nil?
51
+ return previous_element if groupings_hash[previous_element.text] == previous_element
52
+
53
+ find_previous_grouping_element(previous_element)
54
+ end
55
+
56
+ def find_list_parent(list_item)
57
+ return list_item if list_item.name == "ol"
58
+ return nil if list_item.parent.nil?
59
+
60
+ find_list_parent(list_item.parent)
61
+ end
62
+
63
+ def document
64
+ @document ||= Nokogiri::HTML(contents)
65
+ end
66
+
67
+ def groupings
68
+ @groupings ||= document.css(group_by)
69
+ end
70
+
71
+ def groupings_hash
72
+ @groupings_hash ||= Hash[groupings.map { |grouping| [grouping.text, grouping] }]
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,40 @@
1
+ module ScriptRipper
2
+ class ScriptWriter
3
+ attr_reader :code_blocks, :from_url, :group_name, :io
4
+
5
+ def initialize(code_blocks:, from_url:, group_name: nil, io: $stdout)
6
+ @code_blocks = code_blocks
7
+ @group_name = group_name
8
+ @io = io
9
+ @from_url = from_url
10
+ end
11
+
12
+ def call
13
+ io.puts "#!/usr/bin/env bash\n\n"
14
+ io.puts "# #{from_url}\n"
15
+ io.puts "# #{group_name}\n" if group_name
16
+ io.puts "\n"
17
+
18
+ code_blocks_count = code_blocks.length
19
+
20
+ code_blocks.each_with_index do |code_block, i|
21
+ io.puts(description_to_comment(code_block.description))
22
+ code_suffix = (i == code_blocks_count - 1) ? "\n" : "\n\n"
23
+
24
+ io.puts("#{code_block.code}#{code_suffix}")
25
+ end
26
+ end
27
+
28
+ class << self
29
+ def call(code_blocks:, from_url:, group_name: nil, io: $stdout)
30
+ new(code_blocks: code_blocks, from_url: from_url, group_name: group_name, io: io).call
31
+ end
32
+ end
33
+
34
+ private
35
+
36
+ def description_to_comment(description)
37
+ description.split("\n").map { |line| "# #{line}" }.join("\n")
38
+ end
39
+ end
40
+ end
@@ -0,0 +1,3 @@
1
+ module ScriptRipper
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,2 @@
1
+ module ScriptRipper
2
+ end
@@ -0,0 +1,47 @@
1
+
2
+ lib = File.expand_path("../lib", __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require "script_ripper/version"
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "script_ripper"
8
+ spec.version = ScriptRipper::VERSION
9
+ spec.authors = ["Dave Benvenuti"]
10
+ spec.email = ["davebenvenuti@gmail.com"]
11
+
12
+ spec.summary = %q{Rip shell scripts out of instructional web pages}
13
+ spec.homepage = "https://github.com/davebenvenuti/script_ripper"
14
+ spec.license = "MIT"
15
+
16
+ # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
17
+ # to allow pushing to a single host or delete this section to allow pushing to any host.
18
+ if spec.respond_to?(:metadata)
19
+ # spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
20
+
21
+ spec.metadata["homepage_uri"] = spec.homepage
22
+ spec.metadata["source_code_uri"] = "https://github.com/davebenvenuti/script_ripper"
23
+ # spec.metadata["changelog_uri"] = "TODO: Put your gem's CHANGELOG.md URL here."
24
+ else
25
+ raise "RubyGems 2.0 or newer is required to protect against " \
26
+ "public gem pushes."
27
+ end
28
+
29
+ # Specify which files should be added to the gem when it is released.
30
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
31
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
32
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
33
+ end
34
+ spec.bindir = "exe"
35
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
36
+ spec.require_paths = ["lib"]
37
+
38
+ spec.add_runtime_dependency "nokogiri", "~> 1.13"
39
+
40
+ spec.add_development_dependency "bundler", "~> 2.3"
41
+ spec.add_development_dependency "debug", "~> 1.6"
42
+ spec.add_development_dependency "minitest", "~> 5.16"
43
+ spec.add_development_dependency "mocha", "~> 1.14"
44
+ spec.add_development_dependency "rake", "~> 13.0"
45
+ spec.add_development_dependency "vcr", "6.1.0"
46
+ spec.add_development_dependency "webmock", "~> 3.18"
47
+ end
metadata ADDED
@@ -0,0 +1,178 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: script_ripper
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Dave Benvenuti
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2022-09-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: nokogiri
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.13'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: bundler
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.3'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.3'
41
+ - !ruby/object:Gem::Dependency
42
+ name: debug
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.6'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.6'
55
+ - !ruby/object:Gem::Dependency
56
+ name: minitest
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '5.16'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '5.16'
69
+ - !ruby/object:Gem::Dependency
70
+ name: mocha
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.14'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.14'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rake
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '13.0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '13.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: vcr
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - '='
102
+ - !ruby/object:Gem::Version
103
+ version: 6.1.0
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - '='
109
+ - !ruby/object:Gem::Version
110
+ version: 6.1.0
111
+ - !ruby/object:Gem::Dependency
112
+ name: webmock
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '3.18'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '3.18'
125
+ description:
126
+ email:
127
+ - davebenvenuti@gmail.com
128
+ executables:
129
+ - script_ripper
130
+ extensions: []
131
+ extra_rdoc_files: []
132
+ files:
133
+ - ".editorconfig"
134
+ - ".gitignore"
135
+ - ".ruby-version"
136
+ - ".travis.yml"
137
+ - Gemfile
138
+ - Gemfile.lock
139
+ - LICENSE.txt
140
+ - README.md
141
+ - Rakefile
142
+ - bin/console
143
+ - bin/setup
144
+ - exe/script_ripper
145
+ - lib/script_ripper.rb
146
+ - lib/script_ripper/cli.rb
147
+ - lib/script_ripper/code_block.rb
148
+ - lib/script_ripper/downloader.rb
149
+ - lib/script_ripper/parser.rb
150
+ - lib/script_ripper/script_writer.rb
151
+ - lib/script_ripper/version.rb
152
+ - script_ripper.gemspec
153
+ homepage: https://github.com/davebenvenuti/script_ripper
154
+ licenses:
155
+ - MIT
156
+ metadata:
157
+ homepage_uri: https://github.com/davebenvenuti/script_ripper
158
+ source_code_uri: https://github.com/davebenvenuti/script_ripper
159
+ post_install_message:
160
+ rdoc_options: []
161
+ require_paths:
162
+ - lib
163
+ required_ruby_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: '0'
168
+ required_rubygems_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ requirements: []
174
+ rubygems_version: 3.3.7
175
+ signing_key:
176
+ specification_version: 4
177
+ summary: Rip shell scripts out of instructional web pages
178
+ test_files: []