acts-as-messageable 0.5.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +8 -0
- data/.github/workflows/test.yml +152 -0
- data/.rubocop.yml +14 -1
- data/.rubocop_todo.yml +49 -7
- data/.ruby-version +1 -0
- data/Appraisals +11 -0
- data/Dockerfile +2 -1
- data/Gemfile +19 -13
- data/Gemfile.lock +186 -97
- data/README.md +2 -3
- data/Rakefile +6 -1
- data/VERSION +1 -1
- data/acts-as-messageable.gemspec +193 -40
- data/bin/tapioca +29 -0
- data/docker-compose.yml +82 -71
- data/gemfiles/rails_3.2.gemfile +14 -9
- data/gemfiles/rails_4.2.gemfile +14 -9
- data/gemfiles/rails_5.2.gemfile +14 -9
- data/gemfiles/rails_6.0.gemfile +14 -9
- data/gemfiles/rails_7.0.gemfile +29 -0
- data/gemfiles/rails_master.gemfile +15 -9
- data/lib/acts-as-messageable.rb +1 -0
- data/lib/acts_as_messageable/message.rb +62 -5
- data/lib/acts_as_messageable/model.rb +71 -20
- data/lib/acts_as_messageable/rails3.rb +27 -2
- data/lib/acts_as_messageable/rails4.rb +31 -4
- data/lib/acts_as_messageable/rails6.rb +34 -2
- data/lib/acts_as_messageable/railtie.rb +1 -0
- data/lib/acts_as_messageable/relation.rb +18 -2
- data/lib/acts_as_messageable/scopes.rb +11 -0
- data/lib/acts_as_messageable.rb +18 -0
- data/lib/generators/acts_as_messageable/migration/migration_generator.rb +4 -0
- data/lib/generators/acts_as_messageable/migration/templates/migration.rb +1 -0
- data/lib/generators/acts_as_messageable/migration/templates/migration_indexes.rb +1 -0
- data/lib/generators/acts_as_messageable/migration/templates/migration_opened_as_datetime.rb +1 -0
- data/lib/generators/acts_as_messageable/migration/templates/migration_permanent.rb +1 -0
- data/sorbet/config +4 -0
- data/sorbet/rbi/annotations/actionpack.rbi +428 -0
- data/sorbet/rbi/annotations/actionview.rbi +77 -0
- data/sorbet/rbi/annotations/activerecord.rbi +18 -0
- data/sorbet/rbi/annotations/activesupport.rbi +52 -0
- data/sorbet/rbi/annotations/faraday.rbi +17 -0
- data/sorbet/rbi/annotations/railties.rbi +58 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/dsl/abstract_controller/caching/fragments.rbi +23 -0
- data/sorbet/rbi/dsl/abstract_controller/caching.rbi +30 -0
- data/sorbet/rbi/dsl/abstract_controller/callbacks.rbi +23 -0
- data/sorbet/rbi/dsl/abstract_controller/helpers.rbi +23 -0
- data/sorbet/rbi/dsl/abstract_controller/rendering.rbi +9 -0
- data/sorbet/rbi/dsl/abstract_controller/url_for.rbi +23 -0
- data/sorbet/rbi/dsl/action_controller/caching.rbi +29 -0
- data/sorbet/rbi/dsl/action_controller/conditional_get.rbi +23 -0
- data/sorbet/rbi/dsl/action_controller/content_security_policy.rbi +31 -0
- data/sorbet/rbi/dsl/action_controller/data_streaming.rbi +9 -0
- data/sorbet/rbi/dsl/action_controller/etag_with_flash.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/etag_with_template_digest.rbi +30 -0
- data/sorbet/rbi/dsl/action_controller/flash.rbi +19 -0
- data/sorbet/rbi/dsl/action_controller/form_builder.rbi +19 -0
- data/sorbet/rbi/dsl/action_controller/helpers.rbi +36 -0
- data/sorbet/rbi/dsl/action_controller/params_wrapper.rbi +23 -0
- data/sorbet/rbi/dsl/action_controller/redirecting.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/renderers/all.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/renderers.rbi +23 -0
- data/sorbet/rbi/dsl/action_controller/request_forgery_protection.rbi +31 -0
- data/sorbet/rbi/dsl/action_controller/rescue.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/test_case/behavior.rbi +24 -0
- data/sorbet/rbi/dsl/action_controller/url_for.rbi +24 -0
- data/sorbet/rbi/dsl/action_dispatch/routing/url_for.rbi +23 -0
- data/sorbet/rbi/dsl/action_view/helpers/form_helper.rbi +10 -0
- data/sorbet/rbi/dsl/action_view/helpers/form_tag_helper.rbi +10 -0
- data/sorbet/rbi/dsl/action_view/helpers/text_helper.rbi +9 -0
- data/sorbet/rbi/dsl/action_view/helpers.rbi +10 -0
- data/sorbet/rbi/dsl/action_view/layouts.rbi +24 -0
- data/sorbet/rbi/dsl/action_view/rendering.rbi +9 -0
- data/sorbet/rbi/dsl/active_model/attribute_methods.rbi +27 -0
- data/sorbet/rbi/dsl/active_model/attributes.rbi +34 -0
- data/sorbet/rbi/dsl/active_model/dirty.rbi +28 -0
- data/sorbet/rbi/dsl/active_model/serializers/json.rbi +22 -0
- data/sorbet/rbi/dsl/active_model/validations/callbacks.rbi +22 -0
- data/sorbet/rbi/dsl/active_model/validations.rbi +27 -0
- data/sorbet/rbi/dsl/active_record/attribute_methods/dirty.rbi +38 -0
- data/sorbet/rbi/dsl/active_record/attribute_methods/time_zone_conversion.rbi +32 -0
- data/sorbet/rbi/dsl/active_record/attribute_methods.rbi +53 -0
- data/sorbet/rbi/dsl/active_record/attributes.rbi +19 -0
- data/sorbet/rbi/dsl/active_record/callbacks.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/core.rbi +55 -0
- data/sorbet/rbi/dsl/active_record/encryption/encryptable_record.rbi +23 -0
- data/sorbet/rbi/dsl/active_record/inheritance.rbi +27 -0
- data/sorbet/rbi/dsl/active_record/integration.rbi +32 -0
- data/sorbet/rbi/dsl/active_record/locking/optimistic.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/model_schema.rbi +52 -0
- data/sorbet/rbi/dsl/active_record/nested_attributes.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/readonly_attributes.rbi +19 -0
- data/sorbet/rbi/dsl/active_record/reflection.rbi +32 -0
- data/sorbet/rbi/dsl/active_record/scoping/default.rbi +23 -0
- data/sorbet/rbi/dsl/active_record/scoping.rbi +23 -0
- data/sorbet/rbi/dsl/active_record/serialization.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/signed_id.rbi +22 -0
- data/sorbet/rbi/dsl/active_record/test_fixtures.rbi +58 -0
- data/sorbet/rbi/dsl/active_record/timestamp.rbi +23 -0
- data/sorbet/rbi/dsl/active_record/validations.rbi +28 -0
- data/sorbet/rbi/dsl/active_support/actionable_error.rbi +23 -0
- data/sorbet/rbi/dsl/active_support/callbacks.rbi +22 -0
- data/sorbet/rbi/dsl/active_support/rescuable.rbi +23 -0
- data/sorbet/rbi/dsl/active_support/testing/file_fixtures.rbi +22 -0
- data/sorbet/rbi/gems/actionpack@7.0.4.3.rbi +19265 -0
- data/sorbet/rbi/gems/actionview@7.0.4.3.rbi +15482 -0
- data/sorbet/rbi/gems/activemodel@7.0.4.3.rbi +6025 -0
- data/sorbet/rbi/gems/activerecord@7.0.4.3.rbi +37852 -0
- data/sorbet/rbi/gems/activesupport@7.0.4.3.rbi +18788 -0
- data/sorbet/rbi/gems/addressable@2.4.0.rbi +8 -0
- data/sorbet/rbi/gems/appraisal@2.4.1.rbi +584 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +8 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3426 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi +11545 -0
- data/sorbet/rbi/gems/coveralls_reborn@0.27.0.rbi +8 -0
- data/sorbet/rbi/gems/crass@1.0.6.rbi +622 -0
- data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1079 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +8 -0
- data/sorbet/rbi/gems/erubi@1.12.0.rbi +146 -0
- data/sorbet/rbi/gems/faraday@0.9.2.rbi +964 -0
- data/sorbet/rbi/gems/git@1.11.0.rbi +2700 -0
- data/sorbet/rbi/gems/github_api@0.16.0.rbi +8 -0
- data/sorbet/rbi/gems/hashie@5.0.0.rbi +8 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
- data/sorbet/rbi/gems/jeweler@2.3.9.rbi +1591 -0
- data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
- data/sorbet/rbi/gems/jwt@2.5.0.rbi +8 -0
- data/sorbet/rbi/gems/loofah@2.19.1.rbi +904 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
- data/sorbet/rbi/gems/mime-types@2.99.3.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.18.0.rbi +1491 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
- data/sorbet/rbi/gems/multi_xml@0.6.0.rbi +8 -0
- data/sorbet/rbi/gems/multipart-post@2.2.3.rbi +8 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/nokogiri@1.14.2.rbi +7244 -0
- data/sorbet/rbi/gems/oauth2@1.4.8.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/pg@1.4.6.rbi +2574 -0
- data/sorbet/rbi/gems/polyfill@1.9.0.rbi +8 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
- data/sorbet/rbi/gems/psych@4.0.6.rbi +1819 -0
- data/sorbet/rbi/gems/racc@1.6.2.rbi +155 -0
- data/sorbet/rbi/gems/rack-test@2.0.2.rbi +943 -0
- data/sorbet/rbi/gems/rack@2.2.6.4.rbi +5659 -0
- data/sorbet/rbi/gems/rails-dom-testing@2.0.3.rbi +455 -0
- data/sorbet/rbi/gems/rails-html-sanitizer@1.5.0.rbi +685 -0
- data/sorbet/rbi/gems/railties@7.0.4.3.rbi +4553 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +2959 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/sorbet/rbi/gems/rbs@2.8.0.rbi +8 -0
- data/sorbet/rbi/gems/rchardet@1.8.0.rbi +1078 -0
- data/sorbet/rbi/gems/rdoc@6.5.0.rbi +12441 -0
- data/sorbet/rbi/gems/regexp_parser@2.7.0.rbi +8 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +8 -0
- data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10798 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.0.rbi +8090 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.0.rbi +5296 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1617 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +88 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +8 -0
- data/sorbet/rbi/gems/safe_type@1.1.1.rbi +8 -0
- data/sorbet/rbi/gems/semver2@3.4.2.rbi +8 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +8 -0
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +8 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/sorbet-coerce@0.7.0.rbi +8 -0
- data/sorbet/rbi/gems/stringio@3.0.2.rbi +8 -0
- data/sorbet/rbi/gems/sync@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/term-ansicolor@1.7.1.rbi +8 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
- data/sorbet/rbi/gems/timecop@0.9.6.rbi +361 -0
- data/sorbet/rbi/gems/tins@1.32.1.rbi +8 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +8 -0
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +4515 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2553 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +17954 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.7.rbi +966 -0
- data/sorbet/rbi/models/acts-as-messageable/message.rbi +668 -0
- data/sorbet/rbi/models/acts-as-messageable/user.rbi +343 -0
- data/sorbet/rbi/rails-rbi/active_record_base.rbi +119 -0
- data/sorbet/rbi/rails-rbi/active_record_relation.rbi +180 -0
- data/sorbet/rbi/shims/activerecord.rbi +4 -0
- data/sorbet/rbi/shims/model.rbi +9 -0
- data/sorbet/tapioca/config.yml +10 -0
- data/sorbet/tapioca/pre_require.rb +5 -0
- data/sorbet/tapioca/require.rb +10 -0
- data/spec/acts_as_messageable_spec.rb +7 -4
- data/spec/custom_class_spec.rb +1 -0
- data/spec/custom_required_spec.rb +8 -4
- data/spec/group_messages_spec.rb +1 -0
- data/spec/migrations_spec.rb +2 -1
- data/spec/spec_helper.rb +19 -9
- data/spec/support/admin.rb +3 -0
- data/spec/support/custom_message.rb +3 -0
- data/spec/support/custom_message_uuid.rb +1 -0
- data/spec/support/custom_search_user.rb +3 -0
- data/spec/support/men.rb +1 -0
- data/spec/support/send_message.rb +8 -1
- data/spec/support/table_schema.rb +7 -6
- data/spec/support/user.rb +3 -0
- data/spec/support/uuid_user.rb +3 -0
- data/tasks/types.rake +46 -0
- metadata +261 -11
- data/.travis.yml +0 -55
@@ -0,0 +1,1591 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `jeweler` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem jeweler`.
|
6
|
+
|
7
|
+
# A Jeweler helps you craft the perfect Rubygem. Give him a gemspec, and he takes care of the rest.
|
8
|
+
#
|
9
|
+
# See Jeweler::Tasks for examples of how to get started. Additionally, resources are available on the wiki:
|
10
|
+
#
|
11
|
+
# * http://wiki.github.com/technicalpickles/jeweler/create-a-new-project
|
12
|
+
# * http://wiki.github.com/technicalpickles/jeweler/configure-an-existing-project
|
13
|
+
#
|
14
|
+
# source://jeweler//lib/jeweler/version.rb#1
|
15
|
+
class Jeweler
|
16
|
+
# @raise [GemspecError]
|
17
|
+
# @return [Jeweler] a new instance of Jeweler
|
18
|
+
#
|
19
|
+
# source://jeweler//lib/jeweler.rb#32
|
20
|
+
def initialize(gemspec, base_dir = T.unsafe(nil)); end
|
21
|
+
|
22
|
+
# Returns the value of attribute base_dir.
|
23
|
+
#
|
24
|
+
# source://jeweler//lib/jeweler.rb#30
|
25
|
+
def base_dir; end
|
26
|
+
|
27
|
+
# Sets the attribute base_dir
|
28
|
+
#
|
29
|
+
# @param value the value to set the attribute base_dir to.
|
30
|
+
#
|
31
|
+
# source://jeweler//lib/jeweler.rb#30
|
32
|
+
def base_dir=(_arg0); end
|
33
|
+
|
34
|
+
# Build a gem using the project's latest Gem::Specification
|
35
|
+
#
|
36
|
+
# source://jeweler//lib/jeweler.rb#87
|
37
|
+
def build_gem; end
|
38
|
+
|
39
|
+
# Bumps the major version.
|
40
|
+
#
|
41
|
+
# 1.5.1 -> 2.0.0
|
42
|
+
#
|
43
|
+
# source://jeweler//lib/jeweler.rb#113
|
44
|
+
def bump_major_version; end
|
45
|
+
|
46
|
+
# Bumps the minor version.
|
47
|
+
#
|
48
|
+
# 1.5.1 -> 1.6.0
|
49
|
+
#
|
50
|
+
# source://jeweler//lib/jeweler.rb#106
|
51
|
+
def bump_minor_version; end
|
52
|
+
|
53
|
+
# Bumps the patch version.
|
54
|
+
#
|
55
|
+
# 1.5.1 -> 1.5.2
|
56
|
+
#
|
57
|
+
# source://jeweler//lib/jeweler.rb#99
|
58
|
+
def bump_patch_version; end
|
59
|
+
|
60
|
+
# source://jeweler//lib/jeweler.rb#148
|
61
|
+
def check_dependencies(type = T.unsafe(nil)); end
|
62
|
+
|
63
|
+
# Returns the value of attribute commit.
|
64
|
+
#
|
65
|
+
# source://jeweler//lib/jeweler.rb#30
|
66
|
+
def commit; end
|
67
|
+
|
68
|
+
# Sets the attribute commit
|
69
|
+
#
|
70
|
+
# @param value the value to set the attribute commit to.
|
71
|
+
#
|
72
|
+
# source://jeweler//lib/jeweler.rb#30
|
73
|
+
def commit=(_arg0); end
|
74
|
+
|
75
|
+
# @return [Boolean]
|
76
|
+
#
|
77
|
+
# source://jeweler//lib/jeweler.rb#174
|
78
|
+
def expects_version_file?; end
|
79
|
+
|
80
|
+
# Returns the value of attribute gemspec.
|
81
|
+
#
|
82
|
+
# source://jeweler//lib/jeweler.rb#29
|
83
|
+
def gemspec; end
|
84
|
+
|
85
|
+
# Returns the value of attribute gemspec_helper.
|
86
|
+
#
|
87
|
+
# source://jeweler//lib/jeweler.rb#29
|
88
|
+
def gemspec_helper; end
|
89
|
+
|
90
|
+
# source://jeweler//lib/jeweler.rb#155
|
91
|
+
def git_base_dir(base_dir = T.unsafe(nil)); end
|
92
|
+
|
93
|
+
# @return [Boolean]
|
94
|
+
#
|
95
|
+
# source://jeweler//lib/jeweler.rb#166
|
96
|
+
def in_git_repo?; end
|
97
|
+
|
98
|
+
# Install a previously built gem
|
99
|
+
#
|
100
|
+
# source://jeweler//lib/jeweler.rb#92
|
101
|
+
def install_gem; end
|
102
|
+
|
103
|
+
# Major version, as defined by the gemspec's Version module.
|
104
|
+
# For 1.5.3, this would return 1.
|
105
|
+
#
|
106
|
+
# source://jeweler//lib/jeweler.rb#49
|
107
|
+
def major_version; end
|
108
|
+
|
109
|
+
# Minor version, as defined by the gemspec's Version module.
|
110
|
+
# For 1.5.3, this would return 5.
|
111
|
+
#
|
112
|
+
# source://jeweler//lib/jeweler.rb#55
|
113
|
+
def minor_version; end
|
114
|
+
|
115
|
+
# Returns the value of attribute output.
|
116
|
+
#
|
117
|
+
# source://jeweler//lib/jeweler.rb#30
|
118
|
+
def output; end
|
119
|
+
|
120
|
+
# Sets the attribute output
|
121
|
+
#
|
122
|
+
# @param value the value to set the attribute output to.
|
123
|
+
#
|
124
|
+
# source://jeweler//lib/jeweler.rb#30
|
125
|
+
def output=(_arg0); end
|
126
|
+
|
127
|
+
# Patch version, as defined by the gemspec's Version module.
|
128
|
+
# For 1.5.3, this would return 5.
|
129
|
+
#
|
130
|
+
# source://jeweler//lib/jeweler.rb#61
|
131
|
+
def patch_version; end
|
132
|
+
|
133
|
+
# source://jeweler//lib/jeweler.rb#140
|
134
|
+
def release_gem_to_rubyforge; end
|
135
|
+
|
136
|
+
# source://jeweler//lib/jeweler.rb#136
|
137
|
+
def release_gem_to_rubygems; end
|
138
|
+
|
139
|
+
# source://jeweler//lib/jeweler.rb#128
|
140
|
+
def release_gemspec(args); end
|
141
|
+
|
142
|
+
# source://jeweler//lib/jeweler.rb#132
|
143
|
+
def release_to_git(args); end
|
144
|
+
|
145
|
+
# Returns the value of attribute repo.
|
146
|
+
#
|
147
|
+
# source://jeweler//lib/jeweler.rb#30
|
148
|
+
def repo; end
|
149
|
+
|
150
|
+
# Sets the attribute repo
|
151
|
+
#
|
152
|
+
# @param value the value to set the attribute repo to.
|
153
|
+
#
|
154
|
+
# source://jeweler//lib/jeweler.rb#30
|
155
|
+
def repo=(_arg0); end
|
156
|
+
|
157
|
+
# source://jeweler//lib/jeweler.rb#144
|
158
|
+
def setup_rubyforge; end
|
159
|
+
|
160
|
+
# is the project's gemspec from disk valid?
|
161
|
+
#
|
162
|
+
# @return [Boolean]
|
163
|
+
#
|
164
|
+
# source://jeweler//lib/jeweler.rb#82
|
165
|
+
def valid_gemspec?; end
|
166
|
+
|
167
|
+
# Validates the project's gemspec from disk in an environment similar to how
|
168
|
+
# GitHub would build from it. See http://gist.github.com/16215
|
169
|
+
#
|
170
|
+
# source://jeweler//lib/jeweler.rb#77
|
171
|
+
def validate_gemspec; end
|
172
|
+
|
173
|
+
# Human readable version, which is used in the gemspec.
|
174
|
+
#
|
175
|
+
# source://jeweler//lib/jeweler.rb#66
|
176
|
+
def version; end
|
177
|
+
|
178
|
+
# @return [Boolean]
|
179
|
+
#
|
180
|
+
# source://jeweler//lib/jeweler.rb#170
|
181
|
+
def version_file_exist?; end
|
182
|
+
|
183
|
+
# Returns the value of attribute version_helper.
|
184
|
+
#
|
185
|
+
# source://jeweler//lib/jeweler.rb#29
|
186
|
+
def version_helper; end
|
187
|
+
|
188
|
+
# Writes out the gemspec
|
189
|
+
#
|
190
|
+
# source://jeweler//lib/jeweler.rb#71
|
191
|
+
def write_gemspec; end
|
192
|
+
|
193
|
+
# Bumps the version, to the specific major/minor/patch version, writing out the appropriate version.rb, and then reloads it.
|
194
|
+
#
|
195
|
+
# source://jeweler//lib/jeweler.rb#118
|
196
|
+
def write_version(major, minor, patch, build, _options = T.unsafe(nil)); end
|
197
|
+
end
|
198
|
+
|
199
|
+
# source://jeweler//lib/jeweler/commands.rb#2
|
200
|
+
module Jeweler::Commands; end
|
201
|
+
|
202
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#3
|
203
|
+
class Jeweler::Commands::BuildGem
|
204
|
+
# @return [BuildGem] a new instance of BuildGem
|
205
|
+
#
|
206
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#6
|
207
|
+
def initialize; end
|
208
|
+
|
209
|
+
# Returns the value of attribute base_dir.
|
210
|
+
#
|
211
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#4
|
212
|
+
def base_dir; end
|
213
|
+
|
214
|
+
# Sets the attribute base_dir
|
215
|
+
#
|
216
|
+
# @param value the value to set the attribute base_dir to.
|
217
|
+
#
|
218
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#4
|
219
|
+
def base_dir=(_arg0); end
|
220
|
+
|
221
|
+
# Returns the value of attribute file_utils.
|
222
|
+
#
|
223
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#4
|
224
|
+
def file_utils; end
|
225
|
+
|
226
|
+
# Sets the attribute file_utils
|
227
|
+
#
|
228
|
+
# @param value the value to set the attribute file_utils to.
|
229
|
+
#
|
230
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#4
|
231
|
+
def file_utils=(_arg0); end
|
232
|
+
|
233
|
+
# Returns the value of attribute gemspec_helper.
|
234
|
+
#
|
235
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#4
|
236
|
+
def gemspec_helper; end
|
237
|
+
|
238
|
+
# Sets the attribute gemspec_helper
|
239
|
+
#
|
240
|
+
# @param value the value to set the attribute gemspec_helper to.
|
241
|
+
#
|
242
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#4
|
243
|
+
def gemspec_helper=(_arg0); end
|
244
|
+
|
245
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#10
|
246
|
+
def run; end
|
247
|
+
|
248
|
+
# Returns the value of attribute version_helper.
|
249
|
+
#
|
250
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#4
|
251
|
+
def version_helper; end
|
252
|
+
|
253
|
+
# Sets the attribute version_helper
|
254
|
+
#
|
255
|
+
# @param value the value to set the attribute version_helper to.
|
256
|
+
#
|
257
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#4
|
258
|
+
def version_helper=(_arg0); end
|
259
|
+
|
260
|
+
class << self
|
261
|
+
# source://jeweler//lib/jeweler/commands/build_gem.rb#29
|
262
|
+
def build_for(jeweler); end
|
263
|
+
end
|
264
|
+
end
|
265
|
+
|
266
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#3
|
267
|
+
class Jeweler::Commands::CheckDependencies
|
268
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#48
|
269
|
+
def dependencies; end
|
270
|
+
|
271
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#25
|
272
|
+
def find_missing_dependencies; end
|
273
|
+
|
274
|
+
# Returns the value of attribute gemspec.
|
275
|
+
#
|
276
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#8
|
277
|
+
def gemspec; end
|
278
|
+
|
279
|
+
# Sets the attribute gemspec
|
280
|
+
#
|
281
|
+
# @param value the value to set the attribute gemspec to.
|
282
|
+
#
|
283
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#8
|
284
|
+
def gemspec=(_arg0); end
|
285
|
+
|
286
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#10
|
287
|
+
def run; end
|
288
|
+
|
289
|
+
# Returns the value of attribute type.
|
290
|
+
#
|
291
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#8
|
292
|
+
def type; end
|
293
|
+
|
294
|
+
# Sets the attribute type
|
295
|
+
#
|
296
|
+
# @param value the value to set the attribute type to.
|
297
|
+
#
|
298
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#8
|
299
|
+
def type=(_arg0); end
|
300
|
+
|
301
|
+
class << self
|
302
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#57
|
303
|
+
def build_for(jeweler); end
|
304
|
+
end
|
305
|
+
end
|
306
|
+
|
307
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#4
|
308
|
+
class Jeweler::Commands::CheckDependencies::MissingDependenciesError < ::RuntimeError
|
309
|
+
# Returns the value of attribute dependencies.
|
310
|
+
#
|
311
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#5
|
312
|
+
def dependencies; end
|
313
|
+
|
314
|
+
# Sets the attribute dependencies
|
315
|
+
#
|
316
|
+
# @param value the value to set the attribute dependencies to.
|
317
|
+
#
|
318
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#5
|
319
|
+
def dependencies=(_arg0); end
|
320
|
+
|
321
|
+
# Returns the value of attribute type.
|
322
|
+
#
|
323
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#5
|
324
|
+
def type; end
|
325
|
+
|
326
|
+
# Sets the attribute type
|
327
|
+
#
|
328
|
+
# @param value the value to set the attribute type to.
|
329
|
+
#
|
330
|
+
# source://jeweler//lib/jeweler/commands/check_dependencies.rb#5
|
331
|
+
def type=(_arg0); end
|
332
|
+
end
|
333
|
+
|
334
|
+
# source://jeweler//lib/jeweler/commands/install_gem.rb#3
|
335
|
+
class Jeweler::Commands::InstallGem
|
336
|
+
include ::FileUtils::StreamUtils_
|
337
|
+
include ::FileUtils
|
338
|
+
|
339
|
+
# @return [InstallGem] a new instance of InstallGem
|
340
|
+
#
|
341
|
+
# source://jeweler//lib/jeweler/commands/install_gem.rb#8
|
342
|
+
def initialize; end
|
343
|
+
|
344
|
+
# source://jeweler//lib/jeweler/commands/install_gem.rb#19
|
345
|
+
def gem_command; end
|
346
|
+
|
347
|
+
# Returns the value of attribute gemspec_helper.
|
348
|
+
#
|
349
|
+
# source://jeweler//lib/jeweler/commands/install_gem.rb#6
|
350
|
+
def gemspec_helper; end
|
351
|
+
|
352
|
+
# Sets the attribute gemspec_helper
|
353
|
+
#
|
354
|
+
# @param value the value to set the attribute gemspec_helper to.
|
355
|
+
#
|
356
|
+
# source://jeweler//lib/jeweler/commands/install_gem.rb#6
|
357
|
+
def gemspec_helper=(_arg0); end
|
358
|
+
|
359
|
+
# Returns the value of attribute output.
|
360
|
+
#
|
361
|
+
# source://jeweler//lib/jeweler/commands/install_gem.rb#6
|
362
|
+
def output; end
|
363
|
+
|
364
|
+
# Sets the attribute output
|
365
|
+
#
|
366
|
+
# @param value the value to set the attribute output to.
|
367
|
+
#
|
368
|
+
# source://jeweler//lib/jeweler/commands/install_gem.rb#6
|
369
|
+
def output=(_arg0); end
|
370
|
+
|
371
|
+
# source://jeweler//lib/jeweler/commands/install_gem.rb#12
|
372
|
+
def run; end
|
373
|
+
|
374
|
+
class << self
|
375
|
+
# source://jeweler//lib/jeweler/commands/install_gem.rb#23
|
376
|
+
def build_for(jeweler); end
|
377
|
+
end
|
378
|
+
end
|
379
|
+
|
380
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#5
|
381
|
+
class Jeweler::Commands::ReleaseGemspec
|
382
|
+
# @return [ReleaseGemspec] a new instance of ReleaseGemspec
|
383
|
+
#
|
384
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#9
|
385
|
+
def initialize(attributes = T.unsafe(nil)); end
|
386
|
+
|
387
|
+
# Returns the value of attribute base_dir.
|
388
|
+
#
|
389
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
390
|
+
def base_dir; end
|
391
|
+
|
392
|
+
# Sets the attribute base_dir
|
393
|
+
#
|
394
|
+
# @param value the value to set the attribute base_dir to.
|
395
|
+
#
|
396
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
397
|
+
def base_dir=(_arg0); end
|
398
|
+
|
399
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#67
|
400
|
+
def base_dir_path; end
|
401
|
+
|
402
|
+
# @return [Boolean]
|
403
|
+
#
|
404
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#37
|
405
|
+
def clean_staging_area?; end
|
406
|
+
|
407
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#42
|
408
|
+
def commit_gemspec!; end
|
409
|
+
|
410
|
+
# Returns the value of attribute gemspec.
|
411
|
+
#
|
412
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
413
|
+
def gemspec; end
|
414
|
+
|
415
|
+
# Sets the attribute gemspec
|
416
|
+
#
|
417
|
+
# @param value the value to set the attribute gemspec to.
|
418
|
+
#
|
419
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
420
|
+
def gemspec=(_arg0); end
|
421
|
+
|
422
|
+
# @return [Boolean]
|
423
|
+
#
|
424
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#54
|
425
|
+
def gemspec_changed?; end
|
426
|
+
|
427
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#59
|
428
|
+
def gemspec_helper; end
|
429
|
+
|
430
|
+
# Sets the attribute gemspec_helper
|
431
|
+
#
|
432
|
+
# @param value the value to set the attribute gemspec_helper to.
|
433
|
+
#
|
434
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#7
|
435
|
+
def gemspec_helper=(_arg0); end
|
436
|
+
|
437
|
+
# Returns the value of attribute output.
|
438
|
+
#
|
439
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
440
|
+
def output; end
|
441
|
+
|
442
|
+
# Sets the attribute output
|
443
|
+
#
|
444
|
+
# @param value the value to set the attribute output to.
|
445
|
+
#
|
446
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
447
|
+
def output=(_arg0); end
|
448
|
+
|
449
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#49
|
450
|
+
def regenerate_gemspec!; end
|
451
|
+
|
452
|
+
# Returns the value of attribute repo.
|
453
|
+
#
|
454
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
455
|
+
def repo; end
|
456
|
+
|
457
|
+
# Sets the attribute repo
|
458
|
+
#
|
459
|
+
# @param value the value to set the attribute repo to.
|
460
|
+
#
|
461
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
462
|
+
def repo=(_arg0); end
|
463
|
+
|
464
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#17
|
465
|
+
def run(args = T.unsafe(nil)); end
|
466
|
+
|
467
|
+
# Returns the value of attribute version.
|
468
|
+
#
|
469
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
470
|
+
def version; end
|
471
|
+
|
472
|
+
# Sets the attribute version
|
473
|
+
#
|
474
|
+
# @param value the value to set the attribute version to.
|
475
|
+
#
|
476
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#6
|
477
|
+
def version=(_arg0); end
|
478
|
+
|
479
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#63
|
480
|
+
def working_subdir; end
|
481
|
+
|
482
|
+
class << self
|
483
|
+
# source://jeweler//lib/jeweler/commands/release_gemspec.rb#71
|
484
|
+
def build_for(jeweler); end
|
485
|
+
end
|
486
|
+
end
|
487
|
+
|
488
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#3
|
489
|
+
class Jeweler::Commands::ReleaseToGit
|
490
|
+
# @return [ReleaseToGit] a new instance of ReleaseToGit
|
491
|
+
#
|
492
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#6
|
493
|
+
def initialize(attributes = T.unsafe(nil)); end
|
494
|
+
|
495
|
+
# Returns the value of attribute base_dir.
|
496
|
+
#
|
497
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
498
|
+
def base_dir; end
|
499
|
+
|
500
|
+
# Sets the attribute base_dir
|
501
|
+
#
|
502
|
+
# @param value the value to set the attribute base_dir to.
|
503
|
+
#
|
504
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
505
|
+
def base_dir=(_arg0); end
|
506
|
+
|
507
|
+
# @return [Boolean]
|
508
|
+
#
|
509
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#37
|
510
|
+
def clean_staging_area?; end
|
511
|
+
|
512
|
+
# Returns the value of attribute gemspec.
|
513
|
+
#
|
514
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
515
|
+
def gemspec; end
|
516
|
+
|
517
|
+
# Sets the attribute gemspec
|
518
|
+
#
|
519
|
+
# @param value the value to set the attribute gemspec to.
|
520
|
+
#
|
521
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
522
|
+
def gemspec=(_arg0); end
|
523
|
+
|
524
|
+
# Returns the value of attribute gemspec_helper.
|
525
|
+
#
|
526
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
527
|
+
def gemspec_helper; end
|
528
|
+
|
529
|
+
# Sets the attribute gemspec_helper
|
530
|
+
#
|
531
|
+
# @param value the value to set the attribute gemspec_helper to.
|
532
|
+
#
|
533
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
534
|
+
def gemspec_helper=(_arg0); end
|
535
|
+
|
536
|
+
# Returns the value of attribute output.
|
537
|
+
#
|
538
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
539
|
+
def output; end
|
540
|
+
|
541
|
+
# Sets the attribute output
|
542
|
+
#
|
543
|
+
# @param value the value to set the attribute output to.
|
544
|
+
#
|
545
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
546
|
+
def output=(_arg0); end
|
547
|
+
|
548
|
+
# @return [Boolean]
|
549
|
+
#
|
550
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#45
|
551
|
+
def release_not_tagged?; end
|
552
|
+
|
553
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#41
|
554
|
+
def release_tag; end
|
555
|
+
|
556
|
+
# Returns the value of attribute repo.
|
557
|
+
#
|
558
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
559
|
+
def repo; end
|
560
|
+
|
561
|
+
# Sets the attribute repo
|
562
|
+
#
|
563
|
+
# @param value the value to set the attribute repo to.
|
564
|
+
#
|
565
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
566
|
+
def repo=(_arg0); end
|
567
|
+
|
568
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#14
|
569
|
+
def run(args = T.unsafe(nil)); end
|
570
|
+
|
571
|
+
# Returns the value of attribute version.
|
572
|
+
#
|
573
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
574
|
+
def version; end
|
575
|
+
|
576
|
+
# Sets the attribute version
|
577
|
+
#
|
578
|
+
# @param value the value to set the attribute version to.
|
579
|
+
#
|
580
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#4
|
581
|
+
def version=(_arg0); end
|
582
|
+
|
583
|
+
class << self
|
584
|
+
# source://jeweler//lib/jeweler/commands/release_to_git.rb#54
|
585
|
+
def build_for(jeweler); end
|
586
|
+
end
|
587
|
+
end
|
588
|
+
|
589
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#3
|
590
|
+
class Jeweler::Commands::ReleaseToRubygems
|
591
|
+
include ::FileUtils::StreamUtils_
|
592
|
+
include ::FileUtils
|
593
|
+
|
594
|
+
# @return [ReleaseToRubygems] a new instance of ReleaseToRubygems
|
595
|
+
#
|
596
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#8
|
597
|
+
def initialize; end
|
598
|
+
|
599
|
+
# Returns the value of attribute gemspec.
|
600
|
+
#
|
601
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#6
|
602
|
+
def gemspec; end
|
603
|
+
|
604
|
+
# Sets the attribute gemspec
|
605
|
+
#
|
606
|
+
# @param value the value to set the attribute gemspec to.
|
607
|
+
#
|
608
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#6
|
609
|
+
def gemspec=(_arg0); end
|
610
|
+
|
611
|
+
# Returns the value of attribute gemspec_helper.
|
612
|
+
#
|
613
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#6
|
614
|
+
def gemspec_helper; end
|
615
|
+
|
616
|
+
# Sets the attribute gemspec_helper
|
617
|
+
#
|
618
|
+
# @param value the value to set the attribute gemspec_helper to.
|
619
|
+
#
|
620
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#6
|
621
|
+
def gemspec_helper=(_arg0); end
|
622
|
+
|
623
|
+
# Returns the value of attribute output.
|
624
|
+
#
|
625
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#6
|
626
|
+
def output; end
|
627
|
+
|
628
|
+
# Sets the attribute output
|
629
|
+
#
|
630
|
+
# @param value the value to set the attribute output to.
|
631
|
+
#
|
632
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#6
|
633
|
+
def output=(_arg0); end
|
634
|
+
|
635
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#12
|
636
|
+
def run; end
|
637
|
+
|
638
|
+
# Returns the value of attribute version.
|
639
|
+
#
|
640
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#6
|
641
|
+
def version; end
|
642
|
+
|
643
|
+
# Sets the attribute version
|
644
|
+
#
|
645
|
+
# @param value the value to set the attribute version to.
|
646
|
+
#
|
647
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#6
|
648
|
+
def version=(_arg0); end
|
649
|
+
|
650
|
+
class << self
|
651
|
+
# source://jeweler//lib/jeweler/commands/release_to_rubygems.rb#18
|
652
|
+
def build_for(jeweler); end
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
# source://jeweler//lib/jeweler/commands/validate_gemspec.rb#3
|
657
|
+
class Jeweler::Commands::ValidateGemspec
|
658
|
+
# @return [ValidateGemspec] a new instance of ValidateGemspec
|
659
|
+
#
|
660
|
+
# source://jeweler//lib/jeweler/commands/validate_gemspec.rb#6
|
661
|
+
def initialize; end
|
662
|
+
|
663
|
+
# Returns the value of attribute gemspec_helper.
|
664
|
+
#
|
665
|
+
# source://jeweler//lib/jeweler/commands/validate_gemspec.rb#4
|
666
|
+
def gemspec_helper; end
|
667
|
+
|
668
|
+
# Sets the attribute gemspec_helper
|
669
|
+
#
|
670
|
+
# @param value the value to set the attribute gemspec_helper to.
|
671
|
+
#
|
672
|
+
# source://jeweler//lib/jeweler/commands/validate_gemspec.rb#4
|
673
|
+
def gemspec_helper=(_arg0); end
|
674
|
+
|
675
|
+
# Returns the value of attribute output.
|
676
|
+
#
|
677
|
+
# source://jeweler//lib/jeweler/commands/validate_gemspec.rb#4
|
678
|
+
def output; end
|
679
|
+
|
680
|
+
# Sets the attribute output
|
681
|
+
#
|
682
|
+
# @param value the value to set the attribute output to.
|
683
|
+
#
|
684
|
+
# source://jeweler//lib/jeweler/commands/validate_gemspec.rb#4
|
685
|
+
def output=(_arg0); end
|
686
|
+
|
687
|
+
# source://jeweler//lib/jeweler/commands/validate_gemspec.rb#10
|
688
|
+
def run; end
|
689
|
+
|
690
|
+
class << self
|
691
|
+
# source://jeweler//lib/jeweler/commands/validate_gemspec.rb#18
|
692
|
+
def build_for(jeweler); end
|
693
|
+
end
|
694
|
+
end
|
695
|
+
|
696
|
+
# source://jeweler//lib/jeweler/commands.rb#12
|
697
|
+
module Jeweler::Commands::Version; end
|
698
|
+
|
699
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#6
|
700
|
+
class Jeweler::Commands::Version::Base
|
701
|
+
# Returns the value of attribute base_dir.
|
702
|
+
#
|
703
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
704
|
+
def base_dir; end
|
705
|
+
|
706
|
+
# Sets the attribute base_dir
|
707
|
+
#
|
708
|
+
# @param value the value to set the attribute base_dir to.
|
709
|
+
#
|
710
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
711
|
+
def base_dir=(_arg0); end
|
712
|
+
|
713
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#33
|
714
|
+
def base_dir_path; end
|
715
|
+
|
716
|
+
# Returns the value of attribute commit.
|
717
|
+
#
|
718
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
719
|
+
def commit; end
|
720
|
+
|
721
|
+
# Sets the attribute commit
|
722
|
+
#
|
723
|
+
# @param value the value to set the attribute commit to.
|
724
|
+
#
|
725
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
726
|
+
def commit=(_arg0); end
|
727
|
+
|
728
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#22
|
729
|
+
def commit_version; end
|
730
|
+
|
731
|
+
# Returns the value of attribute gemspec.
|
732
|
+
#
|
733
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
734
|
+
def gemspec; end
|
735
|
+
|
736
|
+
# Sets the attribute gemspec
|
737
|
+
#
|
738
|
+
# @param value the value to set the attribute gemspec to.
|
739
|
+
#
|
740
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
741
|
+
def gemspec=(_arg0); end
|
742
|
+
|
743
|
+
# Returns the value of attribute repo.
|
744
|
+
#
|
745
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
746
|
+
def repo; end
|
747
|
+
|
748
|
+
# Sets the attribute repo
|
749
|
+
#
|
750
|
+
# @param value the value to set the attribute repo to.
|
751
|
+
#
|
752
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
753
|
+
def repo=(_arg0); end
|
754
|
+
|
755
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#9
|
756
|
+
def run; end
|
757
|
+
|
758
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#18
|
759
|
+
def update_version; end
|
760
|
+
|
761
|
+
# Returns the value of attribute version_helper.
|
762
|
+
#
|
763
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
764
|
+
def version_helper; end
|
765
|
+
|
766
|
+
# Sets the attribute version_helper
|
767
|
+
#
|
768
|
+
# @param value the value to set the attribute version_helper to.
|
769
|
+
#
|
770
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#7
|
771
|
+
def version_helper=(_arg0); end
|
772
|
+
|
773
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#29
|
774
|
+
def working_subdir; end
|
775
|
+
|
776
|
+
class << self
|
777
|
+
# source://jeweler//lib/jeweler/commands/version/base.rb#37
|
778
|
+
def build_for(jeweler); end
|
779
|
+
end
|
780
|
+
end
|
781
|
+
|
782
|
+
# source://jeweler//lib/jeweler/commands/version/bump_major.rb#4
|
783
|
+
class Jeweler::Commands::Version::BumpMajor < ::Jeweler::Commands::Version::Base
|
784
|
+
# source://jeweler//lib/jeweler/commands/version/bump_major.rb#5
|
785
|
+
def update_version; end
|
786
|
+
end
|
787
|
+
|
788
|
+
# source://jeweler//lib/jeweler/commands/version/bump_minor.rb#4
|
789
|
+
class Jeweler::Commands::Version::BumpMinor < ::Jeweler::Commands::Version::Base
|
790
|
+
# source://jeweler//lib/jeweler/commands/version/bump_minor.rb#5
|
791
|
+
def update_version; end
|
792
|
+
end
|
793
|
+
|
794
|
+
# source://jeweler//lib/jeweler/commands/version/bump_patch.rb#4
|
795
|
+
class Jeweler::Commands::Version::BumpPatch < ::Jeweler::Commands::Version::Base
|
796
|
+
# source://jeweler//lib/jeweler/commands/version/bump_patch.rb#5
|
797
|
+
def update_version; end
|
798
|
+
end
|
799
|
+
|
800
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#4
|
801
|
+
class Jeweler::Commands::Version::Write < ::Jeweler::Commands::Version::Base
|
802
|
+
# Returns the value of attribute build.
|
803
|
+
#
|
804
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#5
|
805
|
+
def build; end
|
806
|
+
|
807
|
+
# Sets the attribute build
|
808
|
+
#
|
809
|
+
# @param value the value to set the attribute build to.
|
810
|
+
#
|
811
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#5
|
812
|
+
def build=(_arg0); end
|
813
|
+
|
814
|
+
# Returns the value of attribute major.
|
815
|
+
#
|
816
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#5
|
817
|
+
def major; end
|
818
|
+
|
819
|
+
# Sets the attribute major
|
820
|
+
#
|
821
|
+
# @param value the value to set the attribute major to.
|
822
|
+
#
|
823
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#5
|
824
|
+
def major=(_arg0); end
|
825
|
+
|
826
|
+
# Returns the value of attribute minor.
|
827
|
+
#
|
828
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#5
|
829
|
+
def minor; end
|
830
|
+
|
831
|
+
# Sets the attribute minor
|
832
|
+
#
|
833
|
+
# @param value the value to set the attribute minor to.
|
834
|
+
#
|
835
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#5
|
836
|
+
def minor=(_arg0); end
|
837
|
+
|
838
|
+
# Returns the value of attribute patch.
|
839
|
+
#
|
840
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#5
|
841
|
+
def patch; end
|
842
|
+
|
843
|
+
# Sets the attribute patch
|
844
|
+
#
|
845
|
+
# @param value the value to set the attribute patch to.
|
846
|
+
#
|
847
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#5
|
848
|
+
def patch=(_arg0); end
|
849
|
+
|
850
|
+
# source://jeweler//lib/jeweler/commands/version/write.rb#6
|
851
|
+
def update_version; end
|
852
|
+
end
|
853
|
+
|
854
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#3
|
855
|
+
class Jeweler::Commands::WriteGemspec
|
856
|
+
# @return [WriteGemspec] a new instance of WriteGemspec
|
857
|
+
#
|
858
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#7
|
859
|
+
def initialize; end
|
860
|
+
|
861
|
+
# Returns the value of attribute base_dir.
|
862
|
+
#
|
863
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
864
|
+
def base_dir; end
|
865
|
+
|
866
|
+
# Sets the attribute base_dir
|
867
|
+
#
|
868
|
+
# @param value the value to set the attribute base_dir to.
|
869
|
+
#
|
870
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
871
|
+
def base_dir=(_arg0); end
|
872
|
+
|
873
|
+
# Returns the value of attribute gemspec.
|
874
|
+
#
|
875
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
876
|
+
def gemspec; end
|
877
|
+
|
878
|
+
# Sets the attribute gemspec
|
879
|
+
#
|
880
|
+
# @param value the value to set the attribute gemspec to.
|
881
|
+
#
|
882
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
883
|
+
def gemspec=(_arg0); end
|
884
|
+
|
885
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#22
|
886
|
+
def gemspec_helper; end
|
887
|
+
|
888
|
+
# Sets the attribute gemspec_helper
|
889
|
+
#
|
890
|
+
# @param value the value to set the attribute gemspec_helper to.
|
891
|
+
#
|
892
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#5
|
893
|
+
def gemspec_helper=(_arg0); end
|
894
|
+
|
895
|
+
# Returns the value of attribute output.
|
896
|
+
#
|
897
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
898
|
+
def output; end
|
899
|
+
|
900
|
+
# Sets the attribute output
|
901
|
+
#
|
902
|
+
# @param value the value to set the attribute output to.
|
903
|
+
#
|
904
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
905
|
+
def output=(_arg0); end
|
906
|
+
|
907
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#11
|
908
|
+
def run; end
|
909
|
+
|
910
|
+
# Returns the value of attribute version.
|
911
|
+
#
|
912
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
913
|
+
def version; end
|
914
|
+
|
915
|
+
# Sets the attribute version
|
916
|
+
#
|
917
|
+
# @param value the value to set the attribute version to.
|
918
|
+
#
|
919
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
920
|
+
def version=(_arg0); end
|
921
|
+
|
922
|
+
# Returns the value of attribute version_helper.
|
923
|
+
#
|
924
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
925
|
+
def version_helper; end
|
926
|
+
|
927
|
+
# Sets the attribute version_helper
|
928
|
+
#
|
929
|
+
# @param value the value to set the attribute version_helper to.
|
930
|
+
#
|
931
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#4
|
932
|
+
def version_helper=(_arg0); end
|
933
|
+
|
934
|
+
class << self
|
935
|
+
# source://jeweler//lib/jeweler/commands/write_gemspec.rb#26
|
936
|
+
def build_for(jeweler); end
|
937
|
+
end
|
938
|
+
end
|
939
|
+
|
940
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#2
|
941
|
+
class Jeweler::GemSpecHelper
|
942
|
+
# @return [GemSpecHelper] a new instance of GemSpecHelper
|
943
|
+
# @yield [spec]
|
944
|
+
#
|
945
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#5
|
946
|
+
def initialize(spec, base_dir = T.unsafe(nil)); end
|
947
|
+
|
948
|
+
# Returns the value of attribute base_dir.
|
949
|
+
#
|
950
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#3
|
951
|
+
def base_dir; end
|
952
|
+
|
953
|
+
# Sets the attribute base_dir
|
954
|
+
#
|
955
|
+
# @param value the value to set the attribute base_dir to.
|
956
|
+
#
|
957
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#3
|
958
|
+
def base_dir=(_arg0); end
|
959
|
+
|
960
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#74
|
961
|
+
def gem_path; end
|
962
|
+
|
963
|
+
# Checks whether it uses the version helper or the users defined version.
|
964
|
+
#
|
965
|
+
# @return [Boolean]
|
966
|
+
#
|
967
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#83
|
968
|
+
def has_version?; end
|
969
|
+
|
970
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#55
|
971
|
+
def normalize_files(array_attribute); end
|
972
|
+
|
973
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#48
|
974
|
+
def parse; end
|
975
|
+
|
976
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#40
|
977
|
+
def path; end
|
978
|
+
|
979
|
+
# Adds extra space when outputting an array. This helps create better version control diffs, because otherwise it is all on the same line.
|
980
|
+
#
|
981
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#66
|
982
|
+
def prettyify_array(gemspec_ruby, array_name); end
|
983
|
+
|
984
|
+
# Returns the value of attribute spec.
|
985
|
+
#
|
986
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#3
|
987
|
+
def spec; end
|
988
|
+
|
989
|
+
# Sets the attribute spec
|
990
|
+
#
|
991
|
+
# @param value the value to set the attribute spec to.
|
992
|
+
#
|
993
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#3
|
994
|
+
def spec=(_arg0); end
|
995
|
+
|
996
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#25
|
997
|
+
def to_ruby; end
|
998
|
+
|
999
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#78
|
1000
|
+
def update_version(version); end
|
1001
|
+
|
1002
|
+
# @return [Boolean]
|
1003
|
+
#
|
1004
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#12
|
1005
|
+
def valid?; end
|
1006
|
+
|
1007
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#19
|
1008
|
+
def write; end
|
1009
|
+
end
|
1010
|
+
|
1011
|
+
# source://jeweler//lib/jeweler/gemspec_helper.rb#46
|
1012
|
+
Jeweler::GemSpecHelper::PARSE_SAFE = T.let(T.unsafe(nil), Integer)
|
1013
|
+
|
1014
|
+
# Deprecated tasks for publishing to Gemcutter. See Jeweler::RubygemsDotOrgTasks
|
1015
|
+
# for the current tasks to use.
|
1016
|
+
#
|
1017
|
+
# source://jeweler//lib/jeweler/gemcutter_tasks.rb#6
|
1018
|
+
class Jeweler::GemcutterTasks < ::Jeweler::RubygemsDotOrgTasks; end
|
1019
|
+
|
1020
|
+
# Gemspec related error
|
1021
|
+
#
|
1022
|
+
# source://jeweler//lib/jeweler/errors.rb#3
|
1023
|
+
class Jeweler::GemspecError < ::StandardError; end
|
1024
|
+
|
1025
|
+
# Rake tasks for putting a Jeweler gem on Rubyforge.
|
1026
|
+
#
|
1027
|
+
# Jeweler::Tasks.new needs to be used before this.
|
1028
|
+
#
|
1029
|
+
# Basic usage:
|
1030
|
+
#
|
1031
|
+
# Jeweler::RubyforgeTasks.new
|
1032
|
+
#
|
1033
|
+
# Easy enough, right?
|
1034
|
+
#
|
1035
|
+
# There are a few options you can tweak:
|
1036
|
+
#
|
1037
|
+
# * project: the rubyforge project to operate on. This defaults to whatever you specified in your gemspec. Defaults to your gem name.
|
1038
|
+
# * remote_doc_path: the place to upload docs to on Rubyforge under /var/www/gforge-projects/#{project}/
|
1039
|
+
#
|
1040
|
+
# See also http://wiki.github.com/technicalpickles/jeweler/rubyforge
|
1041
|
+
#
|
1042
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#22
|
1043
|
+
class Jeweler::RubyforgeTasks < ::Rake::TaskLib
|
1044
|
+
# @return [RubyforgeTasks] a new instance of RubyforgeTasks
|
1045
|
+
# @yield [_self]
|
1046
|
+
# @yieldparam _self [Jeweler::RubyforgeTasks] the object that the method was called on
|
1047
|
+
#
|
1048
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#31
|
1049
|
+
def initialize; end
|
1050
|
+
|
1051
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#51
|
1052
|
+
def define; end
|
1053
|
+
|
1054
|
+
# Task to be used for generating documentation, before they are uploaded. Defaults to rdoc.
|
1055
|
+
#
|
1056
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#27
|
1057
|
+
def doc_task; end
|
1058
|
+
|
1059
|
+
# Task to be used for generating documentation, before they are uploaded. Defaults to rdoc.
|
1060
|
+
#
|
1061
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#27
|
1062
|
+
def doc_task=(_arg0); end
|
1063
|
+
|
1064
|
+
# Returns the value of attribute jeweler.
|
1065
|
+
#
|
1066
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#39
|
1067
|
+
def jeweler; end
|
1068
|
+
|
1069
|
+
# Sets the attribute jeweler
|
1070
|
+
#
|
1071
|
+
# @param value the value to set the attribute jeweler to.
|
1072
|
+
#
|
1073
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#29
|
1074
|
+
def jeweler=(_arg0); end
|
1075
|
+
|
1076
|
+
# The RubyForge project to interact with. Defaults to whatever is in your jeweler gemspec.
|
1077
|
+
#
|
1078
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#47
|
1079
|
+
def project; end
|
1080
|
+
|
1081
|
+
# The RubyForge project to interact with. Defaults to whatever is in your jeweler gemspec.
|
1082
|
+
#
|
1083
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#23
|
1084
|
+
def project=(_arg0); end
|
1085
|
+
|
1086
|
+
# @return [Boolean]
|
1087
|
+
#
|
1088
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#91
|
1089
|
+
def publish_documentation?; end
|
1090
|
+
|
1091
|
+
# The path to upload docs to. It is relative to /var/www/gforge-projects/#{project}/, and defaults to your gemspec's name
|
1092
|
+
#
|
1093
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#43
|
1094
|
+
def remote_doc_path; end
|
1095
|
+
|
1096
|
+
# The path to upload docs to. It is relative to /var/www/gforge-projects/#{project}/, and defaults to your gemspec's name
|
1097
|
+
#
|
1098
|
+
# source://jeweler//lib/jeweler/rubyforge_tasks.rb#25
|
1099
|
+
def remote_doc_path=(_arg0); end
|
1100
|
+
end
|
1101
|
+
|
1102
|
+
# Rake tasks for putting a Jeweler gem on Gemcutter.
|
1103
|
+
#
|
1104
|
+
# Jeweler::Tasks.new needs to be used before this.
|
1105
|
+
#
|
1106
|
+
# Basic usage:
|
1107
|
+
#
|
1108
|
+
# Jeweler::RubygemsDotOrgTasks.new
|
1109
|
+
#
|
1110
|
+
# Easy enough, right?
|
1111
|
+
#
|
1112
|
+
# source://jeweler//lib/jeweler/rubygems_dot_org_tasks.rb#14
|
1113
|
+
class Jeweler::RubygemsDotOrgTasks < ::Rake::TaskLib
|
1114
|
+
# @return [RubygemsDotOrgTasks] a new instance of RubygemsDotOrgTasks
|
1115
|
+
# @yield [_self]
|
1116
|
+
# @yieldparam _self [Jeweler::RubygemsDotOrgTasks] the object that the method was called on
|
1117
|
+
#
|
1118
|
+
# source://jeweler//lib/jeweler/rubygems_tasks.rb#17
|
1119
|
+
def initialize; end
|
1120
|
+
|
1121
|
+
# source://jeweler//lib/jeweler/rubygems_tasks.rb#27
|
1122
|
+
def define; end
|
1123
|
+
|
1124
|
+
# Returns the value of attribute jeweler.
|
1125
|
+
#
|
1126
|
+
# source://jeweler//lib/jeweler/rubygems_tasks.rb#23
|
1127
|
+
def jeweler; end
|
1128
|
+
|
1129
|
+
# Sets the attribute jeweler
|
1130
|
+
#
|
1131
|
+
# @param value the value to set the attribute jeweler to.
|
1132
|
+
#
|
1133
|
+
# source://jeweler//lib/jeweler/rubygems_tasks.rb#15
|
1134
|
+
def jeweler=(_arg0); end
|
1135
|
+
end
|
1136
|
+
|
1137
|
+
# source://jeweler//lib/jeweler/specification.rb#11
|
1138
|
+
module Jeweler::Specification
|
1139
|
+
# source://jeweler//lib/jeweler/specification.rb#17
|
1140
|
+
def extra_rdoc_files; end
|
1141
|
+
|
1142
|
+
# source://jeweler//lib/jeweler/specification.rb#23
|
1143
|
+
def extra_rdoc_files=(value); end
|
1144
|
+
|
1145
|
+
# source://jeweler//lib/jeweler/specification.rb#17
|
1146
|
+
def files; end
|
1147
|
+
|
1148
|
+
# source://jeweler//lib/jeweler/specification.rb#23
|
1149
|
+
def files=(value); end
|
1150
|
+
|
1151
|
+
# Used by Specification#to_ruby to generate a ruby-respresentation of a Gem::Specification
|
1152
|
+
#
|
1153
|
+
# source://jeweler//lib/jeweler/specification.rb#84
|
1154
|
+
def ruby_code(obj); end
|
1155
|
+
|
1156
|
+
# Assigns the Jeweler defaults to the Gem::Specification
|
1157
|
+
#
|
1158
|
+
# source://jeweler//lib/jeweler/specification.rb#32
|
1159
|
+
def set_jeweler_defaults(base_dir, git_base_dir = T.unsafe(nil)); end
|
1160
|
+
|
1161
|
+
private
|
1162
|
+
|
1163
|
+
# @return [Boolean]
|
1164
|
+
#
|
1165
|
+
# source://jeweler//lib/jeweler/specification.rb#105
|
1166
|
+
def blank?(value); end
|
1167
|
+
|
1168
|
+
# Backported (or rather forward-ported) from Bunder::Runtime#dependencies_for.
|
1169
|
+
# This method was available until Bundler 1.13, and then removed. We need it
|
1170
|
+
# to be able to tell which gems are listed in the Gemfile without loading
|
1171
|
+
# those gems first.
|
1172
|
+
#
|
1173
|
+
# source://jeweler//lib/jeweler/specification.rb#97
|
1174
|
+
def bundler_dependencies_for(bundler_runtime, *groups); end
|
1175
|
+
|
1176
|
+
class << self
|
1177
|
+
# source://jeweler//lib/jeweler/specification.rb#12
|
1178
|
+
def filelist_attribute(name); end
|
1179
|
+
end
|
1180
|
+
end
|
1181
|
+
|
1182
|
+
# Rake tasks for managing your gem.
|
1183
|
+
#
|
1184
|
+
# Here's a basic usage example:
|
1185
|
+
#
|
1186
|
+
# Jeweler::Tasks.new do |gem|
|
1187
|
+
# gem.name = "jeweler"
|
1188
|
+
# gem.summary = "Simple and opinionated helper for creating RubyGem projects on GitHub"
|
1189
|
+
# gem.email = "josh@technicalpickles.com"
|
1190
|
+
# gem.homepage = "http://github.com/technicalpickles/jeweler"
|
1191
|
+
# gem.description = "Simple and opinionated helper for creating RubyGem projects on GitHub"
|
1192
|
+
# gem.authors = ["Josh Nichols"]
|
1193
|
+
# end
|
1194
|
+
#
|
1195
|
+
# The block variable gem is actually a Gem::Specification, so you can
|
1196
|
+
# do anything you would normally do with a Gem::Specification.
|
1197
|
+
# For more details, see the official gemspec reference:
|
1198
|
+
# http://guides.rubygems.org/specification-reference
|
1199
|
+
#
|
1200
|
+
# In addition, it provides reasonable defaults for several values. See Jeweler::Specification for more details.
|
1201
|
+
#
|
1202
|
+
# source://jeweler//lib/jeweler/tasks.rb#39
|
1203
|
+
class Jeweler::Tasks < ::Rake::TaskLib
|
1204
|
+
# @return [Tasks] a new instance of Tasks
|
1205
|
+
#
|
1206
|
+
# source://jeweler//lib/jeweler/tasks.rb#43
|
1207
|
+
def initialize(gemspec = T.unsafe(nil), &gemspec_building_block); end
|
1208
|
+
|
1209
|
+
# Returns the value of attribute gemspec.
|
1210
|
+
#
|
1211
|
+
# source://jeweler//lib/jeweler/tasks.rb#40
|
1212
|
+
def gemspec; end
|
1213
|
+
|
1214
|
+
# Sets the attribute gemspec
|
1215
|
+
#
|
1216
|
+
# @param value the value to set the attribute gemspec to.
|
1217
|
+
#
|
1218
|
+
# source://jeweler//lib/jeweler/tasks.rb#40
|
1219
|
+
def gemspec=(_arg0); end
|
1220
|
+
|
1221
|
+
# Returns the value of attribute gemspec_building_block.
|
1222
|
+
#
|
1223
|
+
# source://jeweler//lib/jeweler/tasks.rb#40
|
1224
|
+
def gemspec_building_block; end
|
1225
|
+
|
1226
|
+
# Sets the attribute gemspec_building_block
|
1227
|
+
#
|
1228
|
+
# @param value the value to set the attribute gemspec_building_block to.
|
1229
|
+
#
|
1230
|
+
# source://jeweler//lib/jeweler/tasks.rb#40
|
1231
|
+
def gemspec_building_block=(_arg0); end
|
1232
|
+
|
1233
|
+
# source://jeweler//lib/jeweler/tasks.rb#51
|
1234
|
+
def jeweler; end
|
1235
|
+
|
1236
|
+
# Sets the attribute jeweler
|
1237
|
+
#
|
1238
|
+
# @param value the value to set the attribute jeweler to.
|
1239
|
+
#
|
1240
|
+
# source://jeweler//lib/jeweler/tasks.rb#41
|
1241
|
+
def jeweler=(_arg0); end
|
1242
|
+
|
1243
|
+
private
|
1244
|
+
|
1245
|
+
# source://jeweler//lib/jeweler/tasks.rb#83
|
1246
|
+
def define; end
|
1247
|
+
|
1248
|
+
# source://jeweler//lib/jeweler/tasks.rb#57
|
1249
|
+
def jeweler!; end
|
1250
|
+
|
1251
|
+
# source://jeweler//lib/jeweler/tasks.rb#74
|
1252
|
+
def release_args; end
|
1253
|
+
|
1254
|
+
# @return [Boolean]
|
1255
|
+
#
|
1256
|
+
# source://jeweler//lib/jeweler/tasks.rb#63
|
1257
|
+
def yield_gemspec_set_version?; end
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
# source://jeweler//lib/jeweler/version.rb#2
|
1261
|
+
module Jeweler::Version; end
|
1262
|
+
|
1263
|
+
# source://jeweler//lib/jeweler/version.rb#6
|
1264
|
+
Jeweler::Version::BUILD = T.let(T.unsafe(nil), T.untyped)
|
1265
|
+
|
1266
|
+
# source://jeweler//lib/jeweler/version.rb#3
|
1267
|
+
Jeweler::Version::MAJOR = T.let(T.unsafe(nil), Integer)
|
1268
|
+
|
1269
|
+
# source://jeweler//lib/jeweler/version.rb#4
|
1270
|
+
Jeweler::Version::MINOR = T.let(T.unsafe(nil), Integer)
|
1271
|
+
|
1272
|
+
# source://jeweler//lib/jeweler/version.rb#5
|
1273
|
+
Jeweler::Version::PATCH = T.let(T.unsafe(nil), Integer)
|
1274
|
+
|
1275
|
+
# source://jeweler//lib/jeweler/version.rb#8
|
1276
|
+
Jeweler::Version::STRING = T.let(T.unsafe(nil), String)
|
1277
|
+
|
1278
|
+
# source://jeweler//lib/jeweler/version_helper.rb#9
|
1279
|
+
class Jeweler::VersionHelper
|
1280
|
+
# @return [VersionHelper] a new instance of VersionHelper
|
1281
|
+
#
|
1282
|
+
# source://jeweler//lib/jeweler/version_helper.rb#86
|
1283
|
+
def initialize(base_dir); end
|
1284
|
+
|
1285
|
+
# Returns the value of attribute base_dir.
|
1286
|
+
#
|
1287
|
+
# source://jeweler//lib/jeweler/version_helper.rb#10
|
1288
|
+
def base_dir; end
|
1289
|
+
|
1290
|
+
# Sets the attribute base_dir
|
1291
|
+
#
|
1292
|
+
# @param value the value to set the attribute base_dir to.
|
1293
|
+
#
|
1294
|
+
# source://jeweler//lib/jeweler/version_helper.rb#10
|
1295
|
+
def base_dir=(_arg0); end
|
1296
|
+
|
1297
|
+
# Returns the value of attribute build.
|
1298
|
+
#
|
1299
|
+
# source://jeweler//lib/jeweler/version_helper.rb#11
|
1300
|
+
def build; end
|
1301
|
+
|
1302
|
+
# source://jeweler//lib/jeweler/version_helper.rb#98
|
1303
|
+
def bump_major; end
|
1304
|
+
|
1305
|
+
# source://jeweler//lib/jeweler/version_helper.rb#105
|
1306
|
+
def bump_minor; end
|
1307
|
+
|
1308
|
+
# source://jeweler//lib/jeweler/version_helper.rb#111
|
1309
|
+
def bump_patch; end
|
1310
|
+
|
1311
|
+
# Returns the value of attribute major.
|
1312
|
+
#
|
1313
|
+
# source://jeweler//lib/jeweler/version_helper.rb#11
|
1314
|
+
def major; end
|
1315
|
+
|
1316
|
+
# Returns the value of attribute minor.
|
1317
|
+
#
|
1318
|
+
# source://jeweler//lib/jeweler/version_helper.rb#11
|
1319
|
+
def minor; end
|
1320
|
+
|
1321
|
+
# Returns the value of attribute patch.
|
1322
|
+
#
|
1323
|
+
# source://jeweler//lib/jeweler/version_helper.rb#11
|
1324
|
+
def patch; end
|
1325
|
+
|
1326
|
+
# source://jeweler//lib/jeweler/version_helper.rb#131
|
1327
|
+
def plaintext_path; end
|
1328
|
+
|
1329
|
+
# source://jeweler//lib/jeweler/version_helper.rb#123
|
1330
|
+
def to_s; end
|
1331
|
+
|
1332
|
+
# source://jeweler//lib/jeweler/version_helper.rb#116
|
1333
|
+
def update_to(major, minor, patch, build = T.unsafe(nil)); end
|
1334
|
+
|
1335
|
+
# source://jeweler//lib/jeweler/version_helper.rb#127
|
1336
|
+
def yaml_path; end
|
1337
|
+
|
1338
|
+
private
|
1339
|
+
|
1340
|
+
# source://jeweler//lib/jeweler/version_helper.rb#137
|
1341
|
+
def path_to_version_file(filename); end
|
1342
|
+
end
|
1343
|
+
|
1344
|
+
# source://jeweler//lib/jeweler/version_helper.rb#54
|
1345
|
+
module Jeweler::VersionHelper::PlaintextExtension
|
1346
|
+
# source://jeweler//lib/jeweler/version_helper.rb#61
|
1347
|
+
def parse_plaintext; end
|
1348
|
+
|
1349
|
+
# source://jeweler//lib/jeweler/version_helper.rb#81
|
1350
|
+
def path; end
|
1351
|
+
|
1352
|
+
# source://jeweler//lib/jeweler/version_helper.rb#73
|
1353
|
+
def read_plaintext; end
|
1354
|
+
|
1355
|
+
# source://jeweler//lib/jeweler/version_helper.rb#77
|
1356
|
+
def refresh; end
|
1357
|
+
|
1358
|
+
# source://jeweler//lib/jeweler/version_helper.rb#55
|
1359
|
+
def write; end
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# source://jeweler//lib/jeweler/version_helper.rb#13
|
1363
|
+
module Jeweler::VersionHelper::YamlExtension
|
1364
|
+
# source://jeweler//lib/jeweler/version_helper.rb#33
|
1365
|
+
def parse_yaml; end
|
1366
|
+
|
1367
|
+
# source://jeweler//lib/jeweler/version_helper.rb#49
|
1368
|
+
def path; end
|
1369
|
+
|
1370
|
+
# source://jeweler//lib/jeweler/version_helper.rb#41
|
1371
|
+
def read_yaml; end
|
1372
|
+
|
1373
|
+
# source://jeweler//lib/jeweler/version_helper.rb#29
|
1374
|
+
def refresh; end
|
1375
|
+
|
1376
|
+
# source://jeweler//lib/jeweler/version_helper.rb#20
|
1377
|
+
def to_hash; end
|
1378
|
+
|
1379
|
+
# source://jeweler//lib/jeweler/version_helper.rb#14
|
1380
|
+
def write; end
|
1381
|
+
end
|
1382
|
+
|
1383
|
+
# source://jeweler//lib/jeweler/errors.rb#6
|
1384
|
+
class Jeweler::VersionYmlError < ::StandardError; end
|
1385
|
+
|
1386
|
+
# source://jeweler//lib/jeweler/tasks.rb#8
|
1387
|
+
class Rake::Application
|
1388
|
+
# source://rake/13.0.6/lib/rake/application.rb#49
|
1389
|
+
def initialize; end
|
1390
|
+
|
1391
|
+
# source://rake/13.0.6/lib/rake/application.rb#777
|
1392
|
+
def add_import(fn); end
|
1393
|
+
|
1394
|
+
# source://rake/13.0.6/lib/rake/application.rb#139
|
1395
|
+
def add_loader(ext, loader); end
|
1396
|
+
|
1397
|
+
# source://rake/13.0.6/lib/rake/application.rb#758
|
1398
|
+
def collect_command_line_tasks(args); end
|
1399
|
+
|
1400
|
+
# source://rake/13.0.6/lib/rake/application.rb#772
|
1401
|
+
def default_task_name; end
|
1402
|
+
|
1403
|
+
# source://rake/13.0.6/lib/rake/application.rb#258
|
1404
|
+
def deprecate(old_usage, new_usage, call_site); end
|
1405
|
+
|
1406
|
+
# source://rake/13.0.6/lib/rake/application.rb#222
|
1407
|
+
def display_cause_details(ex); end
|
1408
|
+
|
1409
|
+
# source://rake/13.0.6/lib/rake/application.rb#206
|
1410
|
+
def display_error_message(ex); end
|
1411
|
+
|
1412
|
+
# source://rake/13.0.6/lib/rake/application.rb#245
|
1413
|
+
def display_exception_backtrace(ex); end
|
1414
|
+
|
1415
|
+
# source://rake/13.0.6/lib/rake/application.rb#214
|
1416
|
+
def display_exception_details(ex); end
|
1417
|
+
|
1418
|
+
# source://rake/13.0.6/lib/rake/application.rb#229
|
1419
|
+
def display_exception_details_seen; end
|
1420
|
+
|
1421
|
+
# source://rake/13.0.6/lib/rake/application.rb#237
|
1422
|
+
def display_exception_message_details(ex); end
|
1423
|
+
|
1424
|
+
# source://rake/13.0.6/lib/rake/application.rb#381
|
1425
|
+
def display_prerequisites; end
|
1426
|
+
|
1427
|
+
# source://rake/13.0.6/lib/rake/application.rb#298
|
1428
|
+
def display_tasks_and_comments; end
|
1429
|
+
|
1430
|
+
# source://rake/13.0.6/lib/rake/application.rb#349
|
1431
|
+
def dynamic_width; end
|
1432
|
+
|
1433
|
+
# source://rake/13.0.6/lib/rake/application.rb#353
|
1434
|
+
def dynamic_width_stty; end
|
1435
|
+
|
1436
|
+
# source://rake/13.0.6/lib/rake/application.rb#357
|
1437
|
+
def dynamic_width_tput; end
|
1438
|
+
|
1439
|
+
# source://rake/13.0.6/lib/rake/application.rb#201
|
1440
|
+
def exit_because_of_exception(ex); end
|
1441
|
+
|
1442
|
+
# source://rake/13.0.6/lib/rake/application.rb#678
|
1443
|
+
def find_rakefile_location; end
|
1444
|
+
|
1445
|
+
# source://rake/13.0.6/lib/rake/application.rb#644
|
1446
|
+
def handle_options(argv); end
|
1447
|
+
|
1448
|
+
# source://rake/13.0.6/lib/rake/application.rb#233
|
1449
|
+
def has_cause?(ex); end
|
1450
|
+
|
1451
|
+
# source://rake/13.0.6/lib/rake/application.rb#274
|
1452
|
+
def have_rakefile; end
|
1453
|
+
|
1454
|
+
# source://rake/13.0.6/lib/rake/application.rb#88
|
1455
|
+
def init(app_name = T.unsafe(nil), argv = T.unsafe(nil)); end
|
1456
|
+
|
1457
|
+
# source://rake/13.0.6/lib/rake/application.rb#157
|
1458
|
+
def invoke_task(task_string); end
|
1459
|
+
|
1460
|
+
# The jeweler instance that has be instantiated in the current Rakefile.
|
1461
|
+
#
|
1462
|
+
# This is usually useful if you want to get at info like version from other files.
|
1463
|
+
#
|
1464
|
+
# source://jeweler//lib/jeweler/tasks.rb#14
|
1465
|
+
def jeweler; end
|
1466
|
+
|
1467
|
+
# Returns the value of attribute jeweler_tasks.
|
1468
|
+
#
|
1469
|
+
# source://jeweler//lib/jeweler/tasks.rb#9
|
1470
|
+
def jeweler_tasks; end
|
1471
|
+
|
1472
|
+
# Sets the attribute jeweler_tasks
|
1473
|
+
#
|
1474
|
+
# @param value the value to set the attribute jeweler_tasks to.
|
1475
|
+
#
|
1476
|
+
# source://jeweler//lib/jeweler/tasks.rb#9
|
1477
|
+
def jeweler_tasks=(_arg0); end
|
1478
|
+
|
1479
|
+
# source://rake/13.0.6/lib/rake/application.rb#782
|
1480
|
+
def load_imports; end
|
1481
|
+
|
1482
|
+
# source://rake/13.0.6/lib/rake/application.rb#102
|
1483
|
+
def load_rakefile; end
|
1484
|
+
|
1485
|
+
# source://rake/13.0.6/lib/rake/application.rb#24
|
1486
|
+
def name; end
|
1487
|
+
|
1488
|
+
# source://rake/13.0.6/lib/rake/application.rb#145
|
1489
|
+
def options; end
|
1490
|
+
|
1491
|
+
# source://rake/13.0.6/lib/rake/application.rb#27
|
1492
|
+
def original_dir; end
|
1493
|
+
|
1494
|
+
# source://rake/13.0.6/lib/rake/application.rb#163
|
1495
|
+
def parse_task_string(string); end
|
1496
|
+
|
1497
|
+
# source://rake/13.0.6/lib/rake/application.rb#690
|
1498
|
+
def print_rakefile_directory(location); end
|
1499
|
+
|
1500
|
+
# source://rake/13.0.6/lib/rake/application.rb#664
|
1501
|
+
def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
|
1502
|
+
|
1503
|
+
# source://rake/13.0.6/lib/rake/application.rb#30
|
1504
|
+
def rakefile; end
|
1505
|
+
|
1506
|
+
# source://rake/13.0.6/lib/rake/application.rb#798
|
1507
|
+
def rakefile_location(backtrace = T.unsafe(nil)); end
|
1508
|
+
|
1509
|
+
# source://rake/13.0.6/lib/rake/application.rb#695
|
1510
|
+
def raw_load_rakefile; end
|
1511
|
+
|
1512
|
+
# source://rake/13.0.6/lib/rake/application.rb#79
|
1513
|
+
def run(argv = T.unsafe(nil)); end
|
1514
|
+
|
1515
|
+
# source://rake/13.0.6/lib/rake/application.rb#122
|
1516
|
+
def run_with_threads; end
|
1517
|
+
|
1518
|
+
# source://rake/13.0.6/lib/rake/application.rb#807
|
1519
|
+
def set_default_options; end
|
1520
|
+
|
1521
|
+
# source://rake/13.0.6/lib/rake/application.rb#185
|
1522
|
+
def standard_exception_handling; end
|
1523
|
+
|
1524
|
+
# source://rake/13.0.6/lib/rake/application.rb#402
|
1525
|
+
def standard_rake_options; end
|
1526
|
+
|
1527
|
+
# source://rake/13.0.6/lib/rake/application.rb#727
|
1528
|
+
def system_dir; end
|
1529
|
+
|
1530
|
+
# source://rake/13.0.6/lib/rake/application.rb#33
|
1531
|
+
def terminal_columns; end
|
1532
|
+
|
1533
|
+
# source://rake/13.0.6/lib/rake/application.rb#33
|
1534
|
+
def terminal_columns=(_arg0); end
|
1535
|
+
|
1536
|
+
# source://rake/13.0.6/lib/rake/application.rb#337
|
1537
|
+
def terminal_width; end
|
1538
|
+
|
1539
|
+
# source://rake/13.0.6/lib/rake/application.rb#150
|
1540
|
+
def thread_pool; end
|
1541
|
+
|
1542
|
+
# source://rake/13.0.6/lib/rake/application.rb#109
|
1543
|
+
def top_level; end
|
1544
|
+
|
1545
|
+
# source://rake/13.0.6/lib/rake/application.rb#36
|
1546
|
+
def top_level_tasks; end
|
1547
|
+
|
1548
|
+
# source://rake/13.0.6/lib/rake/application.rb#388
|
1549
|
+
def trace(*strings); end
|
1550
|
+
|
1551
|
+
# source://rake/13.0.6/lib/rake/application.rb#370
|
1552
|
+
def truncate(string, width); end
|
1553
|
+
|
1554
|
+
# source://rake/13.0.6/lib/rake/application.rb#293
|
1555
|
+
def truncate_output?; end
|
1556
|
+
|
1557
|
+
# source://rake/13.0.6/lib/rake/application.rb#39
|
1558
|
+
def tty_output=(_arg0); end
|
1559
|
+
|
1560
|
+
# source://rake/13.0.6/lib/rake/application.rb#287
|
1561
|
+
def tty_output?; end
|
1562
|
+
|
1563
|
+
# source://rake/13.0.6/lib/rake/application.rb#361
|
1564
|
+
def unix?; end
|
1565
|
+
|
1566
|
+
# source://rake/13.0.6/lib/rake/application.rb#366
|
1567
|
+
def windows?; end
|
1568
|
+
|
1569
|
+
private
|
1570
|
+
|
1571
|
+
# source://rake/13.0.6/lib/rake/application.rb#721
|
1572
|
+
def glob(path, &block); end
|
1573
|
+
|
1574
|
+
# source://rake/13.0.6/lib/rake/application.rb#267
|
1575
|
+
def has_chain?(exception); end
|
1576
|
+
|
1577
|
+
# source://rake/13.0.6/lib/rake/application.rb#620
|
1578
|
+
def select_tasks_to_show(options, show_tasks, value); end
|
1579
|
+
|
1580
|
+
# source://rake/13.0.6/lib/rake/application.rb#627
|
1581
|
+
def select_trace_output(options, trace_option, value); end
|
1582
|
+
|
1583
|
+
# source://rake/13.0.6/lib/rake/application.rb#393
|
1584
|
+
def sort_options(options); end
|
1585
|
+
|
1586
|
+
# source://rake/13.0.6/lib/rake/application.rb#744
|
1587
|
+
def standard_system_dir; end
|
1588
|
+
end
|
1589
|
+
|
1590
|
+
# source://rake/13.0.6/lib/rake/application.rb#41
|
1591
|
+
Rake::Application::DEFAULT_RAKEFILES = T.let(T.unsafe(nil), Array)
|