radon 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 +4 -4
- data/.gitignore +1 -0
- data/Gemfile.lock +1 -1
- data/TODO.md +2 -0
- data/data/maven.b64 +1 -0
- data/data/maven.zip +0 -0
- data/lib/core/constants.rb +1 -1
- data/lib/core/environments.rb +5 -2
- data/lib/core/extract.rb +5 -1
- data/pkg/radon-0.1.1.gem +0 -0
- metadata +5 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c5d4ccd4bc22a4bfe8396e7278c567ca39f9e7cd
|
4
|
+
data.tar.gz: 33404adee23583a7c756cd4337a0528ea20204f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: af727204d9e6066ede71047753c318e3b3892f26f001602bd2712b5844bc4fd051f683215b0ee10b9193d68adf490e14bb8113a6f2e47d7e751545b4b95b2bdd
|
7
|
+
data.tar.gz: 440d8284119c791269910263397a65e1db37e06cd47bcf82fd4f5dd0f73f9697d260f3a1a0657b5d9a0ee8236557a5bde93521eb1b7c21f4df5b25ab5add9727
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
data/TODO.md
ADDED
data/data/maven.b64
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
UEsDBBQAAAAIAKyGSE2na6uWXQIAACQEAAALABwATElDRU5TRS50eHRVVAkAA8TDu1vEw7tbdXgLAAEE6AMAAAToAwAAXVNLi9swEL7nVww5tWC297IsKLayEXUsIyub5ujYcqziWMGSG/bfd0bJdh8QMBrN9xRJ3eV1sqc+wOOBM/UEj6ksD0o8bzRsZJ5x9bRYlGY6W++tG8F66M1kjq9wmuoxmDaBbjIGXAdNX08nk0BwUI+vcDGTR4A7htqOdjxBDQ2K0Wbokca7LlzryeByC7X3rrE18kHrmvlsxlAH0uvsYDx8C72BZX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AAAAAAAAAAAAAAEQAYAAAAAAAAABAA/0GeBQAAc3JjL3Rlc3QvZmlsdGVycy9VVAUAA33Du1t1eAsAAQToAwAABOgDAABQSwECHgMKAAAAAACBhkhNAAAAAAAAAAAAAAAADgAYAAAAAAAAABAA/0HpBQAAc3JjL3Rlc3QvamF2YS9VVAUAA3LDu1t1eAsAAQToAwAABOgDAABQSwECHgMKAAAAAACDhkhNAAAAAAAAAAAAAAAAEwAYAAAAAAAAABAA/0ExBgAAc3JjL3Rlc3QvcmVzb3VyY2VzL1VUBQADdsO7W3V4CwABBOgDAAAE6AMAAFBLBQYAAAAADwAPANUEAAB+BgAAAAA=
|
data/data/maven.zip
ADDED
Binary file
|
data/lib/core/constants.rb
CHANGED
data/lib/core/environments.rb
CHANGED
@@ -4,8 +4,9 @@ class Environments
|
|
4
4
|
@@all = {
|
5
5
|
'gradle' => File.join(DATA_DIR, "gradle.zip"),
|
6
6
|
'java' => File.join(DATA_DIR, "java.zip"),
|
7
|
+
'maven' => File.join(DATA_DIR, "maven.zip"),
|
7
8
|
'python' => File.join(DATA_DIR, "python.zip"),
|
8
|
-
'ruby' => File.join(DATA_DIR, "ruby.zip")
|
9
|
+
'ruby (beta)' => File.join(DATA_DIR, "ruby.zip")
|
9
10
|
}
|
10
11
|
|
11
12
|
# Gets all environments as an array of strings
|
@@ -28,8 +29,10 @@ class Environments
|
|
28
29
|
extract_python(target)
|
29
30
|
when 'ruby'
|
30
31
|
extract_ruby(target)
|
32
|
+
when 'maven'
|
33
|
+
extract_maven(target)
|
31
34
|
else
|
32
|
-
error("#{key} is not a supported environment.\nYou can suggest it be added at https://github.com/cbrnrd/
|
35
|
+
error("#{key} is not a supported environment.\nYou can suggest it be added at https://github.com/cbrnrd/radon/issues")
|
33
36
|
end
|
34
37
|
end
|
35
38
|
end
|
data/lib/core/extract.rb
CHANGED
@@ -10,12 +10,16 @@ def extract_java(target)
|
|
10
10
|
extract_zip(Radon::Environments.getTargetOf('java'), target)
|
11
11
|
end
|
12
12
|
|
13
|
+
def extract_maven(target)
|
14
|
+
extract_zip(Radon::Environments.getTargetOf('maven'), target)
|
15
|
+
end
|
16
|
+
|
13
17
|
def extract_python(target)
|
14
18
|
extract_zip(Radon::Environments.getTargetOf('python'), target)
|
15
19
|
end
|
16
20
|
|
17
21
|
def extract_ruby(target)
|
18
|
-
extract_zip(Radon::Environments.getTargetOf('ruby'), target)
|
22
|
+
extract_zip(Radon::Environments.getTargetOf('ruby (beta)'), target)
|
19
23
|
find_and_replace_all(target, '{{NAME}}', projectify(target).split('-').collect(&:capitalize).join)
|
20
24
|
end
|
21
25
|
|
data/pkg/radon-0.1.1.gem
ADDED
Binary file
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cbrnrd
|
@@ -97,6 +97,7 @@ files:
|
|
97
97
|
- LICENSE.txt
|
98
98
|
- README.md
|
99
99
|
- Rakefile
|
100
|
+
- TODO.md
|
100
101
|
- bin/console
|
101
102
|
- bin/radon
|
102
103
|
- bin/setup
|
@@ -104,6 +105,8 @@ files:
|
|
104
105
|
- data/gradle.zip
|
105
106
|
- data/java.b64
|
106
107
|
- data/java.zip
|
108
|
+
- data/maven.b64
|
109
|
+
- data/maven.zip
|
107
110
|
- data/python.b64
|
108
111
|
- data/python.zip
|
109
112
|
- data/ruby.b64
|
@@ -113,6 +116,7 @@ files:
|
|
113
116
|
- lib/core/environments.rb
|
114
117
|
- lib/core/extract.rb
|
115
118
|
- lib/core/text.rb
|
119
|
+
- pkg/radon-0.1.1.gem
|
116
120
|
- radon.gemspec
|
117
121
|
homepage: https://github.com/cbrnrd/radon
|
118
122
|
licenses:
|