jeweler2 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. data/.document +8 -0
  2. data/ChangeLog.markdown +177 -0
  3. data/Gemfile +18 -0
  4. data/Gemfile.lock +47 -0
  5. data/LICENSE.txt +20 -0
  6. data/README.markdown +217 -0
  7. data/Rakefile +80 -0
  8. data/bin/jeweler +5 -0
  9. data/features/generator/cucumber.feature +103 -0
  10. data/features/generator/directory_layout.feature +86 -0
  11. data/features/generator/dotdocument.feature +13 -0
  12. data/features/generator/env_options.feature +9 -0
  13. data/features/generator/gemfile.feature +71 -0
  14. data/features/generator/git.feature +102 -0
  15. data/features/generator/license.feature +20 -0
  16. data/features/generator/rakefile.feature +158 -0
  17. data/features/generator/readme.feature +12 -0
  18. data/features/generator/test.feature +54 -0
  19. data/features/generator/test_helper.feature +149 -0
  20. data/features/placeholder.feature +5 -0
  21. data/features/step_definitions/debug_steps.rb +6 -0
  22. data/features/step_definitions/filesystem_steps.rb +70 -0
  23. data/features/step_definitions/generator_steps.rb +380 -0
  24. data/features/step_definitions/task_steps.rb +6 -0
  25. data/features/support/env.rb +42 -0
  26. data/features/tasks/build_gem.feature +9 -0
  27. data/features/tasks/version.feature +31 -0
  28. data/features/tasks/version_bumping.feature +49 -0
  29. data/jeweler.gemspec +245 -0
  30. data/jeweler2.gemspec +233 -0
  31. data/lib/jeweler/commands/build_gem.rb +36 -0
  32. data/lib/jeweler/commands/check_dependencies.rb +66 -0
  33. data/lib/jeweler/commands/install_gem.rb +31 -0
  34. data/lib/jeweler/commands/release_gemspec.rb +82 -0
  35. data/lib/jeweler/commands/release_to_git.rb +59 -0
  36. data/lib/jeweler/commands/release_to_rubygems.rb +28 -0
  37. data/lib/jeweler/commands/validate_gemspec.rb +30 -0
  38. data/lib/jeweler/commands/version/base.rb +55 -0
  39. data/lib/jeweler/commands/version/bump_major.rb +13 -0
  40. data/lib/jeweler/commands/version/bump_minor.rb +12 -0
  41. data/lib/jeweler/commands/version/bump_patch.rb +14 -0
  42. data/lib/jeweler/commands/version/write.rb +12 -0
  43. data/lib/jeweler/commands/write_gemspec.rb +39 -0
  44. data/lib/jeweler/commands.rb +20 -0
  45. data/lib/jeweler/errors.rb +8 -0
  46. data/lib/jeweler/gemcutter_tasks.rb +8 -0
  47. data/lib/jeweler/gemspec_helper.rb +87 -0
  48. data/lib/jeweler/generator/application.rb +61 -0
  49. data/lib/jeweler/generator/bacon_mixin.rb +43 -0
  50. data/lib/jeweler/generator/github_mixin.rb +29 -0
  51. data/lib/jeweler/generator/micronaut_mixin.rb +41 -0
  52. data/lib/jeweler/generator/minitest_mixin.rb +42 -0
  53. data/lib/jeweler/generator/options.rb +163 -0
  54. data/lib/jeweler/generator/rdoc_mixin.rb +9 -0
  55. data/lib/jeweler/generator/riot_mixin.rb +42 -0
  56. data/lib/jeweler/generator/rspec_mixin.rb +42 -0
  57. data/lib/jeweler/generator/shindo_mixin.rb +44 -0
  58. data/lib/jeweler/generator/shoulda_mixin.rb +42 -0
  59. data/lib/jeweler/generator/testspec_mixin.rb +42 -0
  60. data/lib/jeweler/generator/testunit_mixin.rb +39 -0
  61. data/lib/jeweler/generator/yard_mixin.rb +14 -0
  62. data/lib/jeweler/generator.rb +295 -0
  63. data/lib/jeweler/rubyforge_tasks.rb +95 -0
  64. data/lib/jeweler/rubygems_dot_org_tasks.rb +38 -0
  65. data/lib/jeweler/rubygems_tasks.rb +38 -0
  66. data/lib/jeweler/specification.rb +110 -0
  67. data/lib/jeweler/tasks.rb +224 -0
  68. data/lib/jeweler/templates/.document +5 -0
  69. data/lib/jeweler/templates/.gitignore +48 -0
  70. data/lib/jeweler/templates/Gemfile +12 -0
  71. data/lib/jeweler/templates/LICENSE.txt +20 -0
  72. data/lib/jeweler/templates/README.rdoc +19 -0
  73. data/lib/jeweler/templates/Rakefile +9 -0
  74. data/lib/jeweler/templates/bacon/flunking.rb +7 -0
  75. data/lib/jeweler/templates/bacon/helper.rb +9 -0
  76. data/lib/jeweler/templates/bundler_setup.erb +10 -0
  77. data/lib/jeweler/templates/features/default.feature +9 -0
  78. data/lib/jeweler/templates/features/support/env.rb +10 -0
  79. data/lib/jeweler/templates/jeweler_tasks.erb +31 -0
  80. data/lib/jeweler/templates/micronaut/flunking.rb +7 -0
  81. data/lib/jeweler/templates/micronaut/helper.rb +18 -0
  82. data/lib/jeweler/templates/minitest/flunking.rb +7 -0
  83. data/lib/jeweler/templates/minitest/helper.rb +12 -0
  84. data/lib/jeweler/templates/other_tasks.erb +86 -0
  85. data/lib/jeweler/templates/riot/flunking.rb +11 -0
  86. data/lib/jeweler/templates/riot/helper.rb +4 -0
  87. data/lib/jeweler/templates/rspec/.rspec +1 -0
  88. data/lib/jeweler/templates/rspec/flunking.rb +7 -0
  89. data/lib/jeweler/templates/rspec/helper.rb +12 -0
  90. data/lib/jeweler/templates/shindo/flunking.rb +8 -0
  91. data/lib/jeweler/templates/shindo/helper.rb +6 -0
  92. data/lib/jeweler/templates/shoulda/flunking.rb +7 -0
  93. data/lib/jeweler/templates/shoulda/helper.rb +11 -0
  94. data/lib/jeweler/templates/testspec/flunking.rb +7 -0
  95. data/lib/jeweler/templates/testspec/helper.rb +7 -0
  96. data/lib/jeweler/templates/testunit/flunking.rb +7 -0
  97. data/lib/jeweler/templates/testunit/helper.rb +10 -0
  98. data/lib/jeweler/version.rb +10 -0
  99. data/lib/jeweler/version_helper.rb +141 -0
  100. data/lib/jeweler.rb +177 -0
  101. data/test/fixtures/bar/VERSION.yml +4 -0
  102. data/test/fixtures/bar/bin/foo_the_ultimate_bin +1 -0
  103. data/test/fixtures/bar/hey_include_me_in_gemspec +0 -0
  104. data/test/fixtures/bar/lib/foo_the_ultimate_lib.rb +1 -0
  105. data/test/fixtures/existing-project-with-version-constant/.document +5 -0
  106. data/test/fixtures/existing-project-with-version-constant/.gitignore +5 -0
  107. data/test/fixtures/existing-project-with-version-constant/LICENSE.txt +20 -0
  108. data/test/fixtures/existing-project-with-version-constant/README.rdoc +7 -0
  109. data/test/fixtures/existing-project-with-version-constant/Rakefile +85 -0
  110. data/test/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec +29 -0
  111. data/test/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb +0 -0
  112. data/test/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb +7 -0
  113. data/test/fixtures/existing-project-with-version-constant/test/test_helper.rb +10 -0
  114. data/test/fixtures/existing-project-with-version-plaintext/.document +5 -0
  115. data/test/fixtures/existing-project-with-version-plaintext/.gitignore +5 -0
  116. data/test/fixtures/existing-project-with-version-plaintext/LICENSE.txt +20 -0
  117. data/test/fixtures/existing-project-with-version-plaintext/README.rdoc +7 -0
  118. data/test/fixtures/existing-project-with-version-plaintext/Rakefile +84 -0
  119. data/test/fixtures/existing-project-with-version-plaintext/VERSION +1 -0
  120. data/test/fixtures/existing-project-with-version-plaintext/existing-project-with-version.gemspec +29 -0
  121. data/test/fixtures/existing-project-with-version-plaintext/lib/existing_project_with_version.rb +0 -0
  122. data/test/fixtures/existing-project-with-version-plaintext/test/existing_project_with_version_test.rb +7 -0
  123. data/test/fixtures/existing-project-with-version-plaintext/test/test_helper.rb +10 -0
  124. data/test/fixtures/existing-project-with-version-yaml/.document +5 -0
  125. data/test/fixtures/existing-project-with-version-yaml/.gitignore +5 -0
  126. data/test/fixtures/existing-project-with-version-yaml/LICENSE.txt +20 -0
  127. data/test/fixtures/existing-project-with-version-yaml/README.rdoc +7 -0
  128. data/test/fixtures/existing-project-with-version-yaml/Rakefile +84 -0
  129. data/test/fixtures/existing-project-with-version-yaml/VERSION.yml +4 -0
  130. data/test/fixtures/existing-project-with-version-yaml/bin/foo_the_ultimate_bin +0 -0
  131. data/test/fixtures/existing-project-with-version-yaml/existing-project-with-version.gemspec +29 -0
  132. data/test/fixtures/existing-project-with-version-yaml/lib/existing_project_with_version.rb +0 -0
  133. data/test/fixtures/existing-project-with-version-yaml/test/existing_project_with_version_test.rb +7 -0
  134. data/test/fixtures/existing-project-with-version-yaml/test/test_helper.rb +10 -0
  135. data/test/geminstaller.yml +12 -0
  136. data/test/jeweler/commands/test_build_gem.rb +103 -0
  137. data/test/jeweler/commands/test_install_gem.rb +35 -0
  138. data/test/jeweler/commands/test_release_to_gemcutter.rb +39 -0
  139. data/test/jeweler/commands/test_release_to_git.rb +198 -0
  140. data/test/jeweler/commands/test_release_to_github.rb +390 -0
  141. data/test/jeweler/commands/test_validate_gemspec.rb +27 -0
  142. data/test/jeweler/commands/test_write_gemspec.rb +101 -0
  143. data/test/jeweler/commands/version/test_base.rb +32 -0
  144. data/test/jeweler/commands/version/test_bump_major.rb +22 -0
  145. data/test/jeweler/commands/version/test_bump_minor.rb +19 -0
  146. data/test/jeweler/commands/version/test_bump_patch.rb +20 -0
  147. data/test/jeweler/commands/version/test_write.rb +22 -0
  148. data/test/jeweler/generator/test_application.rb +120 -0
  149. data/test/jeweler/generator/test_options.rb +225 -0
  150. data/test/jeweler/test_gemspec_helper.rb +44 -0
  151. data/test/jeweler/test_generator.rb +141 -0
  152. data/test/jeweler/test_generator_initialization.rb +164 -0
  153. data/test/jeweler/test_generator_mixins.rb +23 -0
  154. data/test/jeweler/test_specification.rb +237 -0
  155. data/test/jeweler/test_tasks.rb +50 -0
  156. data/test/jeweler/test_version_helper.rb +214 -0
  157. data/test/shoulda_macros/jeweler_macros.rb +35 -0
  158. data/test/test_helper.rb +178 -0
  159. data/test/test_jeweler.rb +175 -0
  160. metadata +343 -0
@@ -0,0 +1,42 @@
1
+ class Jeweler
2
+ class Generator
3
+ module MinitestMixin
4
+ def self.extended(generator)
5
+ generator.development_dependencies << ["minitest", ">= 0"]
6
+ end
7
+
8
+ def default_task
9
+ 'test'
10
+ end
11
+
12
+ def feature_support_require
13
+ 'minitest/unit'
14
+ end
15
+
16
+ def feature_support_extend
17
+ 'MiniTest::Assertions'
18
+ end
19
+
20
+ def test_dir
21
+ 'test'
22
+ end
23
+
24
+ def test_task
25
+ 'test'
26
+ end
27
+
28
+ def test_pattern
29
+ 'test/**/test_*.rb'
30
+ end
31
+
32
+ def test_filename
33
+ "test_#{require_name}.rb"
34
+ end
35
+
36
+ def test_helper_filename
37
+ "helper.rb"
38
+ end
39
+
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,163 @@
1
+ class Jeweler
2
+ class Generator
3
+ class Options < Hash
4
+ attr_reader :opts, :orig_args
5
+
6
+ def initialize(args)
7
+ super()
8
+
9
+ @orig_args = args.clone
10
+ self[:testing_framework] = :shoulda
11
+ self[:documentation_framework] = :rdoc
12
+ self[:use_bundler] = true
13
+
14
+ git_config = if Pathname.new("~/.gitconfig").expand_path.exist?
15
+ Git.global_config
16
+ else
17
+ {}
18
+ end
19
+ self[:user_name] = ENV['GIT_AUTHOR_NAME'] || ENV['GIT_COMMITTER_NAME'] || git_config['user.name']
20
+ self[:user_email] = ENV['GIT_AUTHOR_EMAIL'] || ENV['GIT_COMMITTER_EMAIL'] || git_config['user.email']
21
+ self[:github_username] = git_config['github.user']
22
+ self[:github_token] = git_config['github.token']
23
+
24
+ require 'optparse'
25
+ @opts = OptionParser.new do |o|
26
+ o.banner = "Usage: #{File.basename($0)} [options] reponame\ne.g. #{File.basename($0)} the-perfect-gem"
27
+
28
+ o.on('--directory [DIRECTORY]', 'specify the directory to generate into (deprecated)') do |directory|
29
+ warn "--directory is deprecated and will be removed in 2.0.0. Please specify an absolute path to a directoy as the last argument instead" # DEPRECATE
30
+ self[:directory] = directory
31
+ end
32
+
33
+ o.separator ""
34
+
35
+ o.on('--rspec', 'generate rspec code examples') do
36
+ self[:testing_framework] = :rspec
37
+ end
38
+
39
+ o.on('--shoulda', 'generate shoulda tests') do
40
+ self[:testing_framework] = :shoulda
41
+ end
42
+
43
+ o.on('--testunit', 'generate test/unit tests') do
44
+ self[:testing_framework] = :testunit
45
+ end
46
+
47
+ o.on('--bacon', 'generate bacon specifications') do
48
+ self[:testing_framework] = :bacon
49
+ end
50
+
51
+ o.on('--testspec', 'generate test/spec tests') do
52
+ self[:testing_framework] = :testspec
53
+ end
54
+
55
+ o.on('--minitest', 'generate minitest tests') do
56
+ self[:testing_framework] = :minitest
57
+ end
58
+
59
+ o.on('--micronaut', 'generate micronaut examples') do
60
+ self[:testing_framework] = :micronaut
61
+ end
62
+
63
+ o.on('--riot', 'generate riot tests') do
64
+ self[:testing_framework] = :riot
65
+ end
66
+
67
+ o.on('--shindo', 'generate shindo tests') do
68
+ self[:testing_framework] = :shindo
69
+ end
70
+
71
+ o.separator ""
72
+
73
+ o.on('--[no-]bundler', 'use bundler for managing dependencies') do |v|
74
+ self[:use_bundler] = v
75
+ end
76
+
77
+ o.on('--cucumber', 'generate cucumber stories in addition to the other tests') do
78
+ self[:use_cucumber] = true
79
+ end
80
+
81
+ o.separator ""
82
+
83
+ o.on('--reek', 'generate rake task for reek') do
84
+ self[:use_reek] = true
85
+ end
86
+
87
+ o.on('--roodi', 'generate rake task for roodi') do
88
+ self[:use_roodi] = true
89
+ end
90
+
91
+ o.separator ""
92
+
93
+ o.on('--summary [SUMMARY]', 'specify the summary of the project') do |summary|
94
+ self[:summary] = summary
95
+ end
96
+
97
+ o.on('--description [DESCRIPTION]', 'specify a description of the project') do |description|
98
+ self[:description] = description
99
+ end
100
+
101
+ o.separator ""
102
+
103
+ o.on('--user-name [USER_NAME]', "the user's name, ie that is credited in the LICENSE") do |user_name|
104
+ self[:user_name] = user_name
105
+ end
106
+
107
+ o.on('--user-email [USER_EMAIL]', "the user's email, ie that is credited in the Gem specification") do |user_email|
108
+ self[:user_email] = user_email
109
+ end
110
+
111
+ o.separator ""
112
+
113
+ o.on('--github-username [GITHUB_USERNAME]', "name of the user on GitHub to set the project up under") do |github_username|
114
+ self[:github_username] = github_username
115
+ end
116
+
117
+ o.on('--github-token [GITHUB_TOKEN]', "GitHub token to use for interacting with the GitHub API") do |github_token|
118
+ self[:github_token] = github_token
119
+ end
120
+
121
+ o.on('--git-remote [GIT_REMOTE]', 'URI to set the git origin remote to') do |git_remote|
122
+ self[:git_remote] = git_remote
123
+ end
124
+
125
+ o.on('--homepage [HOMEPAGE]', "the homepage for your project (defaults to the GitHub repo)") do |homepage|
126
+ self[:homepage] = homepage
127
+ end
128
+
129
+ o.on('--create-repo', 'create the repository on GitHub') do
130
+ self[:create_repo] = true
131
+ end
132
+
133
+
134
+ o.separator ""
135
+
136
+ o.on('--yard', 'use yard for documentation') do
137
+ self[:documentation_framework] = :yard
138
+ end
139
+
140
+ o.on('--rdoc', 'use rdoc for documentation') do
141
+ self[:documentation_framework] = :rdoc
142
+ end
143
+
144
+ o.on_tail('-h', '--help', 'display this help and exit') do
145
+ self[:show_help] = true
146
+ end
147
+ end
148
+
149
+ begin
150
+ @opts.parse!(args)
151
+ self[:project_name] = args.shift
152
+ rescue OptionParser::InvalidOption => e
153
+ self[:invalid_argument] = e.message
154
+ end
155
+ end
156
+
157
+ def merge(other)
158
+ self.class.new(@orig_args + other.orig_args)
159
+ end
160
+
161
+ end
162
+ end
163
+ end
@@ -0,0 +1,9 @@
1
+ class Jeweler
2
+ class Generator
3
+ module RdocMixin
4
+ def doc_task
5
+ 'rdoc'
6
+ end
7
+ end
8
+ end
9
+ end
@@ -0,0 +1,42 @@
1
+ class Jeweler
2
+ class Generator
3
+ module RiotMixin
4
+ def self.extended(generator)
5
+ generator.development_dependencies << ["riot", ">= 0"]
6
+ end
7
+
8
+ def default_task
9
+ 'test'
10
+ end
11
+
12
+ def feature_support_require
13
+ 'riot/context'
14
+ end
15
+
16
+ def feature_support_extend
17
+ 'Riot::Context'
18
+ end
19
+
20
+ def test_dir
21
+ 'test'
22
+ end
23
+
24
+ def test_task
25
+ 'test'
26
+ end
27
+
28
+ def test_pattern
29
+ 'test/**/*_test.rb'
30
+ end
31
+
32
+ def test_filename
33
+ "#{require_name}_test.rb"
34
+ end
35
+
36
+ def test_helper_filename
37
+ "teststrap.rb"
38
+ end
39
+
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,42 @@
1
+ class Jeweler
2
+ class Generator
3
+ module RspecMixin
4
+ def self.extended(generator)
5
+ generator.development_dependencies << ["rspec", "~> 2.3.0"]
6
+ end
7
+
8
+ def default_task
9
+ 'spec'
10
+ end
11
+
12
+ def feature_support_require
13
+ 'rspec/expectations'
14
+ end
15
+
16
+ def feature_support_extend
17
+ nil # Cucumber is smart enough extend Spec::Expectations on its own
18
+ end
19
+
20
+ def test_dir
21
+ 'spec'
22
+ end
23
+
24
+ def test_task
25
+ 'spec'
26
+ end
27
+
28
+ def test_pattern
29
+ 'spec/**/*_spec.rb'
30
+ end
31
+
32
+ def test_filename
33
+ "#{require_name}_spec.rb"
34
+ end
35
+
36
+ def test_helper_filename
37
+ "spec_helper.rb"
38
+ end
39
+
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,44 @@
1
+ class Jeweler
2
+ class Generator
3
+ module ShindoMixin
4
+ def self.extended(generator)
5
+ generator.development_dependencies << ["shindo", ">= 0"]
6
+ end
7
+
8
+ def default_task
9
+ 'tests'
10
+ end
11
+
12
+ def feature_support_require
13
+ # 'test/unit/assertions'
14
+ nil
15
+ end
16
+
17
+ def feature_support_extend
18
+ # 'Test::Unit::Assertions'
19
+ nil
20
+ end
21
+
22
+ def test_dir
23
+ 'tests'
24
+ end
25
+
26
+ def test_task
27
+ 'tests'
28
+ end
29
+
30
+ def test_pattern
31
+ 'tests/**/*_tests.rb'
32
+ end
33
+
34
+ def test_filename
35
+ "#{require_name}_tests.rb"
36
+ end
37
+
38
+ def test_helper_filename
39
+ "tests_helper.rb"
40
+ end
41
+
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,42 @@
1
+ class Jeweler
2
+ class Generator
3
+ module ShouldaMixin
4
+ def self.extended(generator)
5
+ generator.development_dependencies << ["shoulda", ">= 0"]
6
+ end
7
+
8
+ def default_task
9
+ 'test'
10
+ end
11
+
12
+ def feature_support_require
13
+ 'test/unit/assertions'
14
+ end
15
+
16
+ def feature_support_extend
17
+ 'Test::Unit::Assertions'
18
+ end
19
+
20
+ def test_dir
21
+ 'test'
22
+ end
23
+
24
+ def test_task
25
+ 'test'
26
+ end
27
+
28
+ def test_pattern
29
+ 'test/**/test_*.rb'
30
+ end
31
+
32
+ def test_filename
33
+ "test_#{require_name}.rb"
34
+ end
35
+
36
+ def test_helper_filename
37
+ "helper.rb"
38
+ end
39
+
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,42 @@
1
+ class Jeweler
2
+ class Generator
3
+ module TestspecMixin
4
+ def self.extended(generator)
5
+ generator.development_dependencies << ["test-spec", ">= 0"]
6
+ end
7
+
8
+ def default_task
9
+ 'test'
10
+ end
11
+
12
+ def feature_support_require
13
+ 'test/unit/assertions'
14
+ end
15
+
16
+ def feature_support_extend
17
+ 'Test::Unit::Assertions'
18
+ end
19
+
20
+ def test_dir
21
+ 'test'
22
+ end
23
+
24
+ def test_task
25
+ 'test'
26
+ end
27
+
28
+ def test_pattern
29
+ 'test/**/*_test.rb'
30
+ end
31
+
32
+ def test_filename
33
+ "#{require_name}_test.rb"
34
+ end
35
+
36
+ def test_helper_filename
37
+ "test_helper.rb"
38
+ end
39
+
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,39 @@
1
+ class Jeweler
2
+ class Generator
3
+ module TestunitMixin
4
+
5
+ def default_task
6
+ 'test'
7
+ end
8
+
9
+ def feature_support_require
10
+ 'test/unit/assertions'
11
+ end
12
+
13
+ def feature_support_extend
14
+ 'Test::Unit::Assertions'
15
+ end
16
+
17
+ def test_dir
18
+ 'test'
19
+ end
20
+
21
+ def test_task
22
+ 'test'
23
+ end
24
+
25
+ def test_pattern
26
+ 'test/**/test_*.rb'
27
+ end
28
+
29
+ def test_filename
30
+ "test_#{require_name}.rb"
31
+ end
32
+
33
+ def test_helper_filename
34
+ "helper.rb"
35
+ end
36
+
37
+ end
38
+ end
39
+ end
@@ -0,0 +1,14 @@
1
+ class Jeweler
2
+ class Generator
3
+ module YardMixin
4
+ def self.extended(generator)
5
+ generator.development_dependencies << ["yard", "~> 0.6.0"]
6
+ end
7
+
8
+ def doc_task
9
+ 'yardoc'
10
+ end
11
+ end
12
+ end
13
+ end
14
+