ripl-rack 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 3e43c29add753ee9806514cd2369ed27fbebdf87
4
+ data.tar.gz: 8c387df5c46aabca684dce37f393f278d6729aea
5
+ SHA512:
6
+ metadata.gz: ce0c5dd2ed22fece4ed8bcc9185b0c69e94ca9a3339dfa6fc41352f2c78ef91d33245a3a980efa5b7d1f3b9cbc989210da3161d917ac3e4b771f39c5e792d4f5
7
+ data.tar.gz: 704fee537c69fd72e0b15402939a98ba5de1d2031fcb53dd2c4b8cf3fd1157b35cc1fc54ef7767d2e9011e81cc74b87d45adbe9472c7d197a77ecd053a0c94e3
data/.gemspec CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  require 'rubygems' unless Object.const_defined?(:Gem)
3
3
  require File.dirname(__FILE__) + "/lib/ripl/rack"
4
-
4
+
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "ripl-rack"
7
7
  s.version = Ripl::Rack::VERSION
@@ -13,10 +13,10 @@ Gem::Specification.new do |s|
13
13
  s.required_rubygems_version = ">= 1.3.6"
14
14
  s.rubyforge_project = 'tagaholic'
15
15
  s.executables = ['ripl-rack']
16
- s.add_dependency 'ripl', '>= 0.3.5'
16
+ s.add_dependency 'ripl', '>= 0.7.0'
17
17
  s.add_dependency 'rack', '>= 1.0'
18
- s.add_dependency 'rack-test', '>= 0.5'
19
- s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c} **/deps.rip]) + %w{Rakefile .gemspec}
18
+ s.add_dependency 'rack-test', '~> 0.6.2'
19
+ s.files = Dir.glob(%w[{lib,test}/**/*.rb bin/* [A-Z]*.{txt,rdoc} ext/**/*.{rb,c}]) + %w{Rakefile .gemspec}
20
20
  s.extra_rdoc_files = ["README.rdoc", "LICENSE.txt"]
21
21
  s.license = 'MIT'
22
22
  end
@@ -1,3 +1,6 @@
1
+ == 0.2.1
2
+ * Fix rack getting loaded twice
3
+
1
4
  == 0.2.0
2
5
  * Add rackit config
3
6
 
@@ -52,3 +52,4 @@ To have rack actions in your top-level by default add the following to ~/.riplrc
52
52
 
53
53
  == Credits
54
54
  * Thanks to racksh for interesting rack-test bits
55
+ * Thanks to @kukushkin for fixing a reload bug
@@ -3,7 +3,7 @@ require 'rack'
3
3
  require 'rack/test'
4
4
 
5
5
  module Ripl::Rack
6
- VERSION = '0.2.0'
6
+ VERSION = '0.2.1'
7
7
 
8
8
  def before_loop
9
9
  Commands.rack
@@ -15,7 +15,7 @@ module Ripl::Rack
15
15
  module Commands
16
16
  extend self
17
17
  def rack
18
- @rack ||= Ripl::Rack::App.new
18
+ Ripl::Rack::App.instance
19
19
  end
20
20
 
21
21
  def rackit!
@@ -42,6 +42,10 @@ module Ripl::Rack
42
42
  def actions
43
43
  ::Rack::Test::Methods::METHODS
44
44
  end
45
+
46
+ def self.instance
47
+ @instance ||= self.new
48
+ end
45
49
  end
46
50
  end
47
51
 
metadata CHANGED
@@ -1,122 +1,95 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: ripl-rack
3
- version: !ruby/object:Gem::Version
4
- hash: 23
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 2
9
- - 0
10
- version: 0.2.0
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.1
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Gabriel Horner
14
8
  autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-04-05 00:00:00 -04:00
19
- default_executable:
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
11
+ date: 2014-02-14 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
22
14
  name: ripl
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
25
- none: false
26
- requirements:
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
27
17
  - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 25
30
- segments:
31
- - 0
32
- - 3
33
- - 5
34
- version: 0.3.5
18
+ - !ruby/object:Gem::Version
19
+ version: 0.7.0
35
20
  type: :runtime
36
- version_requirements: *id001
37
- - !ruby/object:Gem::Dependency
38
- name: rack
39
21
  prerelease: false
40
- requirement: &id002 !ruby/object:Gem::Requirement
41
- none: false
42
- requirements:
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
43
24
  - - ">="
44
- - !ruby/object:Gem::Version
45
- hash: 15
46
- segments:
47
- - 1
48
- - 0
49
- version: "1.0"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.7.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: rack
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '1.0'
50
34
  type: :runtime
51
- version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: rack-test
54
35
  prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
58
38
  - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 1
61
- segments:
62
- - 0
63
- - 5
64
- version: "0.5"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rack-test
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 0.6.2
65
48
  type: :runtime
66
- version_requirements: *id003
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 0.6.2
67
55
  description: This ripl plugin provides a console for rack apps.
68
56
  email: gabriel.horner@gmail.com
69
- executables:
57
+ executables:
70
58
  - ripl-rack
71
59
  extensions: []
72
-
73
- extra_rdoc_files:
60
+ extra_rdoc_files:
74
61
  - README.rdoc
75
62
  - LICENSE.txt
76
- files:
77
- - lib/ripl/rack.rb
78
- - bin/ripl-rack
79
- - LICENSE.txt
63
+ files:
64
+ - ".gemspec"
80
65
  - CHANGELOG.rdoc
66
+ - LICENSE.txt
81
67
  - README.rdoc
82
- - deps.rip
83
68
  - Rakefile
84
- - .gemspec
85
- has_rdoc: true
69
+ - bin/ripl-rack
70
+ - lib/ripl/rack.rb
86
71
  homepage: http://github.com/cldwalker/ripl-rack
87
- licenses:
72
+ licenses:
88
73
  - MIT
74
+ metadata: {}
89
75
  post_install_message:
90
76
  rdoc_options: []
91
-
92
- require_paths:
77
+ require_paths:
93
78
  - lib
94
- required_ruby_version: !ruby/object:Gem::Requirement
95
- none: false
96
- requirements:
79
+ required_ruby_version: !ruby/object:Gem::Requirement
80
+ requirements:
97
81
  - - ">="
98
- - !ruby/object:Gem::Version
99
- hash: 3
100
- segments:
101
- - 0
102
- version: "0"
103
- required_rubygems_version: !ruby/object:Gem::Requirement
104
- none: false
105
- requirements:
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ required_rubygems_version: !ruby/object:Gem::Requirement
85
+ requirements:
106
86
  - - ">="
107
- - !ruby/object:Gem::Version
108
- hash: 23
109
- segments:
110
- - 1
111
- - 3
112
- - 6
87
+ - !ruby/object:Gem::Version
113
88
  version: 1.3.6
114
89
  requirements: []
115
-
116
90
  rubyforge_project: tagaholic
117
- rubygems_version: 1.3.7
91
+ rubygems_version: 2.2.0
118
92
  signing_key:
119
- specification_version: 3
93
+ specification_version: 4
120
94
  summary: A script/console for rack apps using ripl
121
95
  test_files: []
122
-
data/deps.rip DELETED
@@ -1,3 +0,0 @@
1
- ripl >=0.3.5
2
- rack >=1.0
3
- rack-test >=0.5