ctlst 0.1.8 → 0.1.9

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: '078bf82d75f0f4a4fbab61f5511c4f1916a9fead21d1ac908541ca7c16341429'
4
- data.tar.gz: 90225bda4259fe100c36af5ea8be9c2e99e8224beeafc6409343fa3f18a68be0
3
+ metadata.gz: 485fe6890c7a3e00b1506f3f3190c222a53d3cf6dcb15283948f3d1d04b8e227
4
+ data.tar.gz: 1aa25920425d6f61dfb5b19c99ea83629ef1938f2fcbcb7223f9222031a62bad
5
5
  SHA512:
6
- metadata.gz: f637d1a4c1d16534d6c241ff1b26b609de21f6dbf158a296a3831d745190fbfad47557000193fb42d0105d9673504def64454defaedfb1a67b1aec5e3a6ea174
7
- data.tar.gz: a9250a7e8784f9fa28cca9d83bfe1b737c6361423e29a88be1a569b8cd4ad00064b1dfb5f481ba249dbc0d5c0ccfe1a8018ba3b2ce8eef42a05210819e218f4e
6
+ metadata.gz: 6fd99600271e8675a3f5ea6429d89cac184cb3693f7a8426d61447e45e3c002f7b15041c7c13fbf3b4589f0857e5ecb7b72f948bcd1e782635e078710fc3155b
7
+ data.tar.gz: 97541b5155e1194cacf4a1d70b044af7f7a23afccff776f59232675f6b18b9db950fc15e00d3e386645ceaab74380f9bca30d627234e3405577177bea5744a89
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
+ import "./style.css";
3
+
2
4
  export default class <%= @component_class_name %> extends React.Component {
3
5
  render() {
4
-
6
+
5
7
  }
6
8
  };
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import <%= @component_class_name %> from ".";
3
- import { mount } from "enzyme";
3
+ import Enzyme from 'enzyme';
4
4
 
5
5
  describe("<%= @component_class_name %>", () => {
6
6
  it("tests functionality", async () => {
@@ -1,3 +1,3 @@
1
- export default class <%= @domain_class_name %> extends React.Component {
1
+ export default class <%= @domain_class_name %> {
2
2
 
3
3
  };
@@ -1,3 +1,3 @@
1
- export default class <%= @gateway_class_name %> extends React.Component {
1
+ export default class <%= @gateway_class_name %> {
2
2
 
3
3
  };
data/templates/new.rb CHANGED
@@ -23,6 +23,9 @@ module Template
23
23
  Dir.chdir "./#{@project_name}" do
24
24
  `git init`
25
25
  `npm install storybook`
26
+ `npm install nock`
27
+ `npm install isomorphic-fetch`
28
+ `npm install enzyme`
26
29
  `storybook init`
27
30
 
28
31
  Templates.create('new', '.', binding)
@@ -1,9 +1,9 @@
1
- export default class <%= @component_class_name %> extends React.Component {
1
+ export default class <%= @component_class_name %> {
2
2
  constructor() {
3
3
 
4
4
  }
5
5
 
6
6
  async execute() {
7
-
7
+
8
8
  }
9
9
  };
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ctlst
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Faissal Bensefia
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-19 00:00:00.000000000 Z
11
+ date: 2018-08-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Ctlst (pronounced 'Catalyst') is a tool similar to the Rails CLI. It
14
14
  provides simple commands to build React project that takes advantage of clean architecture,