iruby-rails 1.0.0 → 1.1.0

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
- SHA1:
3
- metadata.gz: 669602fd7f2ae7b2d9b50dbd2417d58e5eecf149
4
- data.tar.gz: 70bb151e16c9f0dae3ebfec20c5caa78c53ac76a
2
+ SHA256:
3
+ metadata.gz: 4063b7b1004244550776af9a41a86e283f69e7d9411d094c6a3a610e4da4d180
4
+ data.tar.gz: 826976ac6554d74dda8293e8f36010b7e4a3dff3c9f52580e62266b4c98ce833
5
5
  SHA512:
6
- metadata.gz: 6968ccbfd667c0f4254601bfc7996e53e9273c606989663f08ab2c2d9f644a34e8e5dabe3334c92a4880c5132622db66105223c02e1ab616501e35e302e7a1e0
7
- data.tar.gz: 46be2867d07981cf515a7692cb49d31394cc93223baa691652029190d5d0fd168d3f077eb971acb90149857fea1ea5167b210ad4f9bd884eb093c71fdc5b772d
6
+ metadata.gz: 4275e1763cca31058075dd7bb12d1b201b3bd5a797c778a3ce54e36212b7b21adbf85a1481fe2c558e764db3984a06079551d1af19d8aeede8ffc72cbf7ed5ae
7
+ data.tar.gz: d541eaf4ef9840130d295c03626d6abca9a35d865d2ee64b9839e0027303019b82bbabf932d11ce6a9c76e469ded0ba652b4c58e2771a60345ea4aa3237a9337
data/README.md CHANGED
@@ -12,6 +12,10 @@ Add this line to your application's Gemfile:
12
12
 
13
13
  ```ruby
14
14
  gem 'iruby-rails', group: :development
15
+
16
+ # You have to specify which cztop or ffi-rzmq do you use for ZMQ
17
+ gem 'cztop'
18
+ # gem 'ffi-rzmq'
15
19
  ```
16
20
 
17
21
  And then execute:
@@ -24,6 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency "rspec", "~> 3.0"
25
25
 
26
26
  spec.add_dependency "rails"
27
- spec.add_dependency "iruby", "~> 0.2.9"
28
- spec.add_dependency "ffi-rzmq", "~> 2.0.4"
27
+ spec.add_dependency "iruby", "~> 0.3"
29
28
  end
@@ -38,7 +38,14 @@ module IRuby
38
38
  puts "Loading #{::Rails.env} environment (Rails #{::Rails.version})"
39
39
  end
40
40
 
41
- console = app.config.console || IRB
41
+ console =
42
+ if app.config.console
43
+ app.config.console
44
+ else
45
+ require "irb"
46
+ IRB
47
+ end
48
+
42
49
  if defined?(console::ExtendCommandBundle)
43
50
  console::ExtendCommandBundle.include(::Rails::ConsoleMethods)
44
51
  end
@@ -1,5 +1,5 @@
1
1
  module Iruby
2
2
  module Rails
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iruby-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenta Murata
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-17 00:00:00.000000000 Z
11
+ date: 2019-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -72,28 +72,14 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.2.9
75
+ version: '0.3'
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.2.9
83
- - !ruby/object:Gem::Dependency
84
- name: ffi-rzmq
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: 2.0.4
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: 2.0.4
82
+ version: '0.3'
97
83
  description: Loading rails environment in iRuby notebook shell
98
84
  email:
99
85
  - mrkn@mrkn.jp
@@ -132,8 +118,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
118
  - !ruby/object:Gem::Version
133
119
  version: '0'
134
120
  requirements: []
135
- rubyforge_project:
136
- rubygems_version: 2.6.3
121
+ rubygems_version: 3.0.2
137
122
  signing_key:
138
123
  specification_version: 4
139
124
  summary: IRuby and Rails integration