-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from bittrance/master
Ruby 3 support and string diffs
- Loading branch information
Showing
18 changed files
with
1,058 additions
and
855 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Test | ||
|
||
on: | ||
push: | ||
branches: [ master ] | ||
pull_request: | ||
branches: [ master ] | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
ruby-version: [ "3.0.1", "2.6.7" ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Ruby ${{ matrix.ruby-version }} | ||
uses: ruby/setup-ruby@477b21f02be01bcb8030d50f37cfec92bfa615b6 | ||
with: | ||
ruby-version: ${{ matrix.ruby-version }} | ||
- name: Install dependencies | ||
run: bundle install | ||
- name: Run tests | ||
run: bundle exec rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.6.5 | ||
3.1.0 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,75 +1,82 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
cuffsert (0.13.0) | ||
aws-sdk-cloudformation (~> 1.3.0) | ||
aws-sdk-s3 (~> 1.8.0) | ||
cuffsert (0.14.2) | ||
aws-sdk-cloudformation (~> 1.67.0) | ||
aws-sdk-s3 (~> 1.112.0) | ||
colorize | ||
hashdiff (~> 1.0) | ||
nokogiri | ||
ruby-termios | ||
rx | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
aws-eventstream (1.0.0) | ||
aws-partitions (1.87.0) | ||
aws-sdk-cloudformation (1.3.0) | ||
aws-sdk-core (~> 3) | ||
aws-sigv4 (~> 1.0) | ||
aws-sdk-core (3.21.2) | ||
aws-eventstream (~> 1.0) | ||
aws-partitions (~> 1.0) | ||
aws-sigv4 (~> 1.0) | ||
aws-eventstream (1.2.0) | ||
aws-partitions (1.554.0) | ||
aws-sdk-cloudformation (1.67.0) | ||
aws-sdk-core (~> 3, >= 3.126.0) | ||
aws-sigv4 (~> 1.1) | ||
aws-sdk-core (3.126.0) | ||
aws-eventstream (~> 1, >= 1.0.2) | ||
aws-partitions (~> 1, >= 1.525.0) | ||
aws-sigv4 (~> 1.1) | ||
jmespath (~> 1.0) | ||
aws-sdk-kms (1.5.0) | ||
aws-sdk-core (~> 3) | ||
aws-sigv4 (~> 1.0) | ||
aws-sdk-s3 (1.8.2) | ||
aws-sdk-core (~> 3) | ||
aws-sdk-kms (1.54.0) | ||
aws-sdk-core (~> 3, >= 3.126.0) | ||
aws-sigv4 (~> 1.1) | ||
aws-sdk-s3 (1.112.0) | ||
aws-sdk-core (~> 3, >= 3.126.0) | ||
aws-sdk-kms (~> 1) | ||
aws-sigv4 (~> 1.0) | ||
aws-sigv4 (1.0.2) | ||
byebug (9.0.6) | ||
aws-sigv4 (~> 1.4) | ||
aws-sigv4 (1.4.0) | ||
aws-eventstream (~> 1, >= 1.0.2) | ||
byebug (11.1.3) | ||
colorize (0.8.1) | ||
diff-lcs (1.2.5) | ||
docile (1.1.5) | ||
jmespath (1.3.1) | ||
hashdiff (1.0.0) | ||
json (2.0.2) | ||
rspec (3.5.0) | ||
rspec-core (~> 3.5.0) | ||
rspec-expectations (~> 3.5.0) | ||
rspec-mocks (~> 3.5.0) | ||
rspec-core (3.5.4) | ||
rspec-support (~> 3.5.0) | ||
rspec-expectations (3.5.0) | ||
diff-lcs (1.5.0) | ||
docile (1.4.0) | ||
hashdiff (1.0.1) | ||
jmespath (1.5.0) | ||
mini_portile2 (2.7.1) | ||
nokogiri (1.13.1) | ||
mini_portile2 (~> 2.7.0) | ||
racc (~> 1.4) | ||
racc (1.6.0) | ||
rspec (3.11.0) | ||
rspec-core (~> 3.11.0) | ||
rspec-expectations (~> 3.11.0) | ||
rspec-mocks (~> 3.11.0) | ||
rspec-core (3.11.0) | ||
rspec-support (~> 3.11.0) | ||
rspec-expectations (3.11.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.5.0) | ||
rspec-mocks (3.5.0) | ||
rspec-support (~> 3.11.0) | ||
rspec-mocks (3.11.0) | ||
diff-lcs (>= 1.2.0, < 2.0) | ||
rspec-support (~> 3.5.0) | ||
rspec-support (3.5.0) | ||
ruby-termios (1.0.2) | ||
rspec-support (~> 3.11.0) | ||
rspec-support (3.11.0) | ||
ruby-termios (1.1.0) | ||
rx (0.0.3) | ||
rx-rspec (0.4.3) | ||
rx | ||
simplecov (0.12.0) | ||
docile (~> 1.1.0) | ||
json (>= 1.8, < 3) | ||
simplecov-html (~> 0.10.0) | ||
simplecov-html (0.10.0) | ||
simplecov (0.21.2) | ||
docile (~> 1.1) | ||
simplecov-html (~> 0.11) | ||
simplecov_json_formatter (~> 0.1) | ||
simplecov-html (0.12.3) | ||
simplecov_json_formatter (0.1.3) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
bundler (~> 1.12) | ||
bundler (~> 2.3) | ||
byebug | ||
cuffsert! | ||
rspec (~> 3.0) | ||
rx-rspec (~> 0.4.3) | ||
simplecov | ||
|
||
BUNDLED WITH | ||
1.13.6 | ||
2.3.7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
AWSTemplateFormatVersion: 2010-09-09 | ||
Resources: | ||
ImapServer: | ||
Type: AWS::AutoScaling::AutoScalingGroup | ||
Properties: | ||
AutoScalingGroupName: imap-server | ||
LaunchConfigurationName: !Ref ImapConfig | ||
MinSize: 0 | ||
MaxSize: 1 | ||
VPCZoneIdentifier: | ||
- subnet-f8597791 | ||
ImapConfig: | ||
Type: AWS::AutoScaling::LaunchConfiguration | ||
Properties: | ||
ImageId: ami-0c6b1d09930fac512 | ||
SecurityGroups: | ||
- !Ref ImapSG | ||
InstanceType: t2.nano | ||
ImapSG: | ||
Type: AWS::EC2::SecurityGroup | ||
Properties: | ||
VpcId: vpc-fc702695 | ||
GroupDescription: Global IMAPS access | ||
SecurityGroupIngress: | ||
- CidrIp: 0.0.0.0/0 | ||
IpProtocol: tcp | ||
FromPort: 993 | ||
ToPort: 993 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
require 'rx' | ||
|
||
module CuffSert | ||
class Message | ||
attr_reader :message | ||
|
Oops, something went wrong.