eclipse-plugin 0.4 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4df02816e33ef0cae37d99475ab4c94bc04df5c4
4
- data.tar.gz: 2f74338835d4d48e340ad11805dfde8e83cc4914
3
+ metadata.gz: b058552e5ae363d8f6a8afbf0c4e0a4bfa45c82e
4
+ data.tar.gz: dbf4069714896c067fd53c1c227377082220beba
5
5
  SHA512:
6
- metadata.gz: 5ba67dcf116cbecd033ae9ef0bf730557b8389fe28c2b393be227ec243f440771ff96db3ed978614984cbf702fd4d8a10c980276cc3f5ac498ee7eab46beaf49
7
- data.tar.gz: ab84c281efcb8f6a0b38d350ea66e764842ad0861d8e60078c3d2517f6cdfd5db14d5e79cd8754d6f2a215c2fc84eb5e9d945382ed22f277b57914a408d3070c
6
+ metadata.gz: 17963695852c164b6fd8a9725caa08f8b2946c736cc3ceb9e3d7c573364d17ea8fd9065efb9a2593540a494484e1168bb4fe69891f93862f453d4591c81e8aff
7
+ data.tar.gz: b5e24aa30dfa9a94f0f3ffdbb170fc8871dfd90ebe3a8c828dc967a30de25ac9a69ed657ef9ad2f599595d553f70ab139fca2b0e24edd61c44125c722e437a7e
@@ -17,8 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
- spec.add_dependency 'rubyzip', '>=1.2.1'
21
- spec.add_dependency 'zip-zip'
20
+ spec.add_dependency 'rubyzip', '~> 1.2.1'
22
21
  spec.add_dependency 'nokogiri'
23
22
  spec.add_development_dependency "bundler", "~> 1.5"
24
23
  spec.add_development_dependency "rake"
@@ -29,7 +29,7 @@ module Eclipse
29
29
  if File.directory?(jar_or_src_dir)
30
30
  getFeatureInfo(File.read(featureXml))
31
31
  elsif File.exists?(jar_or_src_dir)
32
- @jarfile = Zip::ZipFile.open(jar_or_src_dir)
32
+ @jarfile = Zip::File.open(jar_or_src_dir)
33
33
  if @jarfile.find_entry('feature.xml')
34
34
  getFeatureInfo(@jarfile.read('feature.xml'))
35
35
  else
@@ -2,7 +2,7 @@ require "eclipse/plugin/version"
2
2
  require "eclipse/helpers"
3
3
  require "eclipse/feature"
4
4
  require "eclipse/workspace"
5
- require 'zip/zip'
5
+ require 'zip'
6
6
  require "rexml/document"
7
7
  include REXML # so that we don't have to prefix everything with REXML::...
8
8
 
@@ -68,7 +68,7 @@ module Eclipse
68
68
  # puts "Skipping #{jar_or_src} #{featureName}"
69
69
  end
70
70
  else
71
- @jarfile = Zip::ZipFile.open(jar_or_src)
71
+ @jarfile = Zip::File.open(jar_or_src)
72
72
  readPluginXML(File.basename(jar_or_src))
73
73
  if @jarfile.find_entry('feature.xml')
74
74
  @feature = Feature::Info.new(jar_or_src)
@@ -1,5 +1,5 @@
1
1
  module Eclipse
2
2
  module Plugin
3
- VERSION = "0.4"
3
+ VERSION = "0.4.1"
4
4
  end
5
5
  end
@@ -1,6 +1,6 @@
1
1
  #encoding : utf-8
2
- require 'pp'
3
2
  require 'spec_helper'
3
+
4
4
  require 'eclipse/plugin'
5
5
 
6
6
  describe 'Plugin' do
@@ -50,7 +50,7 @@ describe 'Plugin' do
50
50
  info.views[CHECK_4_VIEW].should_not be nil
51
51
  german = 'Vorlage Drucken'
52
52
  info.views[CHECK_4_VIEW].translation.should == german
53
- pp info.getTranslatedViews.find_all{ |item| item.match(german) }
53
+ puts info.getTranslatedViews.find_all{ |item| item.match(german) }
54
54
  info.workspace.should == @installDir
55
55
  info.getTranslatedViews.find_all{ |item| item.match(german) }.should_not be nil
56
56
  end
metadata CHANGED
@@ -1,43 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eclipse-plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.4'
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Niklaus Giger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-17 00:00:00.000000000 Z
11
+ date: 2018-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: 1.2.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: 1.2.1
27
- - !ruby/object:Gem::Dependency
28
- name: zip-zip
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :runtime
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
27
  - !ruby/object:Gem::Dependency
42
28
  name: nokogiri
43
29
  requirement: !ruby/object:Gem::Requirement
@@ -119,7 +105,6 @@ files:
119
105
  - ".travis.yml"
120
106
  - Changelog
121
107
  - Gemfile
122
- - Gemfile.lock
123
108
  - LICENSE
124
109
  - README.textile
125
110
  - Rakefile
@@ -185,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
170
  version: '0'
186
171
  requirements: []
187
172
  rubyforge_project:
188
- rubygems_version: 2.6.11
173
+ rubygems_version: 2.6.8
189
174
  signing_key:
190
175
  specification_version: 4
191
176
  summary: Extract information about views, properties and perspectives from an eclipse
@@ -1,62 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- eclipse-plugin (0.4)
5
- nokogiri
6
- rubyzip (>= 1.2.1)
7
- zip-zip
8
-
9
- GEM
10
- remote: https://rubygems.org/
11
- specs:
12
- byebug (9.1.0)
13
- coderay (1.1.2)
14
- diff-lcs (1.3)
15
- docile (1.1.5)
16
- json (2.1.0)
17
- method_source (0.9.0)
18
- mini_portile2 (2.3.0)
19
- nokogiri (1.8.1)
20
- mini_portile2 (~> 2.3.0)
21
- pry (0.11.3)
22
- coderay (~> 1.1.0)
23
- method_source (~> 0.9.0)
24
- pry-byebug (3.5.0)
25
- byebug (~> 9.1)
26
- pry (~> 0.10)
27
- rake (12.3.0)
28
- rspec (3.7.0)
29
- rspec-core (~> 3.7.0)
30
- rspec-expectations (~> 3.7.0)
31
- rspec-mocks (~> 3.7.0)
32
- rspec-core (3.7.0)
33
- rspec-support (~> 3.7.0)
34
- rspec-expectations (3.7.0)
35
- diff-lcs (>= 1.2.0, < 2.0)
36
- rspec-support (~> 3.7.0)
37
- rspec-mocks (3.7.0)
38
- diff-lcs (>= 1.2.0, < 2.0)
39
- rspec-support (~> 3.7.0)
40
- rspec-support (3.7.0)
41
- rubyzip (1.2.1)
42
- simplecov (0.15.1)
43
- docile (~> 1.1.0)
44
- json (>= 1.8, < 3)
45
- simplecov-html (~> 0.10.0)
46
- simplecov-html (0.10.2)
47
- zip-zip (0.3)
48
- rubyzip (>= 1.0.0)
49
-
50
- PLATFORMS
51
- ruby
52
-
53
- DEPENDENCIES
54
- bundler (~> 1.5)
55
- eclipse-plugin!
56
- pry-byebug
57
- rake
58
- rspec
59
- simplecov
60
-
61
- BUNDLED WITH
62
- 1.16.0