rails_edge_test 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9654db88306694d98de1ec7993bd8ce144408bbeb48722da2a0c16530d9c831b
4
- data.tar.gz: 2cf31497316d73383d14e8928fd4c5fb52c3d73f5b4b116f8e23ee4e5aae5f04
3
+ metadata.gz: ac12a3070215271a224ce425b6b5c511129d97061278fa746b48c35749eb2a7c
4
+ data.tar.gz: 46f534f9126cca47737b57d20fdaf652c751133ebe4cbabb030c193ad2a06b10
5
5
  SHA512:
6
- metadata.gz: 67a3282d599391d0d8f9c949e22c2bea7e89064a664b0b8d145456f38a7b3352fe3a8d487019cf3180cd839dbefde51eb0cb046c49b5d3fd4170614d731382d0
7
- data.tar.gz: 52acbba668d2ca0a22be020fa7430661cb740c91d78fc4c41ed3e3df0eeee08695b2c3b614f0f694a93b0b29060394e1803fdd083a2305968f4f1dc6d88334e5
6
+ metadata.gz: d6f56c7ff6a8c9e853323cf03a80322806c256ef1eb9b6004ac4906c36cc673a7f075e4f41e151f97e28f135159754260e5ba3e188e4906946ae3d25bab002d9
7
+ data.tar.gz: dc730db1da71efa63bda8255747cccc7c4bbbee9271826fe1b568f9d154fac8e8861d9d68bf50f28763bd0aafdd9cb8adaedf42b77944177086e06c1361a89d0
data/CHANGELOG.md CHANGED
@@ -1,8 +1,19 @@
1
1
  # The Changelog
2
2
 
3
+
4
+
5
+ ## Version 1.1.0: April 2, 2019
6
+
7
+ - Edges passed in on command line must have the whole path. We _only_ look for edges by default in the `edge_root_path`, not also in the root path.
8
+
3
9
  ## Version 1.0.0: Feb 15, 2019
10
+
4
11
  - Deprecate Rails 4, add support for Rails 5
5
12
 
13
+ ## Version 0.8.0: April 2, 2019
14
+
15
+ - Edges passed in on command line must have the whole path. We _only_ look for edges by default in the `edge_root_path`, not also in the root path.
16
+
6
17
  ## Version 0.7.0: Dec 5, 2018
7
18
 
8
19
  - We can now pass a real path to the generate_edges command
@@ -9,23 +9,17 @@ module RailsEdgeTest
9
9
 
10
10
  RailsEdgeTest::Dsl.reset!
11
11
 
12
- glob_path = '**/*_edge.rb'
13
-
14
- if args.length > 0
15
- glob_path = args.shift
16
- end
17
-
18
- glob_with_root_path = File.join(
19
- RailsEdgeTest.configuration.edge_root_path,
20
- glob_path
21
- )
22
-
23
- # load files both at the root path and edge_root_path
24
- Dir.glob(glob_path).each do |file|
25
- load file
26
- end
27
-
28
- Dir.glob(glob_with_root_path).each do |file|
12
+ paths_to_load =
13
+ if args.any?
14
+ args
15
+ else
16
+ File.join(
17
+ RailsEdgeTest.configuration.edge_root_path,
18
+ '**/*_edge.rb'
19
+ )
20
+ end
21
+
22
+ Dir.glob(paths_to_load).each do |file|
29
23
  load file
30
24
  end
31
25
 
@@ -1,3 +1,3 @@
1
1
  module RailsEdgeTest
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency "actionpack", "~> 5.2"
25
25
 
26
26
  spec.add_development_dependency "rails", "~> 5.2"
27
- spec.add_development_dependency "sqlite3", "~> 1.3.6"
27
+ spec.add_development_dependency "sqlite3", "~> 1.4.0"
28
28
  spec.add_development_dependency "bundler", "~> 2.0"
29
29
  spec.add_development_dependency "rake", "~> 12.3"
30
30
  spec.add_development_dependency "rspec", "~> 3.8"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_edge_test
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
  - Joshua Leven
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-15 00:00:00.000000000 Z
11
+ date: 2019-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.3.6
47
+ version: 1.4.0
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.3.6
54
+ version: 1.4.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  - !ruby/object:Gem::Version
150
150
  version: '0'
151
151
  requirements: []
152
- rubygems_version: 3.0.2
152
+ rubygems_version: 3.0.3
153
153
  signing_key:
154
154
  specification_version: 4
155
155
  summary: Generate json for front-end testing using your rails backend.