air_traffic_control 0.0.2 → 0.0.3

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
  SHA1:
3
- metadata.gz: da38beed200c962b585f75e234f0da3e32b5e7f1
4
- data.tar.gz: eb5d2621845d1861c0c2f5139ef558e4762f25bc
3
+ metadata.gz: 3bfe036bd58746f72273ce3c08d352e1b7494656
4
+ data.tar.gz: 0f3b76f44aca5c0fc3490cb8fd781a8ca4fcf915
5
5
  SHA512:
6
- metadata.gz: 9c50f0df2a28c6d02aab543c78d6d9c426932c1e7ef72608431b71e1b507a4d132ce60abeb560df2403da16b92368cda9b122d6a5f02a03c6594d8519c0b0b7f
7
- data.tar.gz: 9aa2d795de4fabba95cbebd98298274f844f7efad639f2ac52977c6a8f4d8f467193fb1afb3d8cf53657ea021e6af8f24f5721d6da152b424478dc80e505c889
6
+ metadata.gz: c804d79995f79a2215ef8a3e37fbe8dd0dc958a122ec4de6aa1c87902bbcbde4fc8d781b53329cae4462bcaf7d9dd1e1ae33909e4cdaf5b0990ddaf2799eef52
7
+ data.tar.gz: e5299cc7b8a788cca2a21812a3f1a8b56b5b4f78fe301e4c3c8fa3067259947eb53248acdbaed5ada5284416028ac177e438ac9f71f52efeae51a3d24cb3df02
data/README.md CHANGED
@@ -18,12 +18,12 @@ bundle
18
18
  Basic Usage
19
19
  ---
20
20
 
21
- Create a class to process your form and have it inherit from ATC::Base. I typically create the following folder to hold my form classes: app/classes/forms
21
+ Create a class to process your form and have it inherit from ATC::Form. I typically create the following folder to hold my form classes: app/classes/forms
22
22
 
23
23
  **app/classes/forms/property.rb**
24
24
 
25
25
  ```ruby
26
- class Forms::Property < ATC::Base
26
+ class Forms::Property < ATC::Form
27
27
 
28
28
  input :bedrooms, :integer
29
29
  input :price, :float
@@ -61,7 +61,7 @@ General pattern:
61
61
 
62
62
  ```ruby
63
63
  # app/classes/forms/property.rb
64
- class Forms::Property < ATC::Base
64
+ class Forms::Property < ATC::Form
65
65
 
66
66
  input :bedrooms, :integer
67
67
  input :price, :float
@@ -38,7 +38,7 @@ module ATC
38
38
  def set_inputs
39
39
  setter = ATC::DirectoryParser.new(current_class_name: self.class.name)
40
40
  all_inputs = []
41
- ATC::Base.input_definitions.each do |class_name, form_inputs|
41
+ ATC::Form.input_definitions.each do |class_name, form_inputs|
42
42
  next unless setter.relevant_classes.include?(class_name)
43
43
  form_inputs.each do |form_input|
44
44
  all_inputs << set_input(form_input)
@@ -1,3 +1,3 @@
1
1
  module ATC
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: air_traffic_control
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Francis