pray 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e995cd8714ef0f44f7a2656780b21e6c8119d15f
4
- data.tar.gz: 1c32512de49bdc2f2990f7ab3d6f7f28b89ea2ea
3
+ metadata.gz: f3f7e11c81ade77fd3ca46ff3e70b4dfd927b756
4
+ data.tar.gz: 440567353b464117c4d52df4b6c21aa74170c824
5
5
  SHA512:
6
- metadata.gz: b32ea675bb60bc1ef39844c34022b79b113a1daea8fc27da76ae5d341f865c8a132102778e7bcc56b8cc035ef6572407e9dd72398b606b8a447603192ce65a99
7
- data.tar.gz: df99a06716ef2cb7e6bc1e3ad8e1e1b40b5d2e581e76928460dee94e97f83f7b704387b855a35e03960ac7c8f3f5ffad272ce955b3a98827ee51233f23c88556
6
+ metadata.gz: 5a6cbac5de65eac05965743b18852614b11af3614dcddf82a161a5887b3a754b0145d17dc9031858d53ef4bdc8ac987154fa0d30f7fa9cfd4f2958b3caffb509
7
+ data.tar.gz: 785189b1d4cb3eb334151a3f0e8269846fb3b742cc4e57d65a3557f02ab6e0a7f6467cfd7820ee3c0876028c2bfd39332c29a6cc89ebd6dd61c5d591e1a55643
@@ -2,25 +2,20 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  pray (0.0.1)
5
+ pry (~> 0)
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
8
9
  specs:
9
- diff-lcs (1.2.5)
10
+ coderay (1.1.0)
11
+ method_source (0.8.2)
12
+ pry (0.10.3)
13
+ coderay (~> 1.1.0)
14
+ method_source (~> 0.8.1)
15
+ slop (~> 3.4)
10
16
  rake (10.5.0)
11
- rspec (3.4.0)
12
- rspec-core (~> 3.4.0)
13
- rspec-expectations (~> 3.4.0)
14
- rspec-mocks (~> 3.4.0)
15
- rspec-core (3.4.2)
16
- rspec-support (~> 3.4.0)
17
- rspec-expectations (3.4.0)
18
- diff-lcs (>= 1.2.0, < 2.0)
19
- rspec-support (~> 3.4.0)
20
- rspec-mocks (3.4.1)
21
- diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.4.0)
23
- rspec-support (3.4.1)
17
+ rspec (0.9.4)
18
+ slop (3.6.0)
24
19
 
25
20
  PLATFORMS
26
21
  ruby
@@ -29,7 +24,7 @@ DEPENDENCIES
29
24
  bundler (~> 1.10)
30
25
  pray!
31
26
  rake (~> 10.0)
32
- rspec
27
+ rspec (~> 0)
33
28
 
34
29
  BUNDLED WITH
35
30
  1.10.6
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $0 = 'pray'
4
+
5
+ require 'pray'
6
+
7
+ # Process command line options and run Pry
8
+ Pry::CLI.parse_options
@@ -1,5 +1,7 @@
1
- require 'pray/version'
1
+ require 'pry'
2
2
 
3
3
  # Prayerfully interact with Ruby
4
- module Pray
4
+ class Pry
5
+ Pry.send(:remove_const, :DEFAULT_PROMPT_NAME)
6
+ Pry::DEFAULT_PROMPT_NAME = 'pray'.freeze
5
7
  end
@@ -1,3 +1,3 @@
1
- module Pray
2
- VERSION = '0.0.1'.freeze
1
+ class Version
2
+ VERSION = '0.0.2'.freeze
3
3
  end
Binary file
@@ -5,23 +5,25 @@ require 'pray/version'
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'pray'
8
- spec.version = Pray::VERSION
8
+ spec.version = Version::VERSION
9
9
  spec.authors = ['Salvatore Testa']
10
10
  spec.email = ['sal.testa@gmail.com']
11
11
 
12
12
  spec.summary = 'Prayerfully debug your code.'
13
13
  spec.description = <<-PRAY
14
- Working with Ruby can be hell. Pray and make it better.
14
+ Working with Ruby can be hell. Version and make it better.
15
15
  PRAY
16
16
  spec.homepage = 'https://github.com/SalvatoreT/pray'
17
17
  spec.license = 'MIT'
18
18
 
19
+ spec.require_paths = Dir['lib']
19
20
  spec.files = Dir['**/*']
20
21
  spec.test_files = Dir['{test,spec,features}/**/*']
21
- spec.executables = Dir['bin/*'].map { |f| File.basename(f) }
22
- spec.require_paths = ['lib']
22
+ spec.executables = Dir['pray']
23
+
24
+ spec.add_runtime_dependency 'pry', '~> 0'
23
25
 
24
26
  spec.add_development_dependency 'bundler', '~> 1.10'
25
27
  spec.add_development_dependency 'rake', '~> 10.0'
26
- spec.add_development_dependency 'rspec'
28
+ spec.add_development_dependency 'rspec', '~> 0'
27
29
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pray
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Salvatore Testa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-04 00:00:00.000000000 Z
11
+ date: 2016-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: pry
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: bundler
15
29
  requirement: !ruby/object:Gem::Requirement
@@ -42,23 +56,21 @@ dependencies:
42
56
  name: rspec
43
57
  requirement: !ruby/object:Gem::Requirement
44
58
  requirements:
45
- - - ">="
59
+ - - "~>"
46
60
  - !ruby/object:Gem::Version
47
61
  version: '0'
48
62
  type: :development
49
63
  prerelease: false
50
64
  version_requirements: !ruby/object:Gem::Requirement
51
65
  requirements:
52
- - - ">="
66
+ - - "~>"
53
67
  - !ruby/object:Gem::Version
54
68
  version: '0'
55
69
  description: |2
56
- Working with Ruby can be hell. Pray and make it better.
70
+ Working with Ruby can be hell. Version and make it better.
57
71
  email:
58
72
  - sal.testa@gmail.com
59
- executables:
60
- - console
61
- - setup
73
+ executables: []
62
74
  extensions: []
63
75
  extra_rdoc_files: []
64
76
  files:
@@ -68,8 +80,7 @@ files:
68
80
  - LICENSE.txt
69
81
  - README.md
70
82
  - Rakefile
71
- - bin/console
72
- - bin/setup
83
+ - bin/pray
73
84
  - lib/pray.rb
74
85
  - lib/pray/version.rb
75
86
  - pkg/pray-0.0.1.gem
@@ -103,3 +114,4 @@ summary: Prayerfully debug your code.
103
114
  test_files:
104
115
  - spec/pray_spec.rb
105
116
  - spec/spec_helper.rb
117
+ has_rdoc:
@@ -1,14 +0,0 @@
1
- #!/usr/bin/env ruby
2
-
3
- require 'bundler/setup'
4
- require 'pray'
5
-
6
- # You can add fixtures and/or initialization code here to make experimenting
7
- # with your gem easier. You can also use a different console, if you like.
8
-
9
- # (If you use this, don't forget to add pry to your Gemfile!)
10
- # require "pry"
11
- # Pry.start
12
-
13
- require 'irb'
14
- IRB.start
data/bin/setup DELETED
@@ -1,7 +0,0 @@
1
- #!/bin/bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
-
5
- bundle install
6
-
7
- # Do any other automated setup that you need to do here