radon 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +13 -13
- data/.rspec +3 -3
- data/.travis.yml +7 -7
- data/CODE_OF_CONDUCT.md +74 -74
- data/Gemfile +6 -6
- data/Gemfile.lock +40 -40
- data/LICENSE.txt +21 -21
- data/README.md +88 -88
- data/Rakefile +6 -6
- data/bin/console +14 -14
- data/bin/radon +55 -55
- data/bin/setup +8 -8
- data/data/c.b64 +15 -15
- data/data/website.b64 +1 -0
- data/data/website.zip +0 -0
- data/lib/core/constants.rb +1 -1
- data/lib/core/environments.rb +39 -38
- data/lib/core/extract.rb +61 -57
- data/lib/core/text.rb +102 -102
- data/lib/core/util.rb +35 -35
- data/lib/core.rb +11 -11
- data/radon.gemspec +30 -30
- data/scripts/build_install_local.sh +8 -8
- metadata +5 -3
data/lib/core.rb
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
require "core/environments"
|
2
|
-
require "core/text"
|
3
|
-
require "core/extract"
|
4
|
-
require "core/constants"
|
5
|
-
require "core/util"
|
6
|
-
|
7
|
-
require "paint"
|
8
|
-
require "optparse"
|
9
|
-
|
10
|
-
module Radon
|
11
|
-
end
|
1
|
+
require "core/environments"
|
2
|
+
require "core/text"
|
3
|
+
require "core/extract"
|
4
|
+
require "core/constants"
|
5
|
+
require "core/util"
|
6
|
+
|
7
|
+
require "paint"
|
8
|
+
require "optparse"
|
9
|
+
|
10
|
+
module Radon
|
11
|
+
end
|
data/radon.gemspec
CHANGED
@@ -1,31 +1,31 @@
|
|
1
|
-
# Put all our core library files in the require path
|
2
|
-
$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), 'lib')))
|
3
|
-
require 'core'
|
4
|
-
|
5
|
-
Gem::Specification.new do |spec|
|
6
|
-
spec.name = "radon"
|
7
|
-
spec.version = VERSION
|
8
|
-
spec.authors = ["cbrnrd"]
|
9
|
-
spec.email = ["0xCB@protonmail.com"]
|
10
|
-
|
11
|
-
spec.summary = %q{Radon generates starter code for all kinds of environments.}
|
12
|
-
spec.homepage = "https://github.com/cbrnrd/radon"
|
13
|
-
spec.license = "MIT"
|
14
|
-
|
15
|
-
|
16
|
-
# Specify which files should be added to the gem when it is released.
|
17
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
19
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|console|setup)/}) }
|
20
|
-
end
|
21
|
-
spec.bindir = "bin"
|
22
|
-
spec.executables = %w[radon]
|
23
|
-
spec.require_paths = ["lib"]
|
24
|
-
|
25
|
-
spec.add_runtime_dependency "paint"
|
26
|
-
spec.add_runtime_dependency "rubyzip", "~> 1.2"
|
27
|
-
|
28
|
-
spec.add_development_dependency "bundler", "~> 1.16"
|
29
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
30
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
1
|
+
# Put all our core library files in the require path
|
2
|
+
$LOAD_PATH.unshift(File.expand_path(File.join(File.dirname(__FILE__), 'lib')))
|
3
|
+
require 'core'
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "radon"
|
7
|
+
spec.version = VERSION
|
8
|
+
spec.authors = ["cbrnrd"]
|
9
|
+
spec.email = ["0xCB@protonmail.com"]
|
10
|
+
|
11
|
+
spec.summary = %q{Radon generates starter code for all kinds of environments.}
|
12
|
+
spec.homepage = "https://github.com/cbrnrd/radon"
|
13
|
+
spec.license = "MIT"
|
14
|
+
|
15
|
+
|
16
|
+
# Specify which files should be added to the gem when it is released.
|
17
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
19
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|console|setup)/}) }
|
20
|
+
end
|
21
|
+
spec.bindir = "bin"
|
22
|
+
spec.executables = %w[radon]
|
23
|
+
spec.require_paths = ["lib"]
|
24
|
+
|
25
|
+
spec.add_runtime_dependency "paint"
|
26
|
+
spec.add_runtime_dependency "rubyzip", "~> 1.2"
|
27
|
+
|
28
|
+
spec.add_development_dependency "bundler", "~> 1.16"
|
29
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
30
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
31
31
|
end
|
@@ -1,9 +1,9 @@
|
|
1
|
-
#!/bin/bash
|
2
|
-
|
3
|
-
cd ..
|
4
|
-
|
5
|
-
CURRENT_VERSION=$(cat lib/core/constants.rb | grep VERSION | cut -d '"' -f 2)
|
6
|
-
|
7
|
-
|
8
|
-
gem build radon.gemspec
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
cd ..
|
4
|
+
|
5
|
+
CURRENT_VERSION=$(cat lib/core/constants.rb | grep VERSION | cut -d '"' -f 2)
|
6
|
+
|
7
|
+
|
8
|
+
gem build radon.gemspec
|
9
9
|
gem install radon-$CURRENT_VERSION.gem
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cbrnrd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-02-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: paint
|
@@ -117,6 +117,8 @@ files:
|
|
117
117
|
- data/python.zip
|
118
118
|
- data/ruby.b64
|
119
119
|
- data/ruby.zip
|
120
|
+
- data/website.b64
|
121
|
+
- data/website.zip
|
120
122
|
- img/demo.gif
|
121
123
|
- img/radon-readme-header.png
|
122
124
|
- lib/core.rb
|
@@ -149,7 +151,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
151
|
version: '0'
|
150
152
|
requirements: []
|
151
153
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.6.
|
154
|
+
rubygems_version: 2.6.14
|
153
155
|
signing_key:
|
154
156
|
specification_version: 4
|
155
157
|
summary: Radon generates starter code for all kinds of environments.
|