bullet_train-super_scaffolding 1.0.7 → 1.0.8

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
2
  SHA256:
3
- metadata.gz: 3bcd9e0be2aa17210990067b3a2d43f624450d380d50503be510bd2744d7da11
4
- data.tar.gz: 2550d7faf22d005b3997d185f05dd6a4cb7c8d26c97130497e84b5dc5b3c34ef
3
+ metadata.gz: bfdc2fb6d3d94d5db53ecf46bd69b01cb429fa35d3e3d73439e98baf37badee6
4
+ data.tar.gz: bb887c194a7c8e0bba622991344f846db4aa420b1474927fd2f4ad4d5a57de7a
5
5
  SHA512:
6
- metadata.gz: 951c8ae79449a58036bd66b87cfba7d07b6a5e33c6b2fbac99f32cf9d81ea58bc53046a793dee952d7d1455f44f2c6e970605b0ff7c0f6a6bdf17c4c602bd347
7
- data.tar.gz: 222c2cd02aa95cc849449130a1d59647d6abf3ad5ed3e4c12524f46138432388c1e33d67c57a60c10fecc0586695477eb6c710f5ed3440960974c65f7888fe38
6
+ metadata.gz: fcb7b79415897ad6e756d102295ddc78b59c2015e3410c6a31fb681c7b92066bf82bc9cf758e7a9d3e57b8dc2623e3402d9380c6f4434661b50476a345a21fe2
7
+ data.tar.gz: 14ff4eaad35e66d4c7cc55f06c753b4a9e008457956f124603a722308d81520c97ee34cbefdbf27bdd45050f6c41d13d4ac01eb0fbe9c18d93cf9a8517032046
@@ -7,7 +7,7 @@ module BulletTrain
7
7
  BulletTrain::SuperScaffolding.template_paths << Rails.root.to_s
8
8
 
9
9
  # Register the base path of this package with the Super Scaffolding engine.
10
- BulletTrain::SuperScaffolding.template_paths << File.expand_path('../../../..', __FILE__)
10
+ BulletTrain::SuperScaffolding.template_paths << File.expand_path("../../../..", __FILE__)
11
11
  end
12
12
  end
13
13
  end
@@ -26,7 +26,7 @@ module BulletTrain
26
26
  # get all the attributes.
27
27
  attributes = argv[1..-1]
28
28
 
29
- check_required_options_for_attributes('crud-field', attributes, child)
29
+ check_required_options_for_attributes("crud-field", attributes, child)
30
30
 
31
31
  transformer = Scaffolding::Transformer.new(child, parents, @options)
32
32
  transformer.add_attributes_to_various_views(attributes, type: :crud_field)
@@ -45,9 +45,7 @@ module BulletTrain
45
45
  # get all the attributes.
46
46
  attributes = argv[2..-1]
47
47
 
48
- check_required_options_for_attributes('crud', attributes, child, parent)
49
-
50
- binding.pry
48
+ check_required_options_for_attributes("crud", attributes, child, parent)
51
49
 
52
50
  transformer = Scaffolding::Transformer.new(child, parents, @options)
53
51
  transformer.scaffold_crud(attributes)
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module SuperScaffolding
3
- VERSION = "1.0.7"
3
+ VERSION = "1.0.8"
4
4
  end
5
5
  end
@@ -13,7 +13,7 @@ module BulletTrain
13
13
  "crud" => "BulletTrain::SuperScaffolding::Scaffolders::CrudScaffolder",
14
14
  "crud-field" => "BulletTrain::SuperScaffolding::Scaffolders::CrudFieldScaffolder",
15
15
  "join-model" => "BulletTrain::SuperScaffolding::Scaffolders::JoinModelScaffolder",
16
- "oauth-provider" => "BulletTrain::SuperScaffolding::Scaffolders::OauthProviderScaffolder",
16
+ "oauth-provider" => "BulletTrain::SuperScaffolding::Scaffolders::OauthProviderScaffolder"
17
17
  }
18
18
 
19
19
  class Runner
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-super_scaffolding
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver