gpx_track_generator 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 50267039e5b2ceb53bdfe1e52ffa1df2ae385ebc
4
+ data.tar.gz: 46e6f3efcae2a0e29354dea99d1a902c35ad09f5
5
+ SHA512:
6
+ metadata.gz: 141492a7b81a1bb2c01b0ae16ece91097bca70e4a88e0c05b8efae32aa07182b24ddcfe26eb961736a8f0d583970334bc14c50cf44cea93a514ad8fa0238c5f3
7
+ data.tar.gz: 7aa28a6ff5ca795fb1624da4e6d11186704ceaaf7977ae0709fac1b416150dc9630c96acef469a7f1cf7f893ea8bb984ca13723807c7a6f8d36814c899da0b61
data/.gitignore ADDED
@@ -0,0 +1,33 @@
1
+ # See http://help.github.com/ignore-files/ for more about ignoring files.
2
+ #
3
+ # If you find yourself ignoring temporary files generated by your text editor
4
+ # or operating system, you probably want to add a global ignore instead:
5
+ # git config --global core.excludesfile ~/.gitignore_global
6
+
7
+ # Ignore bundler config
8
+ /.bundle
9
+
10
+ # Ignore the build directory
11
+ /build
12
+
13
+ # Ignore cache
14
+ /.sass-cache
15
+ /.cache
16
+
17
+ # Ignore .DS_store file
18
+ .DS_Store
19
+
20
+ # Only for cloning,
21
+ # will be substituted
22
+ source/*
23
+
24
+ !templates/source/*
25
+
26
+ # no tmp files
27
+ tmp/
28
+
29
+ coverage/
30
+ pkg/
31
+
32
+ doc/yard/
33
+ .yardoc
data/.rdebugrc ADDED
@@ -0,0 +1,7 @@
1
+ set listsize 30
2
+ set history save on
3
+ set history size 99999
4
+ set history filename ~/.rdebug_history
5
+ set autolist
6
+ set autoeval
7
+ set autoreload
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format Fuubar
2
+ --order rand
3
+ --color
data/.rubocop.yml ADDED
@@ -0,0 +1,4 @@
1
+ inherit_from:
2
+ - config/rubocop/include.yml
3
+ - config/rubocop/exclude.yml
4
+ - config/rubocop/exclude.yml
data/.simplecov ADDED
@@ -0,0 +1,9 @@
1
+ SimpleCov.start do
2
+ add_filter "/features/"
3
+ add_filter "/fixtures/"
4
+ add_filter "/spec/"
5
+ add_filter "/tmp"
6
+ add_filter "/vendor"
7
+
8
+ add_group "lib", "lib"
9
+ end
data/.travis.yml ADDED
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ bundler_args: --without development
3
+ rvm:
4
+ - 2.1.0
5
+ - 2.1.1
6
+ - 2.1.2
7
+ install: script/bootstrap
8
+ script: script/ci
data/.yardopts ADDED
@@ -0,0 +1,5 @@
1
+ -o doc/yard
2
+ --verbose
3
+ -
4
+ LICENSE.md
5
+ README.md
data/Gemfile ADDED
@@ -0,0 +1,43 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
4
+
5
+ group :development, :test do
6
+ gem 'fedux_org-stdlib', require: false
7
+
8
+ gem 'rspec', require: false
9
+ gem 'fuubar', require: false
10
+ gem 'simplecov', require: false
11
+ gem 'rubocop', '>= 0.25.0', require: false
12
+ gem 'coveralls', require: false
13
+ gem 'cucumber', require: false
14
+ gem 'aruba'
15
+ gem 'bundler', require: false
16
+ gem 'erubis'
17
+ gem 'versionomy', require: false
18
+ gem 'activesupport', require: false
19
+ gem 'awesome_print', require: 'ap'
20
+
21
+ gem 'mutant', require: false
22
+ gem 'mutant-rspec', require: false
23
+
24
+ if !ENV.key?('CI') && !ENV.key?('TRAVIS')
25
+ gem 'byebug'
26
+ gem 'pry'
27
+ gem 'pry-byebug', require: false
28
+ gem 'pry-doc', require: false
29
+ end
30
+
31
+ gem 'foreman', require: false
32
+ gem 'github-markup'
33
+ gem 'redcarpet', require: false
34
+ gem 'tmrb', require: false
35
+ gem 'yard', require: false
36
+ gem 'inch', require: false
37
+ gem 'license_finder'
38
+ gem 'filegen', require: false
39
+ gem 'travis-lint', require: false
40
+ gem 'command_exec', require: false
41
+ gem 'rake', require: false
42
+ gem 'launchy', require: false
43
+ end
data/Gemfile.lock ADDED
@@ -0,0 +1,254 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ gpx_track_generator (0.0.2)
5
+ activesupport
6
+ nokogiri
7
+ thor
8
+
9
+ GEM
10
+ remote: https://rubygems.org/
11
+ specs:
12
+ abstract_type (0.0.7)
13
+ activesupport (4.1.5)
14
+ i18n (~> 0.6, >= 0.6.9)
15
+ json (~> 1.7, >= 1.7.7)
16
+ minitest (~> 5.1)
17
+ thread_safe (~> 0.1)
18
+ tzinfo (~> 1.1)
19
+ adamantium (0.2.0)
20
+ ice_nine (~> 0.11.0)
21
+ memoizable (~> 0.4.0)
22
+ addressable (2.3.6)
23
+ anima (0.2.0)
24
+ abstract_type (~> 0.0.7)
25
+ adamantium (~> 0.1)
26
+ equalizer (~> 0.0.8)
27
+ aruba (0.6.1)
28
+ childprocess (>= 0.3.6)
29
+ cucumber (>= 1.1.1)
30
+ rspec-expectations (>= 2.7.0)
31
+ ast (2.0.0)
32
+ awesome_print (1.2.0)
33
+ blockenspiel (0.4.5)
34
+ builder (3.2.2)
35
+ byebug (2.7.0)
36
+ columnize (~> 0.3)
37
+ debugger-linecache (~> 1.2)
38
+ childprocess (0.5.3)
39
+ ffi (~> 1.0, >= 1.0.11)
40
+ coderay (1.1.0)
41
+ columnize (0.8.9)
42
+ command_exec (0.2.0)
43
+ activesupport
44
+ smart_colored
45
+ xml-simple
46
+ concord (0.1.5)
47
+ adamantium (~> 0.2.0)
48
+ equalizer (~> 0.0.9)
49
+ coveralls (0.7.1)
50
+ multi_json (~> 1.3)
51
+ rest-client
52
+ simplecov (>= 0.7)
53
+ term-ansicolor
54
+ thor
55
+ cucumber (1.3.16)
56
+ builder (>= 2.1.2)
57
+ diff-lcs (>= 1.1.3)
58
+ gherkin (~> 2.12)
59
+ multi_json (>= 1.7.5, < 2.0)
60
+ multi_test (>= 0.1.1)
61
+ debugger-linecache (1.2.0)
62
+ diff-lcs (1.2.5)
63
+ docile (1.1.5)
64
+ dotenv (0.11.1)
65
+ dotenv-deployment (~> 0.0.2)
66
+ dotenv-deployment (0.0.2)
67
+ equalizer (0.0.9)
68
+ erubis (2.7.0)
69
+ fedux_org-stdlib (0.7.20)
70
+ activesupport
71
+ ffi (1.9.3)
72
+ filegen (0.4.3)
73
+ activesupport
74
+ foreman (0.75.0)
75
+ dotenv (~> 0.11.1)
76
+ thor (~> 0.19.1)
77
+ fuubar (2.0.0)
78
+ rspec (~> 3.0)
79
+ ruby-progressbar (~> 1.4)
80
+ gherkin (2.12.2)
81
+ multi_json (~> 1.3)
82
+ github-markup (1.2.1)
83
+ posix-spawn (~> 0.3.8)
84
+ httparty (0.13.1)
85
+ json (~> 1.8)
86
+ multi_xml (>= 0.5.2)
87
+ i18n (0.6.11)
88
+ ice_nine (0.11.0)
89
+ inch (0.4.10)
90
+ pry
91
+ sparkr (>= 0.2.0)
92
+ term-ansicolor
93
+ yard (~> 0.8.7)
94
+ inflecto (0.0.2)
95
+ json (1.8.1)
96
+ launchy (2.4.2)
97
+ addressable (~> 2.3)
98
+ license_finder (1.1.1)
99
+ bundler
100
+ httparty
101
+ sequel
102
+ sqlite3
103
+ thor
104
+ xml-simple
105
+ memoizable (0.4.2)
106
+ thread_safe (~> 0.3, >= 0.3.1)
107
+ method_source (0.8.2)
108
+ mime-types (2.3)
109
+ mini_portile (0.6.0)
110
+ minitest (5.4.0)
111
+ morpher (0.2.3)
112
+ abstract_type (~> 0.0.7)
113
+ adamantium (~> 0.2.0)
114
+ anima (~> 0.2.0)
115
+ ast (~> 2.0.0)
116
+ concord (~> 0.1.4)
117
+ equalizer (~> 0.0.9)
118
+ ice_nine (~> 0.11.0)
119
+ procto (~> 0.0.2)
120
+ multi_json (1.10.1)
121
+ multi_test (0.1.1)
122
+ multi_xml (0.5.5)
123
+ mutant (0.6.0)
124
+ abstract_type (~> 0.0.7)
125
+ adamantium (~> 0.2.0)
126
+ anima (~> 0.2.0)
127
+ ast (~> 2.0)
128
+ concord (~> 0.1.5)
129
+ diff-lcs (~> 1.2)
130
+ equalizer (~> 0.0.9)
131
+ ice_nine (~> 0.11.0)
132
+ inflecto (~> 0.0.2)
133
+ memoizable (~> 0.4.2)
134
+ morpher (~> 0.2.3)
135
+ parallel (~> 1.2.0)
136
+ parser (~> 2.1)
137
+ procto (~> 0.0.2)
138
+ unparser (~> 0.1.14)
139
+ mutant-rspec (0.6.0)
140
+ mutant (~> 0.6.0)
141
+ rspec-core (>= 2.14.1, < 3.1.0)
142
+ netrc (0.7.7)
143
+ nokogiri (1.6.3.1)
144
+ mini_portile (= 0.6.0)
145
+ parallel (1.2.4)
146
+ parser (2.2.0.pre.4)
147
+ ast (>= 1.1, < 3.0)
148
+ slop (~> 3.4, >= 3.4.5)
149
+ posix-spawn (0.3.9)
150
+ powerpack (0.0.9)
151
+ procto (0.0.2)
152
+ pry (0.10.1)
153
+ coderay (~> 1.1.0)
154
+ method_source (~> 0.8.1)
155
+ slop (~> 3.4)
156
+ pry-byebug (1.3.3)
157
+ byebug (~> 2.7)
158
+ pry (~> 0.10)
159
+ pry-doc (0.6.0)
160
+ pry (~> 0.9)
161
+ yard (~> 0.8)
162
+ rainbow (2.0.0)
163
+ rake (10.3.2)
164
+ redcarpet (3.1.2)
165
+ rest-client (1.7.2)
166
+ mime-types (>= 1.16, < 3.0)
167
+ netrc (~> 0.7)
168
+ rspec (3.0.0)
169
+ rspec-core (~> 3.0.0)
170
+ rspec-expectations (~> 3.0.0)
171
+ rspec-mocks (~> 3.0.0)
172
+ rspec-core (3.0.4)
173
+ rspec-support (~> 3.0.0)
174
+ rspec-expectations (3.0.4)
175
+ diff-lcs (>= 1.2.0, < 2.0)
176
+ rspec-support (~> 3.0.0)
177
+ rspec-mocks (3.0.4)
178
+ rspec-support (~> 3.0.0)
179
+ rspec-support (3.0.4)
180
+ rubocop (0.25.0)
181
+ parser (>= 2.2.0.pre.4, < 3.0)
182
+ powerpack (~> 0.0.6)
183
+ rainbow (>= 1.99.1, < 3.0)
184
+ ruby-progressbar (~> 1.4)
185
+ ruby-progressbar (1.5.1)
186
+ sequel (4.13.0)
187
+ simplecov (0.9.0)
188
+ docile (~> 1.1.0)
189
+ multi_json
190
+ simplecov-html (~> 0.8.0)
191
+ simplecov-html (0.8.0)
192
+ slop (3.6.0)
193
+ smart_colored (1.1.1)
194
+ sparkr (0.4.1)
195
+ sqlite3 (1.3.9)
196
+ term-ansicolor (1.3.0)
197
+ tins (~> 1.0)
198
+ thor (0.19.1)
199
+ thread_safe (0.3.4)
200
+ tins (1.3.2)
201
+ tmrb (1.2.7)
202
+ thor
203
+ travis-lint (2.0.0)
204
+ json
205
+ tzinfo (1.2.2)
206
+ thread_safe (~> 0.1)
207
+ unparser (0.1.14)
208
+ abstract_type (~> 0.0.7)
209
+ adamantium (~> 0.2.0)
210
+ concord (~> 0.1.5)
211
+ equalizer (~> 0.0.9)
212
+ parser (~> 2.1)
213
+ procto (~> 0.0.2)
214
+ versionomy (0.4.4)
215
+ blockenspiel (>= 0.4.5)
216
+ xml-simple (1.1.4)
217
+ yard (0.8.7.4)
218
+
219
+ PLATFORMS
220
+ ruby
221
+
222
+ DEPENDENCIES
223
+ activesupport
224
+ aruba
225
+ awesome_print
226
+ bundler
227
+ byebug
228
+ command_exec
229
+ coveralls
230
+ cucumber
231
+ erubis
232
+ fedux_org-stdlib
233
+ filegen
234
+ foreman
235
+ fuubar
236
+ github-markup
237
+ gpx_track_generator!
238
+ inch
239
+ launchy
240
+ license_finder
241
+ mutant
242
+ mutant-rspec
243
+ pry
244
+ pry-byebug
245
+ pry-doc
246
+ rake
247
+ redcarpet
248
+ rspec
249
+ rubocop (>= 0.25.0)
250
+ simplecov
251
+ tmrb
252
+ travis-lint
253
+ versionomy
254
+ yard
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2014 Max Meyer
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,29 @@
1
+ # GpxTrackGenerator
2
+
3
+ TODO: Write a gem description
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ gem 'gpx_track_generator'
10
+
11
+ And then execute:
12
+
13
+ $ bundle
14
+
15
+ Or install it yourself as:
16
+
17
+ $ gem install gpx_track_generator
18
+
19
+ ## Usage
20
+
21
+ TODO: Write usage instructions here
22
+
23
+ ## Contributing
24
+
25
+ 1. Fork it ( https://github.com/[my-github-username]/gpx_track_generator/fork )
26
+ 2. Create your feature branch (`git checkout -b my-new-feature`)
27
+ 3. Commit your changes (`git commit -am 'Add some feature'`)
28
+ 4. Push to the branch (`git push origin my-new-feature`)
29
+ 5. Create a new Pull Request
data/Rakefile ADDED
@@ -0,0 +1,198 @@
1
+ #!/usr/bin/env rake
2
+
3
+ require 'filegen'
4
+ require 'fedux_org_stdlib/rake_tasks'
5
+ require 'active_support/all'
6
+ require 'open3'
7
+
8
+ def software
9
+ gemspec.name
10
+ end
11
+
12
+ def module_name
13
+ software.gsub(/-/, '/').camelcase
14
+ end
15
+
16
+ def require_name
17
+ software
18
+ end
19
+
20
+ def gemspec
21
+ # rubocop:disable Lint/Eval
22
+ eval File.read(Dir.glob(File.join(File.expand_path('../', __FILE__), '*.gemspec')).first)
23
+ # rubocop:enable Lint/Eval
24
+ end
25
+
26
+ def hardware_architecture
27
+ `uname -m`.chomp
28
+ end
29
+
30
+ def archlinux_package_name
31
+ File.join(archlinux_build_directory, "#{software}-#{version}-*-#{hardware_architecture}.pkg.tar.xz")
32
+ end
33
+
34
+ def version
35
+ require "#{require_name}/version"
36
+ "#{module_name}::VERSION".constantize
37
+ end
38
+
39
+ def root_directory
40
+ ::File.expand_path('../', __FILE__)
41
+ end
42
+
43
+ def tar_file
44
+ ::File.join(pkg_directory, "#{software}-#{version}.tar.gz")
45
+ end
46
+
47
+ def tmp_directory
48
+ ::File.join(root_directory, 'tmp', "#{software}-#{version}")
49
+ end
50
+
51
+ def archlinux_build_directory
52
+ ::File.join(root_directory, 'share', 'archlinux')
53
+ end
54
+
55
+ def gem_file
56
+ ::File.join(root_directory, 'pkg', "#{software}-#{version}.gem")
57
+ end
58
+
59
+ def pkg_directory
60
+ ::File.join(root_directory, 'pkg')
61
+ end
62
+
63
+ def gem_directory
64
+ ::File.join(root_directory, 'vendor', 'cache')
65
+ end
66
+
67
+ task default: 'package:gem'
68
+
69
+ file tmp_directory do
70
+ FileUtils.mkdir_p tmp_directory
71
+ end
72
+
73
+ file archlinux_build_directory do
74
+ FileUtils.mkdir_p archlinux_build_directory
75
+ end
76
+
77
+ def extract_sha
78
+ `makepkg -g 2>/dev/null`.split(/\n/).find { |l| l =~ /sha256/ }
79
+ end
80
+
81
+ namespace :package do
82
+
83
+ desc 'build gem package'
84
+ task :gem do
85
+ sh 'RAILS_ENV=production bundle exec rake -f Rakefile.rails assets:clobber'
86
+ sh 'RAILS_ENV=production bundle exec rake -f Rakefile.rails assets:precompile'
87
+
88
+ base_path = File.expand_path('..', __FILE__)
89
+ FileUtils.chmod_R 'a+r', Dir.glob(File.join(base_path, 'public', 'assets', '**', '*')).keep_if { |f| File.file? f }
90
+
91
+ Rake::Task['gem:clean'].invoke
92
+ Rake::Task['gem:build'].invoke
93
+ end
94
+
95
+ desc 'build arch linux package'
96
+ task :archlinux do
97
+ Rake::Task['archlinux:build'].invoke
98
+ end
99
+ end
100
+
101
+ require 'coveralls/rake/task'
102
+ Coveralls::RakeTask.new
103
+
104
+ desc 'Run test suite'
105
+ task test: ['test:rspec', 'test:rubocop', 'test:cucumber']
106
+
107
+ namespace :test do
108
+ desc 'Test with coveralls'
109
+ task coveralls: ['test', 'coveralls:push']
110
+
111
+ require 'rubocop/rake_task'
112
+ RuboCop::RakeTask.new
113
+
114
+ desc 'Run rspec'
115
+ task :rspec do
116
+ sh 'bundle exec rspec'
117
+ end
118
+
119
+ desc 'Run cucumber'
120
+ task :cucumber do
121
+ sh 'bundle exec cucumber -p all'
122
+ end
123
+
124
+ desc 'Run mutant'
125
+ task :mutant do
126
+ sh 'mutant --include lib --require middleman-presentation --use rspec "Middleman::Presentation*"'
127
+ end
128
+ end
129
+
130
+ namespace :gem do
131
+ desc 'Clean build packages'
132
+ task :clean do
133
+ FileUtils.rm Dir.glob(File.join(pkg_directory, '*.gem'))
134
+ end
135
+ end
136
+
137
+ namespace :archlinux do
138
+ desc 'Install arch linux package'
139
+ task :install do
140
+ sh "sudo pacman -U #{archlinux_package_name}"
141
+ end
142
+
143
+ desc 'Prepare package build'
144
+ task prepare: ['package:gem', archlinux_build_directory] do
145
+ generator = Filegen::Rubygen.new
146
+ template = File.read(File.expand_path('../share/archlinux/PKGBUILD.sh.erb', __FILE__))
147
+ build_file = File.expand_path('../share/archlinux/PKGBUILD', __FILE__)
148
+
149
+ if ENV.key?('LOCAL_BUILD')
150
+ package_file = ::File.join(pkg_directory, "#{software}-#{version}.gem")
151
+ source = ''
152
+ else
153
+ # package_file = '$pkgname-$pkgver.gem'
154
+ package_file = '$pkgname'
155
+ source = 'http://gems.rubyforge.org/gems/$pkgname-$pkgver.gem'
156
+ end
157
+
158
+ data = {
159
+ sha: nil,
160
+ version: version,
161
+ package: package_file,
162
+ source: source
163
+ }
164
+
165
+ Dir.chdir(archlinux_build_directory) do
166
+ File.open(build_file, 'w') do |f|
167
+ f.write generator.run(template, data)
168
+ end
169
+
170
+ data = {
171
+ sha: extract_sha,
172
+ version: version,
173
+ package: package_file,
174
+ source: source
175
+ }
176
+
177
+ File.open(build_file, 'w') do |f|
178
+ f.write generator.run(template, data)
179
+ end
180
+ end
181
+ end
182
+
183
+ desc 'Build package'
184
+ task build: 'archlinux:prepare' do
185
+ Dir.chdir(archlinux_build_directory) do
186
+ sh 'makepkg -f'
187
+ end
188
+ end
189
+
190
+ desc 'Build source package for aur'
191
+ task build_source: 'archlinux:prepare' do
192
+ Dir.chdir(archlinux_build_directory) do
193
+ sh 'makepkg --source'
194
+ end
195
+ end
196
+ end
197
+
198
+ task 'gem:release' => :test
data/bin/gpx_track ADDED
@@ -0,0 +1,5 @@
1
+ #!/usr/bin/env ruby
2
+ $LOAD_PATH << File.expand_path('../../lib', __FILE__)
3
+
4
+ require 'gpx_track_generator'
5
+ GpxTrackGenerator::Runner.start
@@ -0,0 +1,13 @@
1
+ ---
2
+ whitelist:
3
+ - MIT
4
+ - Apache 2.0
5
+ - BSD
6
+ - ruby
7
+ ignore_groups:
8
+ - test
9
+ - development
10
+ ignore_dependencies:
11
+ #- bundler
12
+ dependencies_file_dir: './doc/licenses'
13
+ project_name: middleman-presentation
@@ -0,0 +1,32 @@
1
+ AllCops:
2
+ Exclude:
3
+ - 'tmp/**/*'
4
+
5
+ # Offense count: 1
6
+ # Configuration parameters: Exclude.
7
+ Style/FileName:
8
+ Enabled: false
9
+
10
+ # Offense count: 8
11
+ # Configuration parameters: CountComments.
12
+ Metrics/MethodLength:
13
+ Max: 118
14
+ Enabled: false
15
+
16
+ # Offense count: 1
17
+ # Configuration parameters: CountComments.
18
+ Metrics/ClassLength:
19
+ Max: 160
20
+ Enabled: false
21
+
22
+ # Offense count: 3
23
+ Metrics/CyclomaticComplexity:
24
+ Max: 9
25
+ Enabled: false
26
+
27
+ Metrics/PerceivedComplexity:
28
+ Exclude:
29
+ - lib/middleman-presentation/frontend_component.rb
30
+ - lib/middleman-presentation/assets_manager.rb
31
+ - lib/middleman-presentation/file_extensions.rb
32
+ - lib/middleman-presentation/commands/slide.rb