js_rails_routes 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,34 @@
1
+ # frozen_string_literal: true
2
+
3
+ module JSRailsRoutes
4
+ module SpecHelper
5
+ class TestApp < ::Rails::Application
6
+ config.root = ::File.expand_path('../../tmp/test_app', __dir__)
7
+
8
+ routes.draw do
9
+ resources :blogs
10
+ resources :users
11
+ end
12
+ end
13
+
14
+ class TestEngine < ::Rails::Engine
15
+ def self.name
16
+ 'Admin::Engine'
17
+ end
18
+
19
+ routes.draw do
20
+ resources :notes
21
+ resources :photos
22
+ end
23
+ end
24
+
25
+ class EmptyEngine < ::Rails::Engine
26
+ def self.name
27
+ 'Empty::Engine'
28
+ end
29
+
30
+ routes.draw do
31
+ end
32
+ end
33
+ end
34
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: js_rails_routes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yuku Takahashi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-11 00:00:00.000000000 Z
11
+ date: 2018-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -86,14 +86,28 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.57.2
89
+ version: 0.58.1
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.57.2
96
+ version: 0.58.1
97
+ - !ruby/object:Gem::Dependency
98
+ name: rubocop-rspec
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1.27'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1.27'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: simplecov
99
113
  requirement: !ruby/object:Gem::Requirement
@@ -127,13 +141,28 @@ files:
127
141
  - Rakefile
128
142
  - js_rails_routes.gemspec
129
143
  - lib/js_rails_routes.rb
144
+ - lib/js_rails_routes/builder.rb
145
+ - lib/js_rails_routes/configuration.rb
130
146
  - lib/js_rails_routes/engine.rb
131
147
  - lib/js_rails_routes/generator.rb
148
+ - lib/js_rails_routes/language/base.rb
149
+ - lib/js_rails_routes/language/javascript.rb
150
+ - lib/js_rails_routes/route.rb
151
+ - lib/js_rails_routes/route_set.rb
132
152
  - lib/js_rails_routes/version.rb
133
153
  - lib/tasks/js_rails_routes.rake
154
+ - spec/js_rails_routes/builder_spec.rb
155
+ - spec/js_rails_routes/configuration_spec.rb
134
156
  - spec/js_rails_routes/generator_spec.rb
157
+ - spec/js_rails_routes/language/base_spec.rb
158
+ - spec/js_rails_routes/language/javascript_spec.rb
159
+ - spec/js_rails_routes/route_set_spec.rb
160
+ - spec/js_rails_routes/route_spec.rb
135
161
  - spec/js_rails_routes_spec.rb
136
162
  - spec/spec_helper.rb
163
+ - spec/support/matchers/not_change.rb
164
+ - spec/support/shared_contexts/run_in_a_sandbox.rb
165
+ - spec/support/test_app.rb
137
166
  - spec/tmp/.keep
138
167
  homepage: https://github.com/yuku-t/js_rails_routes
139
168
  licenses: