zammad-szpm 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e64a091155d2dc314c8ae10414284f28dc623ae2
4
+ data.tar.gz: bd0367db3b473ed84efb1e9e55d03a1cd4316c98
5
+ SHA512:
6
+ metadata.gz: 53c171055624ae47224e00ecef35e5cb0f77d75311ee6b0e61eafd8478acd79a56a885939af5452816c100c502c79c858511280a8b0f15f4caf665f099eb3ac2
7
+ data.tar.gz: 75819960c1917132080ca17697512ac133d229bbf55b682ccbb665c3b4c65d260769c1b41aa68d446dd08aacddbe86d85bfb4253f738673532b8b994797b6006
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
@@ -0,0 +1,179 @@
1
+ # Default enabled cops
2
+ # https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml
3
+
4
+ Metrics/LineLength:
5
+ Description: 'Limit lines to 80 characters.'
6
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#80-character-limits'
7
+ Enabled: false
8
+
9
+ Style/NegatedIf:
10
+ Description: >-
11
+ Favor unless over if for negative conditions
12
+ (or control flow or).
13
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#unless-for-negatives'
14
+ Enabled: false
15
+
16
+ Style/IfUnlessModifier:
17
+ Description: >-
18
+ Favor modifier if/unless usage when you have a
19
+ single-line body.
20
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#if-as-a-modifier'
21
+ Enabled: false
22
+
23
+ Style/TrailingComma:
24
+ Description: 'Checks for trailing comma in parameter lists and literals.'
25
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-trailing-array-commas'
26
+ Enabled: false
27
+
28
+ Style/SpaceInsideParens:
29
+ Description: 'No spaces after ( or before ).'
30
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
31
+ Enabled: false
32
+
33
+ Style/SpaceAfterMethodName:
34
+ Description: >-
35
+ Do not put a space between a method name and the opening
36
+ parenthesis in a method definition.
37
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#parens-no-spaces'
38
+ Enabled: false
39
+
40
+ Style/SingleSpaceBeforeFirstArg:
41
+ Description: >-
42
+ Checks that exactly one space is used between a method name
43
+ and the first argument for method calls without parentheses.
44
+ Enabled: false
45
+
46
+ Style/LeadingCommentSpace:
47
+ Description: 'Comments should start with a space.'
48
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#hash-space'
49
+ Enabled: false
50
+
51
+ Style/MethodCallParentheses:
52
+ Description: 'Do not use parentheses for method calls with no arguments.'
53
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-args-no-parens'
54
+ Enabled: false
55
+
56
+ Style/SpaceInsideBrackets:
57
+ Description: 'No spaces after [ or before ].'
58
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-spaces-braces'
59
+ Enabled: false
60
+
61
+ Style/DefWithParentheses:
62
+ Description: 'Use def with parentheses when there are arguments.'
63
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#method-parens'
64
+ Enabled: false
65
+ Style/MethodDefParentheses:
66
+ Description: >-
67
+ Checks if the method definitions have or don't have
68
+ parentheses.
69
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#method-parens'
70
+ Enabled: false
71
+
72
+ Style/EmptyLinesAroundClassBody:
73
+ Description: "Keeps track of empty lines around class bodies."
74
+ Enabled: false
75
+
76
+ Style/EmptyLinesAroundMethodBody:
77
+ Description: "Keeps track of empty lines around method bodies."
78
+ Enabled: false
79
+
80
+ Style/EmptyLinesAroundBlockBody:
81
+ Description: "Keeps track of empty lines around block bodies."
82
+ Enabled: false
83
+
84
+ Style/EmptyLinesAroundModuleBody:
85
+ Description: "Keeps track of empty lines around module bodies."
86
+ Enabled: false
87
+
88
+ Style/BlockDelimiters:
89
+ Description: >-
90
+ Avoid using {...} for multi-line blocks (multiline chaining is
91
+ always ugly).
92
+ Prefer {...} over do...end for single-line blocks.
93
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
94
+ Enabled: false
95
+
96
+ Style/MultilineBlockChain:
97
+ Description: 'Avoid multi-line chains of blocks.'
98
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#single-line-blocks'
99
+ Enabled: false
100
+
101
+ Metrics/ClassLength:
102
+ Description: 'Avoid classes longer than 100 lines of code.'
103
+ Enabled: false
104
+
105
+ Metrics/MethodLength:
106
+ Description: 'Avoid methods longer than 10 lines of code.'
107
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#short-methods'
108
+ Enabled: false
109
+
110
+ Style/BlockComments:
111
+ Description: 'Do not use block comments.'
112
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-block-comments'
113
+ Enabled: false
114
+
115
+ Style/PerlBackrefs:
116
+ Description: 'Avoid Perl-style regex back references.'
117
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#no-perl-regexp-last-matchers'
118
+ Enabled: false
119
+
120
+ Style/SelfAssignment:
121
+ Description: >-
122
+ Checks for places where self-assignment shorthand should have
123
+ been used.
124
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#self-assignment'
125
+ Enabled: false
126
+
127
+ Style/BracesAroundHashParameters:
128
+ Description: 'Enforce braces style around hash parameters.'
129
+ Enabled: false
130
+
131
+ Rails/FindEach:
132
+ Description: 'Prefer all.find_each over all.find.'
133
+ Enabled: false
134
+
135
+ Rails/HasAndBelongsToMany:
136
+ Description: 'Prefer has_many :through to has_and_belongs_to_many.'
137
+ # StyleGuide: 'https://github.com/bbatsov/rails-style-guide#has-many-through'
138
+ Enabled: false
139
+
140
+ Style/ClassAndModuleChildren:
141
+ Description: 'Checks style of children classes and modules.'
142
+ Enabled: false
143
+
144
+ Style/FileName:
145
+ Description: 'Use snake_case for source file names.'
146
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#snake-case-files'
147
+ Enabled: true
148
+ Exclude:
149
+ - 'script/websocket-server.rb'
150
+
151
+
152
+ # 2.0 - feel free :)
153
+
154
+ Metrics/PerceivedComplexity:
155
+ Description: >-
156
+ A complexity metric geared towards measuring complexity for a
157
+ human reader.
158
+ Enabled: false
159
+
160
+ Metrics/AbcSize:
161
+ Description: >-
162
+ A calculated magnitude based on number of assignments,
163
+ branches, and conditions.
164
+ Enabled: false
165
+
166
+ Metrics/CyclomaticComplexity:
167
+ Description: >-
168
+ A complexity metric that is strongly correlated to the number
169
+ of test cases needed to validate a method.
170
+ Enabled: false
171
+
172
+ Metrics/BlockNesting:
173
+ Description: 'Avoid excessive block nesting'
174
+ StyleGuide: 'https://github.com/bbatsov/ruby-style-guide#three-is-the-number-thou-shalt-count'
175
+ Enabled: false
176
+
177
+ Metrics/ModuleLength:
178
+ Description: 'Avoid modules longer than 100 lines of code.'
179
+ Enabled: false
@@ -0,0 +1,49 @@
1
+ # Contributor Code of Conduct
2
+
3
+ As contributors and maintainers of this project, and in the interest of
4
+ fostering an open and welcoming community, we pledge to respect all people who
5
+ contribute through reporting issues, posting feature requests, updating
6
+ documentation, submitting pull requests or patches, and other activities.
7
+
8
+ We are committed to making participation in this project a harassment-free
9
+ experience for everyone, regardless of level of experience, gender, gender
10
+ identity and expression, sexual orientation, disability, personal appearance,
11
+ body size, race, ethnicity, age, religion, or nationality.
12
+
13
+ Examples of unacceptable behavior by participants include:
14
+
15
+ * The use of sexualized language or imagery
16
+ * Personal attacks
17
+ * Trolling or insulting/derogatory comments
18
+ * Public or private harassment
19
+ * Publishing other's private information, such as physical or electronic
20
+ addresses, without explicit permission
21
+ * Other unethical or unprofessional conduct
22
+
23
+ Project maintainers have the right and responsibility to remove, edit, or
24
+ reject comments, commits, code, wiki edits, issues, and other contributions
25
+ that are not aligned to this Code of Conduct, or to ban temporarily or
26
+ permanently any contributor for other behaviors that they deem inappropriate,
27
+ threatening, offensive, or harmful.
28
+
29
+ By adopting this Code of Conduct, project maintainers commit themselves to
30
+ fairly and consistently applying these principles to every aspect of managing
31
+ this project. Project maintainers who do not follow or enforce the Code of
32
+ Conduct may be permanently removed from the project team.
33
+
34
+ This code of conduct applies both within project spaces and in public spaces
35
+ when an individual is representing the project or its community.
36
+
37
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
38
+ reported by contacting a project maintainer at te@znuny.com. All
39
+ complaints will be reviewed and investigated and will result in a response that
40
+ is deemed necessary and appropriate to the circumstances. Maintainers are
41
+ obligated to maintain confidentiality with regard to the reporter of an
42
+ incident.
43
+
44
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
45
+ version 1.3.0, available at
46
+ [http://contributor-covenant.org/version/1/3/0/][version]
47
+
48
+ [homepage]: http://contributor-covenant.org
49
+ [version]: http://contributor-covenant.org/version/1/3/0/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in zammad-szpm.gemspec
4
+ gemspec
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Thorsten Eckel
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.
@@ -0,0 +1,109 @@
1
+ # Zammad::SZPM
2
+
3
+ This gem provides a class to parse, manipulate and store SZPM files and create ZPM strings from them.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'zammad-szpm'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install zammad-szpm
20
+
21
+ ## Usage
22
+
23
+ First create an instance via passing the location to the .szpm file.
24
+
25
+ ```ruby
26
+ require 'zammad/szpm'
27
+
28
+ szpm = Zammad::SZPM.new 'path/to/Zammad-Package.szpm'
29
+ ```
30
+
31
+ ### Create version
32
+
33
+ A new version can be created via passing the wanted version number and a change_log:
34
+
35
+ ```ruby
36
+ szpm_hash_structure = szpm.version('1.0.1', 'Created first bug fix.')
37
+ ```
38
+
39
+ ### Add build information
40
+
41
+ It's recommended to add the build host and build date to the ZPM file. Give the build host as a parameter with to add the build information via:
42
+
43
+ ```ruby
44
+ szpm_hash_structure = szpm.add_build_information('http://build.host.tld')
45
+ ```
46
+
47
+ ### Add file
48
+
49
+ To add additional files to the "FileList" structure of the (S)ZPM file call this method with the path and an optional permission integer (default is 644):
50
+
51
+ ```ruby
52
+ szpm_hash_structure = szpm.add_file('path/to/file.rb')
53
+
54
+ # equals
55
+
56
+ szpm_hash_structure = szpm.add_file('path/to/file.rb', 664)
57
+ ```
58
+
59
+ ### Store changes
60
+
61
+ In case you want to store the changes you have made to the original SZPM file call this method:
62
+
63
+ ```ruby
64
+ szpm_hash_structure = szpm.store
65
+ ```
66
+
67
+ ### Parse SZPM file
68
+
69
+ In limited cases it might necessary to re-parse the SZPM file again. Do this with:
70
+
71
+ ```ruby
72
+ szpm_hash_structure = szpm.parse
73
+ ```
74
+
75
+ ### Get ZPM string
76
+
77
+ After all changes are made you might want to create a ZPM file. To receive the ZPM XML string with Base64 encoded files call this method:
78
+
79
+ ```ruby
80
+ zpm_xml_string = szpm.zpm
81
+ ```
82
+
83
+ ## Planned and wanted features
84
+
85
+ Feel free to implement one of those or any other:
86
+
87
+ * Accept filehandle as constructor parameter.
88
+ * Accept SZPM content string as constructor parameter.
89
+ * Write ZPM file instead of only returning the string.
90
+ * Manipulate all the other attributes.
91
+ * Create SZPM file from a Hash structure.
92
+
93
+ ## Development
94
+
95
+ After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
96
+
97
+ 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).
98
+
99
+ ## Tests
100
+
101
+ The tests are currently in an external project since there is business logic in them. In future releases this tests will be added to this gem repository as it should be.
102
+
103
+ ## Contributing
104
+
105
+ Bug reports and pull requests are welcome on GitHub at https://github.com/znuny/zammad-szpm. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
106
+
107
+ ## License
108
+
109
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
@@ -0,0 +1,2 @@
1
+ require 'bundler/gem_tasks'
2
+ task default: :spec
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'zammad/szpm'
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
@@ -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
@@ -0,0 +1,145 @@
1
+ require 'nokogiri'
2
+ require 'base64'
3
+ require 'zammad/szpm/version'
4
+
5
+ # General Zammad class, for later/other purposes maybe. Should handle more Zammad related stuff
6
+ class Zammad
7
+ # Handles all SZPM and ZPM related stuff
8
+ class SZPM
9
+
10
+ attr_reader :szpm
11
+ attr_reader :structure
12
+
13
+ # Creates an instance based on a given SZPM file path.
14
+ #
15
+ # @param szpm_file [String] the path to the SZPM file.
16
+ # @return (see #parse)
17
+ def initialize(szpm_file)
18
+
19
+ @szpm_file = szpm_file
20
+
21
+ parse
22
+ end
23
+
24
+ # Adds a new version and the change_log to the SZPM file.
25
+ #
26
+ # @param version [String] the version number.
27
+ # @param change_log [String] the change_log.
28
+ # @return (see #parse)
29
+ def version(version, change_log)
30
+ parse
31
+
32
+ # change version
33
+ @structure['version'] = version
34
+
35
+ # append change_log
36
+ @structure['change_log'] ||= []
37
+
38
+ # remove tabs from change_log
39
+ change_log.gsub!(/\t/, ' ')
40
+
41
+ # strip whitespaces
42
+ change_log.strip!
43
+
44
+ # append entry
45
+ @structure['change_log'].push({
46
+ 'version' => version,
47
+ 'date' => Time.zone.now,
48
+ 'content' => change_log
49
+ })
50
+
51
+ store
52
+ end
53
+
54
+ # Adds the buildhost and builddate to the SZPM file.
55
+ #
56
+ # @param build_host [String] build host on which the ZPM file was created.
57
+ # @return (see #parse)
58
+ def add_build_information(build_host)
59
+ parse
60
+
61
+ # add buildhost
62
+ @structure['buildhost'] = build_host
63
+ # add builddate
64
+ @structure['builddate'] = Time.zone.now
65
+
66
+ store
67
+ end
68
+
69
+ # Adds a new file to the filelist of the SZPM file.
70
+ #
71
+ # @param location [String] the file location.
72
+ # @param permission [Integer] the permissions with which the files should get created.
73
+ # @return (see #parse)
74
+ def add_file( location, permission = 644 )
75
+ parse
76
+
77
+ update = true
78
+ @structure['files'].each { |file|
79
+
80
+ next if file['location'] != location
81
+ next if file['permission'] != permission
82
+
83
+ update = false
84
+
85
+ break
86
+ }
87
+ return if !update
88
+
89
+ @structure['files'].push({
90
+ 'location' => location,
91
+ 'permission' => permission,
92
+ })
93
+
94
+ store
95
+ end
96
+
97
+ # Stores the changes to the SZPM file.
98
+ #
99
+ # @return (see #parse)
100
+ def store
101
+
102
+ File.open(@szpm_file, 'w') { |file|
103
+ file.write( JSON.pretty_generate(@structure) )
104
+ }
105
+
106
+ parse
107
+ end
108
+
109
+ # Parses the given SZPM file.
110
+ #
111
+ # @return [Hash] the parsed SZPM structure.
112
+ def parse
113
+
114
+ szpm_read_handle = File.open(@szpm_file)
115
+ @szpm = szpm_read_handle.read
116
+ szpm_read_handle.close
117
+
118
+ @structure = JSON.parse( @szpm )
119
+ end
120
+
121
+ # Creates an ZPM string out of the SZPM file.
122
+ #
123
+ # @return [String] ZPM JSON content with Base64 encoded files.
124
+ def zpm
125
+ zpm = parse
126
+
127
+ folder = File.dirname(@szpm_file)
128
+
129
+ zpm['files'].collect! { |file|
130
+
131
+ file_location = file['location']
132
+ file_handle = File.open("#{folder}/#{file_location}", 'r')
133
+ file_content = file_handle.read
134
+ file_handle.close
135
+
136
+ file['encode'] = 'base64'
137
+ file['content'] = Base64.strict_encode64( file_content )
138
+
139
+ file
140
+ }
141
+
142
+ JSON.pretty_generate(zpm)
143
+ end
144
+ end
145
+ end
@@ -0,0 +1,7 @@
1
+ # General Zammad class, for later/other purposes maybe. Should handle more Zammad related stuff
2
+ class Zammad
3
+ # Handles all SZPM and ZPM related stuff
4
+ class SZPM
5
+ VERSION = '0.2.3'
6
+ end
7
+ end
@@ -0,0 +1,22 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'zammad/szpm/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'zammad-szpm'
8
+ spec.version = Zammad::SZPM::VERSION
9
+ spec.authors = ['Thorsten Eckel']
10
+ spec.email = ['thorsten.eckel@znuny.com']
11
+
12
+ spec.summary = 'This gem provides a class to parse, manipulate and store SZPM files and create ZPM strings from them.'
13
+ spec.homepage = 'https://github.com/znuny/zammad-szpm'
14
+ spec.license = 'MIT'
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.require_paths = ['lib']
18
+
19
+ spec.add_development_dependency 'bundler', '~> 1.11'
20
+ spec.add_development_dependency 'rake', '~> 10.0'
21
+ spec.add_development_dependency 'rubocop'
22
+ end
metadata ADDED
@@ -0,0 +1,100 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: zammad-szpm
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.3
5
+ platform: ruby
6
+ authors:
7
+ - Thorsten Eckel
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-02-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.11'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.11'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description:
56
+ email:
57
+ - thorsten.eckel@znuny.com
58
+ executables: []
59
+ extensions: []
60
+ extra_rdoc_files: []
61
+ files:
62
+ - ".gitignore"
63
+ - ".rubocop.yml"
64
+ - CODE_OF_CONDUCT.md
65
+ - Gemfile
66
+ - Gemfile.lock
67
+ - LICENSE.txt
68
+ - README.md
69
+ - Rakefile
70
+ - bin/console
71
+ - bin/setup
72
+ - lib/zammad/szpm.rb
73
+ - lib/zammad/szpm/version.rb
74
+ - zammad-szpm.gemspec
75
+ homepage: https://github.com/znuny/zammad-szpm
76
+ licenses:
77
+ - MIT
78
+ metadata: {}
79
+ post_install_message:
80
+ rdoc_options: []
81
+ require_paths:
82
+ - lib
83
+ required_ruby_version: !ruby/object:Gem::Requirement
84
+ requirements:
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ required_rubygems_version: !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: '0'
93
+ requirements: []
94
+ rubyforge_project:
95
+ rubygems_version: 2.6.8
96
+ signing_key:
97
+ specification_version: 4
98
+ summary: This gem provides a class to parse, manipulate and store SZPM files and create
99
+ ZPM strings from them.
100
+ test_files: []