view_opener 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.travis.yml +7 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +158 -0
- data/LICENSE.txt +21 -0
- data/README.md +59 -0
- data/Rakefile +6 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/lib/view_opener.rb +15 -0
- data/lib/view_opener/configuration.rb +11 -0
- data/lib/view_opener/current.rb +12 -0
- data/lib/view_opener/helpers.rb +23 -0
- data/lib/view_opener/railtie.rb +15 -0
- data/lib/view_opener/subscriber.rb +21 -0
- data/lib/view_opener/version.rb +3 -0
- data/view_opener.gemspec +29 -0
- metadata +118 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 29f36547a688b359f03e686db4995d13908e5a94f1eb0344f0a1ec461029cf6d
|
4
|
+
data.tar.gz: 28f2f184a10d2c11d92c0f2251137b753697cab9098aafda3240b42097dc131f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 437c4e07d8746ff7794bf89728edf88a367d144ee7c2254d73e18dd8b664c4d93f418c7e06e5729c359241ae41ac8a6754e804bd90e6517ddd937536945265bc
|
7
|
+
data.tar.gz: 44bab893f2513a5b84dbc8af544d47f7f5ceb4cba76e489a543c51027745652876b4595900f3cb0bf7ad593ee7f3536ab69555b87cd54390384623828b556b60
|
data/.gitignore
ADDED
data/.rspec
ADDED
data/.travis.yml
ADDED
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
# Contributor Covenant Code of Conduct
|
2
|
+
|
3
|
+
## Our Pledge
|
4
|
+
|
5
|
+
In the interest of fostering an open and welcoming environment, we as
|
6
|
+
contributors and maintainers pledge to making participation in our project and
|
7
|
+
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
+
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
+
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
+
orientation.
|
11
|
+
|
12
|
+
## Our Standards
|
13
|
+
|
14
|
+
Examples of behavior that contributes to creating a positive environment
|
15
|
+
include:
|
16
|
+
|
17
|
+
* Using welcoming and inclusive language
|
18
|
+
* Being respectful of differing viewpoints and experiences
|
19
|
+
* Gracefully accepting constructive criticism
|
20
|
+
* Focusing on what is best for the community
|
21
|
+
* Showing empathy towards other community members
|
22
|
+
|
23
|
+
Examples of unacceptable behavior by participants include:
|
24
|
+
|
25
|
+
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
+
advances
|
27
|
+
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
+
* Public or private harassment
|
29
|
+
* Publishing others' private information, such as a physical or electronic
|
30
|
+
address, without explicit permission
|
31
|
+
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
+
professional setting
|
33
|
+
|
34
|
+
## Our Responsibilities
|
35
|
+
|
36
|
+
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
+
behavior and are expected to take appropriate and fair corrective action in
|
38
|
+
response to any instances of unacceptable behavior.
|
39
|
+
|
40
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
+
threatening, offensive, or harmful.
|
45
|
+
|
46
|
+
## Scope
|
47
|
+
|
48
|
+
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
+
when an individual is representing the project or its community. Examples of
|
50
|
+
representing a project or community include using an official project e-mail
|
51
|
+
address, posting via an official social media account, or acting as an appointed
|
52
|
+
representative at an online or offline event. Representation of a project may be
|
53
|
+
further defined and clarified by project maintainers.
|
54
|
+
|
55
|
+
## Enforcement
|
56
|
+
|
57
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
+
reported by contacting the project team at lala.akira@gmail.com. All
|
59
|
+
complaints will be reviewed and investigated and will result in a response that
|
60
|
+
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
+
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
+
Further details of specific enforcement policies may be posted separately.
|
63
|
+
|
64
|
+
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
+
faith may face temporary or permanent repercussions as determined by other
|
66
|
+
members of the project's leadership.
|
67
|
+
|
68
|
+
## Attribution
|
69
|
+
|
70
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
+
available at [http://contributor-covenant.org/version/1/4][version]
|
72
|
+
|
73
|
+
[homepage]: http://contributor-covenant.org
|
74
|
+
[version]: http://contributor-covenant.org/version/1/4/
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,158 @@
|
|
1
|
+
PATH
|
2
|
+
remote: .
|
3
|
+
specs:
|
4
|
+
view_opener (0.1.0)
|
5
|
+
rails (>= 5.2.0)
|
6
|
+
|
7
|
+
GEM
|
8
|
+
remote: https://rubygems.org/
|
9
|
+
specs:
|
10
|
+
actioncable (6.0.1)
|
11
|
+
actionpack (= 6.0.1)
|
12
|
+
nio4r (~> 2.0)
|
13
|
+
websocket-driver (>= 0.6.1)
|
14
|
+
actionmailbox (6.0.1)
|
15
|
+
actionpack (= 6.0.1)
|
16
|
+
activejob (= 6.0.1)
|
17
|
+
activerecord (= 6.0.1)
|
18
|
+
activestorage (= 6.0.1)
|
19
|
+
activesupport (= 6.0.1)
|
20
|
+
mail (>= 2.7.1)
|
21
|
+
actionmailer (6.0.1)
|
22
|
+
actionpack (= 6.0.1)
|
23
|
+
actionview (= 6.0.1)
|
24
|
+
activejob (= 6.0.1)
|
25
|
+
mail (~> 2.5, >= 2.5.4)
|
26
|
+
rails-dom-testing (~> 2.0)
|
27
|
+
actionpack (6.0.1)
|
28
|
+
actionview (= 6.0.1)
|
29
|
+
activesupport (= 6.0.1)
|
30
|
+
rack (~> 2.0)
|
31
|
+
rack-test (>= 0.6.3)
|
32
|
+
rails-dom-testing (~> 2.0)
|
33
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
34
|
+
actiontext (6.0.1)
|
35
|
+
actionpack (= 6.0.1)
|
36
|
+
activerecord (= 6.0.1)
|
37
|
+
activestorage (= 6.0.1)
|
38
|
+
activesupport (= 6.0.1)
|
39
|
+
nokogiri (>= 1.8.5)
|
40
|
+
actionview (6.0.1)
|
41
|
+
activesupport (= 6.0.1)
|
42
|
+
builder (~> 3.1)
|
43
|
+
erubi (~> 1.4)
|
44
|
+
rails-dom-testing (~> 2.0)
|
45
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
46
|
+
activejob (6.0.1)
|
47
|
+
activesupport (= 6.0.1)
|
48
|
+
globalid (>= 0.3.6)
|
49
|
+
activemodel (6.0.1)
|
50
|
+
activesupport (= 6.0.1)
|
51
|
+
activerecord (6.0.1)
|
52
|
+
activemodel (= 6.0.1)
|
53
|
+
activesupport (= 6.0.1)
|
54
|
+
activestorage (6.0.1)
|
55
|
+
actionpack (= 6.0.1)
|
56
|
+
activejob (= 6.0.1)
|
57
|
+
activerecord (= 6.0.1)
|
58
|
+
marcel (~> 0.3.1)
|
59
|
+
activesupport (6.0.1)
|
60
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
61
|
+
i18n (>= 0.7, < 2)
|
62
|
+
minitest (~> 5.1)
|
63
|
+
tzinfo (~> 1.1)
|
64
|
+
zeitwerk (~> 2.2)
|
65
|
+
builder (3.2.3)
|
66
|
+
concurrent-ruby (1.1.5)
|
67
|
+
crass (1.0.5)
|
68
|
+
diff-lcs (1.3)
|
69
|
+
erubi (1.9.0)
|
70
|
+
globalid (0.4.2)
|
71
|
+
activesupport (>= 4.2.0)
|
72
|
+
i18n (1.7.0)
|
73
|
+
concurrent-ruby (~> 1.0)
|
74
|
+
loofah (2.3.1)
|
75
|
+
crass (~> 1.0.2)
|
76
|
+
nokogiri (>= 1.5.9)
|
77
|
+
mail (2.7.1)
|
78
|
+
mini_mime (>= 0.1.1)
|
79
|
+
marcel (0.3.3)
|
80
|
+
mimemagic (~> 0.3.2)
|
81
|
+
method_source (0.9.2)
|
82
|
+
mimemagic (0.3.3)
|
83
|
+
mini_mime (1.0.2)
|
84
|
+
mini_portile2 (2.4.0)
|
85
|
+
minitest (5.13.0)
|
86
|
+
nio4r (2.5.2)
|
87
|
+
nokogiri (1.10.5)
|
88
|
+
mini_portile2 (~> 2.4.0)
|
89
|
+
rack (2.0.7)
|
90
|
+
rack-test (1.1.0)
|
91
|
+
rack (>= 1.0, < 3)
|
92
|
+
rails (6.0.1)
|
93
|
+
actioncable (= 6.0.1)
|
94
|
+
actionmailbox (= 6.0.1)
|
95
|
+
actionmailer (= 6.0.1)
|
96
|
+
actionpack (= 6.0.1)
|
97
|
+
actiontext (= 6.0.1)
|
98
|
+
actionview (= 6.0.1)
|
99
|
+
activejob (= 6.0.1)
|
100
|
+
activemodel (= 6.0.1)
|
101
|
+
activerecord (= 6.0.1)
|
102
|
+
activestorage (= 6.0.1)
|
103
|
+
activesupport (= 6.0.1)
|
104
|
+
bundler (>= 1.3.0)
|
105
|
+
railties (= 6.0.1)
|
106
|
+
sprockets-rails (>= 2.0.0)
|
107
|
+
rails-dom-testing (2.0.3)
|
108
|
+
activesupport (>= 4.2.0)
|
109
|
+
nokogiri (>= 1.6)
|
110
|
+
rails-html-sanitizer (1.3.0)
|
111
|
+
loofah (~> 2.3)
|
112
|
+
railties (6.0.1)
|
113
|
+
actionpack (= 6.0.1)
|
114
|
+
activesupport (= 6.0.1)
|
115
|
+
method_source
|
116
|
+
rake (>= 0.8.7)
|
117
|
+
thor (>= 0.20.3, < 2.0)
|
118
|
+
rake (10.5.0)
|
119
|
+
rspec (3.9.0)
|
120
|
+
rspec-core (~> 3.9.0)
|
121
|
+
rspec-expectations (~> 3.9.0)
|
122
|
+
rspec-mocks (~> 3.9.0)
|
123
|
+
rspec-core (3.9.0)
|
124
|
+
rspec-support (~> 3.9.0)
|
125
|
+
rspec-expectations (3.9.0)
|
126
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
127
|
+
rspec-support (~> 3.9.0)
|
128
|
+
rspec-mocks (3.9.0)
|
129
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
130
|
+
rspec-support (~> 3.9.0)
|
131
|
+
rspec-support (3.9.0)
|
132
|
+
sprockets (4.0.0)
|
133
|
+
concurrent-ruby (~> 1.0)
|
134
|
+
rack (> 1, < 3)
|
135
|
+
sprockets-rails (3.2.1)
|
136
|
+
actionpack (>= 4.0)
|
137
|
+
activesupport (>= 4.0)
|
138
|
+
sprockets (>= 3.0.0)
|
139
|
+
thor (0.20.3)
|
140
|
+
thread_safe (0.3.6)
|
141
|
+
tzinfo (1.2.5)
|
142
|
+
thread_safe (~> 0.1)
|
143
|
+
websocket-driver (0.7.1)
|
144
|
+
websocket-extensions (>= 0.1.0)
|
145
|
+
websocket-extensions (0.1.4)
|
146
|
+
zeitwerk (2.2.1)
|
147
|
+
|
148
|
+
PLATFORMS
|
149
|
+
ruby
|
150
|
+
|
151
|
+
DEPENDENCIES
|
152
|
+
bundler (~> 2.0)
|
153
|
+
rake (~> 10.0)
|
154
|
+
rspec (~> 3.0)
|
155
|
+
view_opener!
|
156
|
+
|
157
|
+
BUNDLED WITH
|
158
|
+
2.0.2
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2019 aki
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
13
|
+
all copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,59 @@
|
|
1
|
+
# View Opener
|
2
|
+
|
3
|
+
Open view in the editor.
|
4
|
+
|
5
|
+
![demo](https://i.gyazo.com/a8c91867a7f74da9c4f6601dd6bd94ba.png)
|
6
|
+
|
7
|
+
## Installation
|
8
|
+
|
9
|
+
Add this line to your application's Gemfile:
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
gem 'view_opener'
|
13
|
+
```
|
14
|
+
|
15
|
+
And then execute:
|
16
|
+
|
17
|
+
$ bundle
|
18
|
+
|
19
|
+
Or install it yourself as:
|
20
|
+
|
21
|
+
$ gem install view_opener
|
22
|
+
|
23
|
+
## Usage
|
24
|
+
|
25
|
+
In `app/views/layout/application.html.haml`:
|
26
|
+
|
27
|
+
```haml
|
28
|
+
!!!
|
29
|
+
%html
|
30
|
+
%head
|
31
|
+
%title MyAPP
|
32
|
+
= favicon_link_tag '/favicon.ico'
|
33
|
+
%body
|
34
|
+
= yield
|
35
|
+
- if Rails.env.development?
|
36
|
+
= view_opener
|
37
|
+
```
|
38
|
+
|
39
|
+
## Configuration
|
40
|
+
|
41
|
+
In `config/initializers/view_opener.rb`, you can configure the following values.
|
42
|
+
|
43
|
+
```ruby
|
44
|
+
ViewOpener.configure do |config|
|
45
|
+
# config.file_link_format = 'vscode://file%s' # vscode(default)
|
46
|
+
# config.file_link_format = 'mvim://open?url=file://%s' # macvim
|
47
|
+
# config.file_link_format = 'emacs://open?url=file://%s' # emacs
|
48
|
+
# config.file_link_format = 'atom://core/open/file?filename=%s' # atom
|
49
|
+
# config.file_link_format = 'rubymine://open?url=file://%s' # rubymine
|
50
|
+
end
|
51
|
+
```
|
52
|
+
|
53
|
+
## Contributing
|
54
|
+
|
55
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/aki77/view_opener. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
56
|
+
|
57
|
+
## License
|
58
|
+
|
59
|
+
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/Rakefile
ADDED
data/bin/console
ADDED
@@ -0,0 +1,14 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
require "bundler/setup"
|
4
|
+
require "view_opener"
|
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(__FILE__)
|
data/bin/setup
ADDED
data/lib/view_opener.rb
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'view_opener/version'
|
2
|
+
require 'view_opener/railtie'
|
3
|
+
require 'view_opener/configuration'
|
4
|
+
|
5
|
+
module ViewOpener
|
6
|
+
class << self
|
7
|
+
def configure
|
8
|
+
yield(configuration)
|
9
|
+
end
|
10
|
+
|
11
|
+
def configuration
|
12
|
+
@configuration ||= Configuration.new
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
require 'view_opener/current'
|
2
|
+
|
3
|
+
module ViewOpener
|
4
|
+
module Helpers
|
5
|
+
def view_opener
|
6
|
+
view_dir = Rails.root.join('app', 'views')
|
7
|
+
console_logs = Current.views.map do |view|
|
8
|
+
name = view.sub(%r{^#{view_dir}/}, '')
|
9
|
+
link = sprintf(ViewOpener.configuration.file_link_format, view)
|
10
|
+
"console.log('%c#{name}: %o', 'font-weight: bold;', '#{link}');"
|
11
|
+
end
|
12
|
+
|
13
|
+
javascript_tag <<~JS
|
14
|
+
if (console && console.groupCollapsed) {
|
15
|
+
console.log('%c[view opener] %c%d views', 'font-weight: bold', '', #{console_logs.size});
|
16
|
+
console.groupCollapsed();
|
17
|
+
#{console_logs.join("\n")}
|
18
|
+
console.groupEnd();
|
19
|
+
}
|
20
|
+
JS
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'rails/railtie'
|
2
|
+
|
3
|
+
module ViewOpener
|
4
|
+
class Railtie < Rails::Railtie
|
5
|
+
initializer 'initialize_view_opener', after: 'active_support.reset_all_current_attributes_instances' do |app|
|
6
|
+
require 'view_opener/subscriber'
|
7
|
+
Subscriber.attach_to :action_view
|
8
|
+
end
|
9
|
+
|
10
|
+
ActiveSupport.on_load :action_view do
|
11
|
+
require 'view_opener/helpers'
|
12
|
+
include Helpers
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'view_opener/current'
|
2
|
+
|
3
|
+
module ViewOpener
|
4
|
+
class Subscriber < ActiveSupport::Subscriber
|
5
|
+
def render_template(event)
|
6
|
+
Current.views << event.payload[:identifier]
|
7
|
+
if event.payload[:layout].present?
|
8
|
+
# TODO: guess of extension
|
9
|
+
# Current.views << Rails.root.join('app', 'views', event.payload[:layout])
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
def render_partial(event)
|
14
|
+
Current.views << event.payload[:identifier]
|
15
|
+
end
|
16
|
+
|
17
|
+
def render_collection(event)
|
18
|
+
Current.views << event.payload[:identifier]
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
data/view_opener.gemspec
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
lib = File.expand_path("lib", __dir__)
|
2
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
+
require "view_opener/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |spec|
|
6
|
+
spec.name = "view_opener"
|
7
|
+
spec.version = ViewOpener::VERSION
|
8
|
+
spec.authors = ["aki77"]
|
9
|
+
spec.email = ["aki77@users.noreply.github.com"]
|
10
|
+
|
11
|
+
spec.summary = "Open view in the editor"
|
12
|
+
spec.description = "Open view in the editor"
|
13
|
+
spec.homepage = "https://github.com/aki77/view_opener"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
# Specify which files should be added to the gem when it is released.
|
17
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
|
+
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
19
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
20
|
+
end
|
21
|
+
spec.bindir = "exe"
|
22
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
|
+
spec.require_paths = ["lib"]
|
24
|
+
|
25
|
+
spec.add_dependency 'rails', '>= 5.2.0'
|
26
|
+
spec.add_development_dependency "bundler", "~> 2.0"
|
27
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.0"
|
29
|
+
end
|
metadata
ADDED
@@ -0,0 +1,118 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: view_opener
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- aki77
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2019-11-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rails
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 5.2.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 5.2.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '3.0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '3.0'
|
69
|
+
description: Open view in the editor
|
70
|
+
email:
|
71
|
+
- aki77@users.noreply.github.com
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- ".gitignore"
|
77
|
+
- ".rspec"
|
78
|
+
- ".travis.yml"
|
79
|
+
- CODE_OF_CONDUCT.md
|
80
|
+
- Gemfile
|
81
|
+
- Gemfile.lock
|
82
|
+
- LICENSE.txt
|
83
|
+
- README.md
|
84
|
+
- Rakefile
|
85
|
+
- bin/console
|
86
|
+
- bin/setup
|
87
|
+
- lib/view_opener.rb
|
88
|
+
- lib/view_opener/configuration.rb
|
89
|
+
- lib/view_opener/current.rb
|
90
|
+
- lib/view_opener/helpers.rb
|
91
|
+
- lib/view_opener/railtie.rb
|
92
|
+
- lib/view_opener/subscriber.rb
|
93
|
+
- lib/view_opener/version.rb
|
94
|
+
- view_opener.gemspec
|
95
|
+
homepage: https://github.com/aki77/view_opener
|
96
|
+
licenses:
|
97
|
+
- MIT
|
98
|
+
metadata: {}
|
99
|
+
post_install_message:
|
100
|
+
rdoc_options: []
|
101
|
+
require_paths:
|
102
|
+
- lib
|
103
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ">="
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '0'
|
108
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
109
|
+
requirements:
|
110
|
+
- - ">="
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '0'
|
113
|
+
requirements: []
|
114
|
+
rubygems_version: 3.0.3
|
115
|
+
signing_key:
|
116
|
+
specification_version: 4
|
117
|
+
summary: Open view in the editor
|
118
|
+
test_files: []
|