pry-doc 0.13.5 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4dc34490bf3602ab9a0e1ceb908c2832fa57b595
4
- data.tar.gz: 90d48f62fa7fe2d8d76f027bada60f2f21053cb3
2
+ SHA256:
3
+ metadata.gz: f6073f2a11f2a53536d734f67326598e7bbb6cc4b353fcac80c50296b6cacc2b
4
+ data.tar.gz: d769c7c9b394abc2e489d55775b17d238a38e12cac190c313bb0b1209f92a871
5
5
  SHA512:
6
- metadata.gz: f1fb2e9e3eef41468a2fe0197b8b5682209caf339c037dd639976303c61839dbe39cb3b42d7a49a21ba15d44f5b732ea90e275acac32803e4ef5f44d0aa38dbd
7
- data.tar.gz: c34a7ad63c5d73fc96991f0ece09efacdc50b23f097a4b5b83c7464963d6eaa995e7e27a081b824fe62498e1de74c1d38657778c85c2151e805f2672d2e4c558
6
+ metadata.gz: 2f1e51125226b6aa0625c336f04ab06eae312875d32f5d2cef8938ffb83077b69a160a264927fa79999f49596a9bfb3049384f61f24a48bc05c5b26cd34ea826
7
+ data.tar.gz: 90dc46503c7a94b8fd92e0c8be2c78ed4004991bfaf5c21aac4821b6a8b1564fdb6d56647f309b65ec37be800d1aa720f27556708355886c4f5d007bf47bf3dc
@@ -0,0 +1,119 @@
1
+ version: 2
2
+ references:
3
+ repo_restore_cache: &repo_restore_cache
4
+ restore_cache:
5
+ keys:
6
+ - repo-{{ .Environment.CIRCLE_SHA1 }}
7
+
8
+ repo_save_cache: &repo_save_cache
9
+ save_cache:
10
+ key: repo-{{ .Environment.CIRCLE_SHA1 }}-{{ epoch }}
11
+ paths:
12
+ - ~/pry-doc
13
+
14
+ bundle_install: &bundle_install
15
+ run:
16
+ name: Install Bundler dependencies
17
+ command: bundle install --path ~/pry-doc/vendor/bundle --jobs 15
18
+
19
+ unit: &unit
20
+ run:
21
+ name: Run unit tests
22
+ command: bundle exec rake
23
+
24
+ jobs:
25
+ "ruby-2.0":
26
+ docker:
27
+ - image: kyrylo/ruby-2.0.0p648
28
+ working_directory: /home/circleci/pry-doc
29
+ steps:
30
+ - checkout
31
+ - <<: *repo_restore_cache
32
+ - <<: *bundle_install
33
+ - <<: *unit
34
+ "ruby-2.1":
35
+ docker:
36
+ - image: circleci/ruby:2.1
37
+ working_directory: ~/pry-doc
38
+ steps:
39
+ - checkout
40
+ - <<: *repo_restore_cache
41
+ - <<: *bundle_install
42
+ - <<: *unit
43
+ "ruby-2.2":
44
+ docker:
45
+ - image: circleci/ruby:2.2
46
+ working_directory: ~/pry-doc
47
+ steps:
48
+ - checkout
49
+ - <<: *repo_restore_cache
50
+ - <<: *bundle_install
51
+ - <<: *unit
52
+ "ruby-2.3":
53
+ docker:
54
+ - image: circleci/ruby:2.3
55
+ working_directory: ~/pry-doc
56
+ steps:
57
+ - checkout
58
+ - <<: *repo_restore_cache
59
+ - <<: *bundle_install
60
+ - <<: *unit
61
+ "ruby-2.4":
62
+ docker:
63
+ - image: circleci/ruby:2.4
64
+ working_directory: ~/pry-doc
65
+ steps:
66
+ - checkout
67
+ - <<: *repo_restore_cache
68
+ - <<: *bundle_install
69
+ - <<: *unit
70
+ "ruby-2.5":
71
+ docker:
72
+ - image: circleci/ruby:2.5
73
+ working_directory: ~/pry-doc
74
+ steps:
75
+ - checkout
76
+ - <<: *repo_restore_cache
77
+ - <<: *bundle_install
78
+ - <<: *unit
79
+ "ruby-2.6":
80
+ docker:
81
+ - image: circleci/ruby:2.6
82
+ working_directory: ~/pry-doc
83
+ steps:
84
+ - checkout
85
+ - <<: *repo_restore_cache
86
+ - <<: *bundle_install
87
+ - <<: *unit
88
+ "ruby-2.7":
89
+ docker:
90
+ - image: circleci/ruby:2.7.0
91
+ working_directory: ~/pry-doc
92
+ steps:
93
+ - checkout
94
+ - <<: *repo_restore_cache
95
+ - <<: *bundle_install
96
+ - <<: *unit
97
+ "ruby-3.0":
98
+ docker:
99
+ - image: circleci/ruby:3.0
100
+ working_directory: ~/pry-doc
101
+ steps:
102
+ - checkout
103
+ - <<: *repo_restore_cache
104
+ - <<: *bundle_install
105
+ - <<: *unit
106
+
107
+ workflows:
108
+ version: 2
109
+ build:
110
+ jobs:
111
+ - "ruby-2.0"
112
+ - "ruby-2.1"
113
+ - "ruby-2.2"
114
+ - "ruby-2.3"
115
+ - "ruby-2.4"
116
+ - "ruby-2.5"
117
+ - "ruby-2.6"
118
+ - "ruby-2.7"
119
+ - "ruby-3.0"
data/.gitignore CHANGED
@@ -12,3 +12,5 @@ sample.bundle
12
12
 
13
13
  .bundle/
14
14
  vendor/bundle/
15
+
16
+ rubies
data/CHANGELOG.md CHANGED
@@ -3,6 +3,28 @@ Pry Doc changelog
3
3
 
4
4
  ### master
5
5
 
6
+ ### [v1.3.0][v1.3.0] (January 12, 2022)
7
+
8
+ * Added Ruby 3.1 support ([#120](https://github.com/pry/pry-doc/pull/120))
9
+
10
+ ### [v1.2.0][v1.2.0] (March 2, 2021)
11
+
12
+ * Added Ruby 3.0 support ([#107](https://github.com/pry/pry-doc/pull/107))
13
+ * Fixed the `_pry_ is deprecated, use pry_instance instead` deprecation warning
14
+ ([#111](https://github.com/pry/pry-doc/pull/111))
15
+
16
+ ### [v1.1.0][v1.1.0] (March 28, 2020)
17
+
18
+ * Added Ruby 2.7 support ([#94](https://github.com/pry/pry-doc/pull/94))
19
+ * Improved Ruby 2.7 suport for certain methods
20
+ ([#100](https://github.com/pry/pry-doc/pull/100))
21
+ * Fixed ``NoMethodError: undefined method `namespace_name'``
22
+ ([#97](https://github.com/pry/pry-doc/pull/97))
23
+
24
+ ### [v1.0.0][v1.0.0] (December 27, 2018)
25
+
26
+ * Added suport for Ruby 2.6 docs ([#90](https://github.com/pry/pry-doc/pull/90))
27
+
6
28
  ### [v0.13.5][v0.13.5] (November 8, 2018)
7
29
 
8
30
  * Fixed deprecation warnings emitted by Pry v0.12.0
@@ -94,3 +116,7 @@ Pry Doc changelog
94
116
  [v0.11.1]: https://github.com/pry/pry-doc/releases/tag/v0.11.1
95
117
  [v0.12.0]: https://github.com/pry/pry-doc/releases/tag/v0.12.0
96
118
  [v0.13.5]: https://github.com/pry/pry-doc/releases/tag/v0.13.5
119
+ [v1.0.0]: https://github.com/pry/pry-doc/releases/tag/v1.0.0
120
+ [v1.1.0]: https://github.com/pry/pry-doc/releases/tag/v1.1.0
121
+ [v1.2.0]: https://github.com/pry/pry-doc/releases/tag/v1.2.0
122
+ [v1.3.0]: https://github.com/pry/pry-doc/releases/tag/v1.3.0
data/README.md CHANGED
@@ -1,8 +1,9 @@
1
1
  ![Pry Doc][logo]
2
2
 
3
+ [![Circle Build Status](https://circleci.com/gh/pry/pry-doc.svg?style=shield)](https://circleci.com/gh/pry/pry-doc)
4
+
3
5
  * Repository: [https://github.com/pry/pry-doc][repo]
4
6
  * Wiki: [https://github.com/pry/pry-doc/wiki][wiki]
5
- * [![Build Status](https://travis-ci.org/pry/pry-doc.svg?branch=master)](https://travis-ci.org/pry/pry-doc)
6
7
 
7
8
  Description
8
9
  -----------
@@ -13,11 +14,13 @@ for Pry.
13
14
  Installation
14
15
  ------------
15
16
 
16
- All you need is to install the gem. The `pry-doc` plugin will be detected and
17
- used automatically.
17
+ Install the gem using the below command.
18
18
 
19
19
  gem install pry-doc
20
20
 
21
+ To automatically load `pry-doc` upon starting `pry`, add the command `require 'pry-doc'` to your `pryrc`.
22
+ You can read more about it in Pry's [README file][pry-overview].
23
+
21
24
  Synopsis
22
25
  --------
23
26
 
@@ -54,6 +57,7 @@ The project uses the MIT License. See LICENSE file for more information.
54
57
 
55
58
  [logo]: http://img-fotki.yandex.ru/get/6724/98991937.13/0_9faaa_26ec83af_orig "Pry Doc"
56
59
  [pry]: https://github.com/pry/pry
60
+ [pry-overview]: https://github.com/pry/pry#overview
57
61
  [show-source]: http://img-fotki.yandex.ru/get/9303/98991937.13/0_9faac_aa86e189_orig "show-source extended by Pry Doc"
58
62
  [show-doc]: http://img-fotki.yandex.ru/get/9058/98991937.13/0_9faab_68d7a43a_orig "show-doc extended by Pry Doc"
59
63
  [repo]: https://github.com/pry/pry-doc
data/Rakefile CHANGED
@@ -85,7 +85,7 @@ def generate_yard
85
85
  end
86
86
 
87
87
  def replace_existing_docs(ver)
88
- system %|mkdir -p ../../../lib/pry-doc/docs/#{ver} && cp -r .yardoc/* "$_"|
88
+ system %|mkdir -p ../../../lib/pry-doc/docs/#{ver} && cp -r .yardoc/* ../../../lib/pry-doc/docs/#{ver}|
89
89
  Dir.chdir(File.expand_path(File.dirname(__FILE__)))
90
90
  end
91
91
 
@@ -131,3 +131,23 @@ desc "Generate the latest Ruby 2.5 docs"
131
131
  task "gen25" do
132
132
  generate_docs_for('25', Latest.ruby25)
133
133
  end
134
+
135
+ desc "Generate the latest Ruby 2.6 docs"
136
+ task "gen26" do
137
+ generate_docs_for('26', Latest.ruby26)
138
+ end
139
+
140
+ desc "Generate the latest Ruby 2.7 docs"
141
+ task "gen27" do
142
+ generate_docs_for('27', Latest.ruby27)
143
+ end
144
+
145
+ desc "Generate the latest Ruby 3.0 docs"
146
+ task "gen30" do
147
+ generate_docs_for('30', Latest.ruby30)
148
+ end
149
+
150
+ desc "Generate the latest Ruby 3.1 docs"
151
+ task "gen31" do
152
+ generate_docs_for('31', Latest.ruby31)
153
+ end