pry-theme 1.1.1 → 1.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +5 -5
  2. data/.travis.yml +9 -6
  3. data/CHANGELOG.md +33 -1
  4. data/LICENSE +1 -1
  5. data/VERSION +1 -1
  6. data/lib/pry-theme.rb +4 -2
  7. data/lib/pry-theme/color.rb +2 -2
  8. data/lib/pry-theme/colors/color16.rb +1 -1
  9. data/lib/pry-theme/colors/color256.rb +1 -1
  10. data/lib/pry-theme/colors/color8.rb +1 -1
  11. data/lib/pry-theme/commands.rb +1 -1
  12. data/lib/pry-theme/declaration.rb +4 -2
  13. data/lib/pry-theme/definition.rb +3 -3
  14. data/lib/pry-theme/rgb.rb +1 -1
  15. data/lib/pry-theme/term.rb +4 -4
  16. data/lib/pry-theme/theme.rb +1 -0
  17. data/lib/pry-theme/theme_list.rb +2 -2
  18. data/lib/pry-theme/when_started_hook.rb +4 -4
  19. data/pry-theme.gemspec +1 -4
  20. data/spec/helper.rb +11 -2
  21. data/spec/term_spec.rb +1 -1
  22. data/spec/theme_spec.rb +1 -1
  23. data/themes/github.prytheme.rb +1 -1
  24. data/themes/monokai.prytheme.rb +1 -1
  25. data/themes/pry-classic-16.prytheme.rb +1 -1
  26. data/themes/pry-classic-256.prytheme.rb +1 -1
  27. data/themes/pry-classic-8.prytheme.rb +1 -1
  28. data/themes/pry-cold.prytheme.rb +1 -1
  29. data/themes/pry-love-16.prytheme.rb +1 -1
  30. data/themes/pry-love-8.prytheme.rb +1 -1
  31. data/themes/pry-modern-16.prytheme.rb +1 -1
  32. data/themes/pry-modern-256.prytheme.rb +1 -1
  33. data/themes/pry-modern-8.prytheme.rb +1 -1
  34. data/themes/pry-monochrome.prytheme.rb +1 -1
  35. data/themes/pry-siberia-16.prytheme.rb +1 -1
  36. data/themes/pry-siberia-8.prytheme.rb +1 -1
  37. data/themes/pry-tepid-16.prytheme.rb +1 -1
  38. data/themes/pry-tepid-8.prytheme.rb +1 -1
  39. data/themes/pry-zealand-16.prytheme.rb +1 -1
  40. data/themes/pry-zealand-8.prytheme.rb +1 -1
  41. data/themes/railscasts.prytheme.rb +1 -1
  42. data/themes/solarized.prytheme.rb +1 -1
  43. data/themes/zenburn.prytheme.rb +1 -1
  44. metadata +7 -37
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 188f6b205f68db1fd9447846a4cc3a57a341db8a
4
- data.tar.gz: 0c5dbc3a6ba7b80985b7e2681d6ac51f78eec12c
2
+ SHA256:
3
+ metadata.gz: 507f70f96b7b7da5f906c701c6ab0609bc875a000ad6931ccf4dc07070bc93f6
4
+ data.tar.gz: dd85a274776b513dc293b7e1be4cc482c8a34a2a56ada0f291481ec8d568076a
5
5
  SHA512:
6
- metadata.gz: 94225f995a114b537297163a0a5830c2ee88b9ecb4cfd5925e573c3b954647993373f0a9676a204a9c745779e9fc7199f96e0a8ae74284a90cf4d2829fff5cc3
7
- data.tar.gz: 9b47e162fb0583da740e50534131fdae076eb9452161b879f78ac0d72d8f1ab154f1b7c7ef26613d79fde36402f883b6e7f235405418703a1bc1aec320e0d75c
6
+ metadata.gz: 67ca912388ed80d97c7b83aebcfdf039095b6f26661879c41ad859a0396c3770e15dea8246059abdacb027d64532dd7148662e4b7c3dae9af65d74ac0c4b215c
7
+ data.tar.gz: 7bed2c411fc510987f5e552e8dfe4b52d32a1782bf4a331e2daf88036f90b3ca5562fec9c709ea985e65e4ecf59239a74a40ff99d0c759a2bbc75d96318d5a82
@@ -1,12 +1,15 @@
1
1
  rvm:
2
- - 1.9.2
3
- - 1.9.3
4
- - 2.0.0
2
+ - 2.0
5
3
  - 2.1
4
+ - 2.2
5
+ - 2.3
6
+ - 2.4.0
6
7
  - ruby-head
7
- - rbx-2
8
- - jruby
9
- - jruby-head
8
+ - jruby-9.1.5.0
9
+
10
+ matrix:
11
+ allow_failures:
12
+ - rvm: ruby-head
10
13
 
11
14
  script:
12
15
  - rake spec
@@ -1,10 +1,42 @@
1
1
  Pry Theme changelog
2
2
  ===================
3
3
 
4
+ ### master
5
+
6
+ ### v1.3.1 (August 19, 2020)
7
+
8
+ * Fixed ``NoMethodError: undefined method `windows?``
9
+ ([#62](https://github.com/kyrylo/pry-theme/pull/62))
10
+
11
+ ### v1.3.0 (January 26, 2019)
12
+
13
+ * Fixed the "method BaseHelpers#windows? is deprecated" warning
14
+ ([#55](https://github.com/kyrylo/pry-theme/pull/55))
15
+
16
+ ### v1.2.0 (January 16, 2016)
17
+
18
+ * **IMPORTANT:** dropped support for Ruby <2.0
19
+ ([#51](https://github.com/kyrylo/pry-theme/pull/51))
20
+ * Started depending on stock JSON library (no more dependency on the `json` gem)
21
+ ([#49](https://github.com/kyrylo/pry-theme/pull/51))
22
+ * Fixed warnings on Ruby 2.4.0+ with regard to Fixnum
23
+ ([#50](https://github.com/kyrylo/pry-theme/pull/51))
24
+
25
+ ### v1.1.3 (July 21, 2014)
26
+
27
+ * Re-fixed broken behaviour of Pry. It's a temporary hack, to be removed on the
28
+ new Pry release [→](https://github.com/kyrylo/pry-theme/issues/40)
29
+ [→](https://github.com/kyrylo/pry-theme/issues/42)
30
+
31
+ ### v1.1.2 (June 16, 2014)
32
+
33
+ * Fixed broken behaviour when the Pry Rescue plugin isn't installed along with
34
+ Pry Theme [→](https://github.com/kyrylo/pry-theme/issues/40)
35
+
4
36
  ### v1.1.1 (June 14, 2014)
5
37
 
6
38
  * Fixed error message when `theme_options` is not set at
7
- allff. [→](https://github.com/kyrylo/pry-theme/issues/40)
39
+ all. [→](https://github.com/kyrylo/pry-theme/issues/41)
8
40
 
9
41
  ### v1.1.0 (June 13, 2014)
10
42
 
data/LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (C) 2012 Kyrylo Silin
1
+ Copyright (C) 2020 Kyrylo Silin
2
2
 
3
3
  This software is provided 'as-is', without any express or implied
4
4
  warranty. In no event will the authors be held liable for any damages
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.3.1
@@ -16,6 +16,10 @@ require 'pry-theme/color_table'
16
16
  require 'pry-theme/basic_editor'
17
17
  require 'pry-theme/commands'
18
18
 
19
+ Pry.config.hooks
20
+ Pry.config.hooks
21
+ .add_hook(:when_started, :pry_theme, PryTheme::WhenStartedHook.new)
22
+
19
23
  module PryTheme
20
24
 
21
25
  # The VERSION file must be in the root directory of the library.
@@ -96,6 +100,4 @@ module PryTheme
96
100
  const_get(:"Color#{ color }")
97
101
  end
98
102
  end
99
-
100
- Pry.config.hooks.add_hook(:when_started, :pry_theme, WhenStartedHook.new)
101
103
  end
@@ -394,8 +394,8 @@ module PryTheme
394
394
  case (color_id = cast_color(layer))
395
395
  when String
396
396
  return color_id if colors.has_key?(color_id)
397
- when Fixnum
398
- color_id = find_from_fixnum(color_id)
397
+ when Integer
398
+ color_id = find_from_integer(color_id)
399
399
  return color_id if color_id
400
400
  when false
401
401
  return color_id
@@ -23,7 +23,7 @@ module PryTheme
23
23
  []
24
24
  end
25
25
 
26
- def find_from_fixnum(color_id)
26
+ def find_from_integer(color_id)
27
27
  sorted_colors.each_with_index.to_a.rassoc(color_id).first.first
28
28
  end
29
29
 
@@ -21,7 +21,7 @@ module PryTheme
21
21
  ['48', '5', background]
22
22
  end
23
23
 
24
- def find_from_fixnum(color_id)
24
+ def find_from_integer(color_id)
25
25
  pair = colors.find { |*term| term.first.flatten.include?(color_id) }
26
26
  pair.first if pair
27
27
  end
@@ -19,7 +19,7 @@ module PryTheme
19
19
  [background]
20
20
  end
21
21
 
22
- def find_from_fixnum(color_id)
22
+ def find_from_integer(color_id)
23
23
  sorted_colors.each_with_index.to_a.rassoc(color_id).first.first
24
24
  end
25
25
 
@@ -227,7 +227,7 @@ module PryTheme
227
227
  uri = URI.parse(address)
228
228
  http = Net::HTTP.new(uri.host, uri.port)
229
229
  http.use_ssl = true
230
- http.verify_mode = OpenSSL::SSL::VERIFY_NONE if windows?
230
+ http.verify_mode = OpenSSL::SSL::VERIFY_NONE if Pry::Helpers::Platform.windows?
231
231
  response = http.request(Net::HTTP::Get.new(uri.request_uri))
232
232
  JSON.parse(response.body)
233
233
  end
@@ -22,6 +22,8 @@ module PryTheme
22
22
  @color_class = PryTheme.const_get(:"Color#{ color_model }")
23
23
  @effects = {}
24
24
  @parsed = false
25
+ @fg = nil
26
+ @bg = nil
25
27
  end
26
28
 
27
29
  def parse
@@ -98,7 +100,7 @@ module PryTheme
98
100
  if decl_has_bg_key?
99
101
  @bg = f[:bg]
100
102
  @color_decl.shift
101
- elsif f.is_a?(String) || f.is_a?(Fixnum)
103
+ elsif f.is_a?(String) || f.is_a?(Integer)
102
104
  @fg = @color_decl.shift
103
105
  else
104
106
  build_effects
@@ -112,7 +114,7 @@ module PryTheme
112
114
 
113
115
  def decl_contains_rgb?
114
116
  l = @color_decl.last
115
- l.size == 3 && l.all? { |decl| decl.is_a?(Fixnum) }
117
+ l.size == 3 && l.all? { |decl| decl.is_a?(Integer) }
116
118
  end
117
119
 
118
120
  end
@@ -53,7 +53,7 @@ module PryTheme
53
53
  :keyword, :method, :predefined_constant, :symbol
54
54
  ]
55
55
 
56
- def_dynamic_methods *ATTRS
56
+ def_dynamic_methods(*ATTRS)
57
57
 
58
58
  def initialize(color_model, &block)
59
59
  @color_model = color_model
@@ -82,7 +82,7 @@ module PryTheme
82
82
 
83
83
  ATTRS = [:self_, :char, :content, :delimiter, :escape]
84
84
 
85
- def_dynamic_methods *ATTRS
85
+ def_dynamic_methods(*ATTRS)
86
86
 
87
87
  def initialize(color_model, &block)
88
88
  @color_model = color_model
@@ -94,7 +94,7 @@ module PryTheme
94
94
  class Regexp < Compound
95
95
  ATTRS = [:modifier]
96
96
 
97
- def_dynamic_methods *ATTRS
97
+ def_dynamic_methods(*ATTRS)
98
98
 
99
99
  def initialize(color_model, &block)
100
100
  @color_model = color_model
@@ -174,7 +174,7 @@ module PryTheme
174
174
  # @return [void]
175
175
  def validate_array(ary)
176
176
  correct_size = ary.size.equal?(3)
177
- correct_vals = ary.all?{ |val| val.is_a?(Fixnum) && val.between?(0, 255) }
177
+ correct_vals = ary.all?{ |val| val.is_a?(Integer) && val.between?(0, 255) }
178
178
  return true if correct_size && correct_vals
179
179
  raise ArgumentError,
180
180
  %|invalid value for PryTheme::RGB#validate_array(): "#{ ary }"|
@@ -37,9 +37,9 @@ module PryTheme
37
37
  # at all
38
38
  # @return [void]
39
39
  def validate_attrs(value, color_model)
40
- fixnums = value.is_a?(Fixnum) && color_model.is_a?(Fixnum)
40
+ integers = value.is_a?(Integer) && color_model.is_a?(Integer)
41
41
  correct_term =
42
- if fixnums
42
+ if integers
43
43
  case color_model
44
44
  when 256 then value.between?(0, 255)
45
45
  when 16 then value.between?(0, 15)
@@ -50,9 +50,9 @@ module PryTheme
50
50
  end
51
51
  end
52
52
 
53
- return true if fixnums && correct_term
53
+ return true if integers && correct_term
54
54
 
55
- unless fixnums
55
+ unless integers
56
56
  raise TypeError, "can't convert #{ value.class } into PryTheme::TERM"
57
57
  end
58
58
 
@@ -37,6 +37,7 @@ module PryTheme
37
37
  @authors = [{ :name => @config[:author] }]
38
38
  @default_author = true
39
39
  @active = false
40
+ @definition = nil
40
41
 
41
42
  validate_config
42
43
 
@@ -20,7 +20,7 @@ module PryTheme
20
20
  end
21
21
 
22
22
  def activate_theme(name)
23
- theme = themes.find { |theme| theme.name == name }
23
+ theme = themes.find { |t| t.name == name }
24
24
 
25
25
  if theme
26
26
  current_theme.disable if current_theme
@@ -30,7 +30,7 @@ module PryTheme
30
30
  end
31
31
 
32
32
  def activate_theme_intelligently
33
- if Pry::Helpers::BaseHelpers.windows?
33
+ if Pry::Helpers::Platform.windows?
34
34
  activate_theme('pry-classic-16')
35
35
  else
36
36
  case PryTheme.tput_colors
@@ -2,14 +2,14 @@ module PryTheme
2
2
  # This is a hook to Pry. It executes upon Pry's launch. The hook is
3
3
  # responsible for bootstrapping Pry Theme.
4
4
  class WhenStartedHook
5
- def call(_, _, _)
5
+ def call(_context, _options, pry_instance)
6
6
  recreate_user_themes_from_default_ones
7
7
  load_themes
8
8
 
9
9
  if File.exist?(theme_file)
10
10
  ThemeList.activate_theme(Pry.config.theme)
11
11
  else
12
- display_warning(_pry_) if Pry.config.theme
12
+ display_warning(pry_instance) if Pry.config.theme
13
13
  ThemeList.activate_theme_intelligently
14
14
  end
15
15
 
@@ -47,8 +47,8 @@ module PryTheme
47
47
  File.join(USER_THEMES_DIR, Pry.config.theme.to_s + PT_EXT)
48
48
  end
49
49
 
50
- def display_warning(pry)
51
- pry.output.puts 'Pry Theme Warning: Pry.config.theme is set to ' \
50
+ def display_warning(pry_instance)
51
+ pry_instance.output.puts 'Pry Theme Warning: Pry.config.theme is set to ' \
52
52
  "\"#{ Pry.config.theme }\". There's no such a theme in your system. " \
53
53
  "All installed themes live inside #{ USER_THEMES_DIR }. Falling back " \
54
54
  'to the default theme for now.'
@@ -5,15 +5,12 @@ Gem::Specification.new do |s|
5
5
  s.summary = 'An easy way to customize Pry colors via theme files'
6
6
  s.description = 'The plugin enables color theme support for Pry.'
7
7
  s.author = 'Kyrylo Silin'
8
- s.email = 'kyrylosilin@gmail.com'
8
+ s.email = 'silin@kyrylo.org'
9
9
  s.homepage = 'https://github.com/kyrylo/pry-theme'
10
10
  s.licenses = 'zlib'
11
11
 
12
12
  s.require_path = 'lib'
13
13
  s.files = `git ls-files`.split("\n")
14
14
 
15
- s.add_dependency 'json', '~> 1.8'
16
15
  s.add_dependency 'coderay', '~> 1.1'
17
-
18
- s.add_development_dependency 'bundler', '~> 1.0'
19
16
  end
@@ -1,10 +1,19 @@
1
1
  require 'bundler/setup'
2
- require 'pry/test/helper'
2
+
3
+ require 'pry'
4
+ if Pry::VERSION < '0.11'
5
+ require 'pry/test/helper'
6
+ else
7
+ require 'pry/testable'
8
+ include Pry::Testable
9
+ end
3
10
 
4
11
  Bundler.require :default, :test
5
12
 
6
- Pry.config.theme = nil
13
+ Pry.config.color = false
14
+ Pry.config.hooks = Pry::Hooks.new
7
15
  Pry.config.pager = false
16
+ Pry.config.theme = nil
8
17
 
9
18
  puts(
10
19
  "Ruby: #{RUBY_VERSION}; " +
@@ -3,7 +3,7 @@ require 'helper'
3
3
  describe PryTheme::TERM do
4
4
  TERM = PryTheme::TERM
5
5
 
6
- it "represents itself as Fixnum" do
6
+ it "represents itself as Integer" do
7
7
  TERM.new(23).to_i.should == 23
8
8
  end
9
9
 
@@ -308,7 +308,7 @@ describe PryTheme::Theme do
308
308
  it "works with all options :-)" do
309
309
  lambda {
310
310
  PryTheme.create(:name => 'wholesome', :color_model => 8) {
311
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
311
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
312
312
  description 'a kool theme!'
313
313
  define_theme {
314
314
  class_ 'magenta'
@@ -1,6 +1,6 @@
1
1
  t = PryTheme.create :name => 'github' do
2
2
  author :name => 'John Mair'
3
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
3
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
4
4
  description 'Based on GitHub theme'
5
5
 
6
6
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'monokai' do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description "Based on Wimer Hazenberg's theme"
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-classic-16', :color_model => 16 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'The default Pry Theme for terminals with average color support'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-classic-256' do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'The default Pry Theme'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-classic-8', :color_model => 8 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'The default Pry Theme for terminals with poor color support'
4
4
 
5
5
  define_theme do
@@ -1,6 +1,6 @@
1
1
  t = PryTheme.create :name => 'pry-cold' do
2
2
  author :name => 'John Mair'
3
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
3
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
4
4
  description 'Based on Charcoalblack theme from Emacs'
5
5
 
6
6
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-love-16', :color_model => 16 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Adds the love, expressed in 16 colors'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-love-8', :color_model => 8 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Adds the love, expressed in 8 colors'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-modern-16', :color_model => 16 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Simplied version of pry-modern-256'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-modern-256' do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Nifty version of pry-classic'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-modern-8', :color_model => 8 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Simplied version of pry-modern-16'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-monochrome' do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'For people who hate colors'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-siberia-16', :color_model => 16 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'This one reminds me of the cold Siberia...'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-siberia-8', :color_model => 8 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'This one reminds me of the cold Siberia... (just a tad)'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-tepid-16', :color_model => 16 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Warm colors with warm soul'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-tepid-8', :color_model => 8 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Warm colors with warm soul'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-zealand-16', :color_model => 16 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Feel the presence of green, ecologic and flourishing New Zealand in your terminal'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'pry-zealand-8', :color_model => 8 do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Feel the presence of New Zealand in your terminal'
4
4
 
5
5
  define_theme do
@@ -1,7 +1,7 @@
1
1
  t = PryTheme.create :name => 'railscasts' do
2
2
  author :name => 'Ryan Fitzgerald'
3
3
  author :name => 'John Mair'
4
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
4
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
5
5
  description 'The famous RailsCasts theme'
6
6
 
7
7
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'solarized' do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'Precision colors for machines and people'
4
4
 
5
5
  define_theme do
@@ -1,5 +1,5 @@
1
1
  t = PryTheme.create :name => 'zenburn' do
2
- author :name => 'Kyrylo Silin', :email => 'kyrylosilin@gmail.com'
2
+ author :name => 'Kyrylo Silin', :email => 'silin@kyrylo.org'
3
3
  description 'A low-contrast color scheme'
4
4
 
5
5
  define_theme do
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kyrylo Silin
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-14 00:00:00.000000000 Z
11
+ date: 2020-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: json
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '1.8'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '1.8'
27
13
  - !ruby/object:Gem::Dependency
28
14
  name: coderay
29
15
  requirement: !ruby/object:Gem::Requirement
@@ -38,22 +24,8 @@ dependencies:
38
24
  - - "~>"
39
25
  - !ruby/object:Gem::Version
40
26
  version: '1.1'
41
- - !ruby/object:Gem::Dependency
42
- name: bundler
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - "~>"
46
- - !ruby/object:Gem::Version
47
- version: '1.0'
48
- type: :development
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - "~>"
53
- - !ruby/object:Gem::Version
54
- version: '1.0'
55
27
  description: The plugin enables color theme support for Pry.
56
- email: kyrylosilin@gmail.com
28
+ email: silin@kyrylo.org
57
29
  executables: []
58
30
  extensions: []
59
31
  extra_rdoc_files: []
@@ -133,7 +105,7 @@ homepage: https://github.com/kyrylo/pry-theme
133
105
  licenses:
134
106
  - zlib
135
107
  metadata: {}
136
- post_install_message:
108
+ post_install_message:
137
109
  rdoc_options: []
138
110
  require_paths:
139
111
  - lib
@@ -148,10 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
148
120
  - !ruby/object:Gem::Version
149
121
  version: '0'
150
122
  requirements: []
151
- rubyforge_project:
152
- rubygems_version: 2.2.2
153
- signing_key:
123
+ rubygems_version: 3.1.2
124
+ signing_key:
154
125
  specification_version: 4
155
126
  summary: An easy way to customize Pry colors via theme files
156
127
  test_files: []
157
- has_rdoc: