abyme 0.2.1 → 0.5.0

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.
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- sudo: false
3
- language: ruby
4
- cache: bundler
5
- rvm:
6
- - 2.6.3
7
- before_install: gem install bundler -v 2.0.2
Binary file
@@ -1,25 +0,0 @@
1
- # require 'rails/generators'
2
- # require 'json'
3
-
4
- # module Abyme
5
- # module Generators
6
- # class InstallGenerator < Rails::Generators::Base
7
- # source_root File.expand_path("templates", __dir__)
8
-
9
- # def setup
10
- # # Creating stimulus abyme_controller.js file
11
- # # ==========================================
12
- # template "abyme_controller.js", "app/javascript/controllers/abyme_controller.js"
13
- # add_stimulus
14
- # end
15
-
16
- # def add_stimulus
17
- # # Checking if stimulus is present in package.json => yarn add if it's not
18
- # # =======================================================================
19
- # package = JSON.parse(File.open('package.json').read)
20
- # exec('yarn add stimulus') if !package['dependencies'].keys.include?('stimulus')
21
- # end
22
-
23
- # end
24
- # end
25
- # end
@@ -1,17 +0,0 @@
1
- import { Controller } from 'stimulus';
2
-
3
- export default class extends Controller {
4
- connect() {
5
- console.log('Abyme Controller Connected');
6
- }
7
-
8
- add_association(event) {
9
- event.preventDefault();
10
- console.log('Add Association');
11
- }
12
-
13
- remove_association(event) {
14
- event.preventDefault();
15
- console.log('Remove Association');
16
- }
17
- }