cubism 0.1.0.pre1 → 0.1.0.pre2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -3
- data/app/models/cubism/base.rb +2 -1
- data/app/models/cubism/base.rb~ +11 -1
- data/lib/cubism/version.rb +1 -1
- data/lib/cubism/version.rb~ +1 -1
- data/lib/cubism.rb +2 -0
- data/lib/cubism.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: 285d3d9bb85b4e424646223cfca5b0e8b9ee1bc3d7140a51ba951fc7b67237cd
|
4
|
+
data.tar.gz: 70579c946d1c0bb5d2e5176355ac953c887368d51f8568abced88efbf5c7fd71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fec2a6f41b350167bf2e0349cad1b43cd535ee280bcd4b9102a9976890fb26e6839549d8bec301a60074eca6d6df0c541846a5ee8f173e010cfda6030267869b
|
7
|
+
data.tar.gz: 24e7ab307ad8abc9528b42016bd57e4e05000e21beddb97698015a4d0c727504babb8cab958d99952a161adb536e32aa0760b364b9e58a585c422ce83c449df5
|
data/README.md
CHANGED
@@ -95,8 +95,7 @@ Below are a set of instructions that may help you get a local development enviro
|
|
95
95
|
|
96
96
|
```sh
|
97
97
|
# Get the gem/npm package source locally
|
98
|
-
git clone cubism
|
99
|
-
cd cubism/javascript
|
98
|
+
git clone https://github.com/julianrubisch/cubism
|
100
99
|
yarn install # install all of the npm package's dependencies
|
101
100
|
yarn link # set the local machine's cubism npm package's lookup to this local path
|
102
101
|
|
@@ -125,7 +124,7 @@ yarn install --force
|
|
125
124
|
2. `git commit -m "Bump version to x.x.x"`
|
126
125
|
3. Run `bundle exec rake build`
|
127
126
|
4. Run `bundle exec rake release`
|
128
|
-
5. `
|
127
|
+
5. Run `npm publish --access public`
|
129
128
|
|
130
129
|
## License
|
131
130
|
The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
data/app/models/cubism/base.rb
CHANGED
data/app/models/cubism/base.rb~
CHANGED
@@ -1,3 +1,13 @@
|
|
1
1
|
class Cubism::Base
|
2
|
-
include
|
2
|
+
include ActiveModel::Model
|
3
|
+
include Cubism::Presence
|
4
|
+
include GlobalID::Identifiable
|
5
|
+
|
6
|
+
def self.find(id)
|
7
|
+
new if id == "cubism-#{self.class.name.underscore}"
|
8
|
+
end
|
9
|
+
|
10
|
+
def id
|
11
|
+
"cubism-#{self.class.name.underscore}"
|
12
|
+
end
|
3
13
|
end
|
data/lib/cubism/version.rb
CHANGED
data/lib/cubism/version.rb~
CHANGED
data/lib/cubism.rb
CHANGED
data/lib/cubism.rb~
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cubism
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.0.
|
4
|
+
version: 0.1.0.pre2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Julian Rubisch
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|