app_rail-airtable 0.2.3 → 0.2.4

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: c2f18121969b1289392808cbd8d44b13c24fdadee380024e1f84815f9c439197
4
- data.tar.gz: 7d81150a6b3a7c23f147a536488d24461e074ae13b51558164ce1006ab9e7e79
3
+ metadata.gz: 88c9ba34b03585c9c61882bbc0427d731a9b8ad4176094a5e92ffd8bf3ff7adb
4
+ data.tar.gz: c9b0a34edb0a4fbcfb2c4d12d6d05fbaa368d31ca4506d28abda1bf95da783d3
5
5
  SHA512:
6
- metadata.gz: 7177fc23a347032cc2b03041e6d74238789b937e9e73fea3fee66584c78ddf6928ece275780be6882af03fc624f665797049eb70266412589cb52d3ec810d4d5
7
- data.tar.gz: d137d55da455f248203ed5b6996d23b54f2f7cb1301a8e07f8506c37bed397d44456076e61819faaa370d2412cff06e90aa47a824fbe990c1f60495709bc22a7
6
+ metadata.gz: 6943d74c4eb6cd81e3788b87f81650d5af4c7486f882f2ef0dcebafc7ad273ac01f44a95748a7d04de86155e8f794d55d0eaa26ca927168520e8af89a09835c7
7
+ data.tar.gz: 33d6a04b6e9dee379e8bffd1dab044b8feeab27c546ce22b93b6cc6d42a49c7cc3c2960791ad9ec630d9089676d116bc23968e018e4089db87fc84342717e798
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- app_rail-airtable (0.2.3)
4
+ app_rail-airtable (0.2.4)
5
5
  activesupport
6
6
  airrecord
7
7
  sinatra
@@ -3,26 +3,29 @@ require 'thor'
3
3
  require 'airrecord'
4
4
  require 'app_rail/airtable/string_ext'
5
5
 
6
- class AppRail::Airtable::Generator < Thor::Group
7
- include Thor::Actions
6
+ module AppRail
7
+ module Airtable
8
+ class Generator < Thor::Group
9
+ include Thor::Actions
8
10
 
9
- argument :output_directory
10
- argument :api_key
11
- argument :base_id
12
- argument :tables
11
+ argument :output_directory
12
+ argument :api_key
13
+ argument :base_id
14
+ argument :tables
13
15
 
14
- def self.source_root
15
- File.join(File.dirname(__FILE__), "..", "..", "..")
16
- end
16
+ def self.source_root
17
+ File.join(File.dirname(__FILE__), "..", "..", "..")
18
+ end
17
19
 
18
- def create_project
19
- # Build tables
20
- @table_definitions = tables.split(",").map {|t| Airrecord.table(api_key, base_id, t.strip) }
21
- directory('templates/project', output_directory)
22
- end
20
+ def create_project
21
+ # Build tables
22
+ @table_definitions = tables.split(",").map {|t| Airrecord.table(api_key, base_id, t.strip) }
23
+ directory('templates/project', output_directory)
24
+ end
23
25
 
24
- def self.exit_on_failure?
25
- true
26
+ def self.exit_on_failure?
27
+ true
28
+ end
29
+ end
26
30
  end
27
-
28
31
  end
@@ -1,5 +1,5 @@
1
1
  module AppRail
2
2
  module Airtable
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_rail-airtable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brooke-Smith