parse_gemspec 0.5.0 → 1.0.0
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 +4 -4
- data/.conventional-changelog.context.js +0 -0
- data/.gitignore +0 -0
- data/.gitmodules +0 -0
- data/.rubocop.yml +0 -0
- data/.travis.yml +5 -3
- data/CODE_OF_CONDUCT.md +0 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/changelog.md +6 -0
- data/example/Gemfile +0 -0
- data/example/Gemfile.lock +0 -0
- data/lib/parse_gemspec.rb +0 -0
- data/lib/parse_gemspec/constants.rb +0 -0
- data/lib/parse_gemspec/error.rb +0 -0
- data/lib/parse_gemspec/specification.rb +6 -2
- data/lib/parse_gemspec/version.rb +1 -1
- data/package.json +1 -1
- data/parse_gemspec.gemspec +1 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 402cbc41fb83c76d7fd4b9582d56ba6c2c2709a8
|
|
4
|
+
data.tar.gz: e16278a47ab4ff36c7d4c39963fe255138cbec6d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 29d145ef02b86e9cb79cd6c513c4ebfdc2dc7bc085abdf05e1eaf50865af856ee37338e7c1ea7bee729eefa9bcb9f9851ef29a7963413bcea0963edad094b791
|
|
7
|
+
data.tar.gz: 6d91aad0a0e859b0a06cd3edf937861c2b3da8e85a6a2bd9e29ac68de5d230af523132acbca6d429127ca04cf3b4df028032c8faf45ba3b39e10be9c62e212e1
|
|
File without changes
|
data/.gitignore
CHANGED
|
File without changes
|
data/.gitmodules
CHANGED
|
File without changes
|
data/.rubocop.yml
CHANGED
|
File without changes
|
data/.travis.yml
CHANGED
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
|
File without changes
|
data/Rakefile
CHANGED
|
File without changes
|
data/changelog.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
<a name="1.0.0"></a>
|
|
2
|
+
# [1.0.0](https://github.com/packsaddle/ruby-parse_gemspec/compare/v0.5.0...v1.0.0) (2017-01-01)
|
|
3
|
+
|
|
4
|
+
* Requires ruby version 2.0
|
|
5
|
+
|
|
6
|
+
|
|
1
7
|
<a name="0.5.0"></a>
|
|
2
8
|
# [0.5.0](https://github.com/packsaddle/ruby-parse_gemspec/compare/v0.4.0...v0.5.0) (2015-09-24)
|
|
3
9
|
|
data/example/Gemfile
CHANGED
|
File without changes
|
data/example/Gemfile.lock
CHANGED
|
File without changes
|
data/lib/parse_gemspec.rb
CHANGED
|
File without changes
|
|
File without changes
|
data/lib/parse_gemspec/error.rb
CHANGED
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
module ParseGemspec
|
|
2
2
|
class Specification
|
|
3
3
|
extend Forwardable
|
|
4
|
-
def_delegators :@spec, :name, :
|
|
4
|
+
def_delegators :@spec, :name, :authors, :description, :homepage
|
|
5
5
|
def_delegators :@spec, :email, :metadata, :summary, :licenses
|
|
6
6
|
|
|
7
7
|
def self.load(file)
|
|
@@ -15,10 +15,14 @@ module ParseGemspec
|
|
|
15
15
|
@spec = spec
|
|
16
16
|
end
|
|
17
17
|
|
|
18
|
+
def version
|
|
19
|
+
@spec.version.version
|
|
20
|
+
end
|
|
21
|
+
|
|
18
22
|
def to_hash_object # rubocop:disable Metrics/MethodLength
|
|
19
23
|
{
|
|
20
24
|
name: name,
|
|
21
|
-
version: version
|
|
25
|
+
version: version,
|
|
22
26
|
authors: authors,
|
|
23
27
|
description: description,
|
|
24
28
|
email: email,
|
data/package.json
CHANGED
data/parse_gemspec.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: parse_gemspec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- sanemat
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-01-01 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -94,7 +94,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
94
94
|
requirements:
|
|
95
95
|
- - ">="
|
|
96
96
|
- !ruby/object:Gem::Version
|
|
97
|
-
version: '0'
|
|
97
|
+
version: '2.0'
|
|
98
98
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
requirements:
|
|
100
100
|
- - ">="
|
|
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
102
102
|
version: '0'
|
|
103
103
|
requirements: []
|
|
104
104
|
rubyforge_project:
|
|
105
|
-
rubygems_version: 2.
|
|
105
|
+
rubygems_version: 2.5.1
|
|
106
106
|
signing_key:
|
|
107
107
|
specification_version: 4
|
|
108
108
|
summary: Parse *.gemspec file. Convert to Ruby Hash object.
|