bullet_train 1.0.49 → 1.0.50
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 +4 -4
- data/docs/super-scaffolding.md +1 -1
- data/lib/bullet_train/core_ext/string_emoji_helper.rb +18 -0
- data/lib/bullet_train/version.rb +1 -1
- data/lib/bullet_train.rb +1 -1
- metadata +16 -2
- data/lib/string/emoji.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1eb8115bc5740b033b7f934111f0522270c2e83072502f1c4a5acebea63e5ff5
|
4
|
+
data.tar.gz: bd36f0282e6d97331f8eec2def0e941fd6862d6c21549ea0f1b0f289767d576c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b2c9cc8df78ba5a6e24c574f9564d25876424c25dd95b26f37cf2fa3db59e0a7dc0af6b44b26f69a20cb08855cb3e0d016c2ae7a7289a3157e75d9778ef9c9d
|
7
|
+
data.tar.gz: c886a9a4b1c1df7f4e620af288865ec5942ea6376bdc121516b9b9e580881bab0b2d7fef533551667684fc36ce723b40c62da1ef3af49948bb8e6f800f04ae85
|
data/docs/super-scaffolding.md
CHANGED
@@ -23,7 +23,7 @@ Bullet Train's Super Scaffolding engine is a unique approach to code generation,
|
|
23
23
|
|
24
24
|
## Prerequisites
|
25
25
|
|
26
|
-
Before getting started with Super Scaffolding, we recommend reading about [the philosophy of domain modeling in Bullet Train](/docs/
|
26
|
+
Before getting started with Super Scaffolding, we recommend reading about [the philosophy of domain modeling in Bullet Train](/docs/modeling.md).
|
27
27
|
|
28
28
|
## Usage
|
29
29
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
require "unicode/emoji"
|
2
|
+
|
3
|
+
module BulletTrain
|
4
|
+
module CoreExt
|
5
|
+
module StringEmojiHelper
|
6
|
+
def strip_emojis
|
7
|
+
gsub(Unicode::Emoji::REGEX, "")
|
8
|
+
end
|
9
|
+
|
10
|
+
def only_emoji?
|
11
|
+
return false if strip.empty?
|
12
|
+
strip_emojis.strip.empty?
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
String.include(BulletTrain::CoreExt::StringEmojiHelper)
|
data/lib/bullet_train/version.rb
CHANGED
data/lib/bullet_train.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bullet_train
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.50
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andrew Culver
|
@@ -360,6 +360,20 @@ dependencies:
|
|
360
360
|
- - ">="
|
361
361
|
- !ruby/object:Gem::Version
|
362
362
|
version: '0'
|
363
|
+
- !ruby/object:Gem::Dependency
|
364
|
+
name: unicode-emoji
|
365
|
+
requirement: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - ">="
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '0'
|
370
|
+
type: :runtime
|
371
|
+
prerelease: false
|
372
|
+
version_requirements: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - ">="
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: '0'
|
363
377
|
description: Bullet Train
|
364
378
|
email:
|
365
379
|
- andrew.culver@gmail.com
|
@@ -578,11 +592,11 @@ files:
|
|
578
592
|
- docs/webhooks/incoming.md
|
579
593
|
- docs/webhooks/outgoing.md
|
580
594
|
- lib/bullet_train.rb
|
595
|
+
- lib/bullet_train/core_ext/string_emoji_helper.rb
|
581
596
|
- lib/bullet_train/engine.rb
|
582
597
|
- lib/bullet_train/resolver.rb
|
583
598
|
- lib/bullet_train/version.rb
|
584
599
|
- lib/colorizer.rb
|
585
|
-
- lib/string/emoji.rb
|
586
600
|
- lib/tasks/bullet_train_tasks.rake
|
587
601
|
homepage: https://github.com/bullet-train-co/bullet_train
|
588
602
|
licenses:
|