frap 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/README.md +1 -1
- data/lib/frap/generators/flutter_resource.rb +1 -1
- data/lib/frap/generators/templates/dart/src/models/base_model.dart.erb +1 -1
- data/lib/frap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4ccb7fb0a6f19ab54b0db5b5fc7776dd35406f971e0657c4474a3adfbe5022f
|
4
|
+
data.tar.gz: 9b07e1767250ccc89d8a899f4e0726092a62380cc8af81bbbd2db0cbeb1ac723
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c05574bdcbd4679a904c377964a18d658cdd104ff2ccf55122699f7c1e6c72a1da61b1574f8a33d27832358e97f09450e1c93c9785b5464ade4a81b9bea90687
|
7
|
+
data.tar.gz: 0ffb20b597f40e957f4ce679bb962d7cfee524d95fa249851cc98e0245af894108588fc94becadc907dbbdfb66488c166c9ff3ae186e2191948b51687c4f6c75
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
frap (0.2.
|
4
|
+
frap (0.2.3)
|
5
5
|
thor (~> 0.20.3)
|
6
6
|
|
7
7
|
GEM
|
@@ -79,7 +79,7 @@ GEM
|
|
79
79
|
minitest (5.11.3)
|
80
80
|
msgpack (1.3.1)
|
81
81
|
nio4r (2.4.0)
|
82
|
-
nokogiri (1.10.
|
82
|
+
nokogiri (1.10.4)
|
83
83
|
mini_portile2 (~> 2.4.0)
|
84
84
|
rack (2.0.7)
|
85
85
|
rack-test (1.1.0)
|
data/README.md
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
CLI interface to quickly prototype Flutter App's using the BLoC pattern with a Rails API server.
|
5
5
|
|
6
6
|
[changelog](https://github.com/flippakitten/frap/wiki/Change-Log-Published)
|
7
|
-
[roadmap](https://github.com/flippakitten/frap/projects/
|
7
|
+
[roadmap](https://github.com/flippakitten/frap/projects/2)
|
8
8
|
|
9
9
|
## Prerequisites
|
10
10
|
|
@@ -104,7 +104,7 @@ module Frap
|
|
104
104
|
|
105
105
|
def index_screen_route
|
106
106
|
<<~EOF.chomp
|
107
|
-
\n
|
107
|
+
\n const Page(title: '#{name.pluralize}', icon: Icons.home, route: #{name}IndexScreenRoute),
|
108
108
|
EOF
|
109
109
|
end
|
110
110
|
|
@@ -5,7 +5,7 @@ class <%= @name_capitalized_plural %> {
|
|
5
5
|
<%= @name_capitalized_plural %>.fromJson(Map<String, dynamic> parsedJson) {
|
6
6
|
List<<%= @name_capitalized_single %>> temp = [];
|
7
7
|
for (int i = 0; i < parsedJson['<%= @name_downcased_plural %>'].length; i++) {
|
8
|
-
<%= @name_capitalized_single %> result = <%= @name_capitalized_single %>.fromJson(parsedJson['<%= @name_downcased_plural %>'][i]);
|
8
|
+
<%= @name_capitalized_single %> result = <%= @name_capitalized_single %>.fromJson(parsedJson['<%= @name_downcased_plural %>'][i]);
|
9
9
|
temp.add(result);
|
10
10
|
}
|
11
11
|
_results = temp;
|
data/lib/frap/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: frap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Gascoigne - Taylor
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|