mention_system 0.2.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 72fe86f0662594e88c0cb997606f7a913f9caf758537b80c8f22da2892ef7c34
4
- data.tar.gz: 5fa266f1a5a8b1e181810cf1bf54ddca9fb895db659b4f7ba9143f4449741220
3
+ metadata.gz: 3fe35bcd4fa593b5e81945de82b79428972c64906282cb6bff4d16f415ddcb8e
4
+ data.tar.gz: ba34458404fcbd7ed16e9378796bec8e6047d0c51d494a22ac243b0f8d8bee2b
5
5
  SHA512:
6
- metadata.gz: e576671c33bae06caa5d6c7588b2a5c41a1307842f9022fe82c57c9be4b4281ab58be86988c7821d3255914d50e5561424a5ce976af8f9959b4ade25f7eef484
7
- data.tar.gz: a8249e148fb9fd75d6f7b99a76480e6da4dcc1eb4d79bbf163d72c265c69a5aea9348b12edf9f8c2ad16952ccd09cd7cc52d8336af3779627095a66fce745770
6
+ metadata.gz: dad4979867fa6a21cccffef567e9713ef0d964aaa4b2c0352c205908bde5bb24c11fea69bd66fd692cf9ebed57e6dac8e420ec62bc089993f6c4dd2b1ebfd668
7
+ data.tar.gz: d75c3fcebad6acf25d95b7a075ffc736354d0125fd7d05fee3def519b8b0059599bcaa7e5bc091ee4a9911c9fdd680bb7a26f5608d10fd25d34b22256474521c
@@ -0,0 +1,83 @@
1
+ name: Tests
2
+
3
+ on:
4
+ pull_request:
5
+ branches:
6
+ - '*'
7
+ push:
8
+ branches:
9
+ - master
10
+ - rails-7
11
+ jobs:
12
+ sqlite:
13
+ runs-on: ubuntu-latest
14
+ strategy:
15
+ matrix:
16
+ ruby: ['2.7', '3.0', '3.1']
17
+ gemfile:
18
+ - rails6.0
19
+ - rails6.1
20
+ - rails7
21
+ - rails_main
22
+ env:
23
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
24
+ BUNDLE_PATH_RELATIVE_TO_CWD: true
25
+
26
+ steps:
27
+ - uses: actions/checkout@v3
28
+
29
+ - name: Set up Ruby
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: ${{ matrix.ruby }}
33
+ bundler: default
34
+ bundler-cache: true
35
+ rubygems: latest
36
+
37
+ - name: Run tests
38
+ env:
39
+ DATABASE_URL: "sqlite3:test"
40
+ RAILS_ENV: test
41
+ run: |
42
+ bundle exec rspec
43
+ postgres:
44
+ runs-on: ubuntu-latest
45
+ strategy:
46
+ matrix:
47
+ ruby: ['2.7', '3.0', '3.1']
48
+ gemfile:
49
+ - rails6.0
50
+ - rails6.1
51
+ - rails7
52
+ - rails_main
53
+ env:
54
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
55
+ BUNDLE_PATH_RELATIVE_TO_CWD: true
56
+
57
+ services:
58
+ postgres:
59
+ image: postgres:12
60
+ env:
61
+ POSTGRES_USER: postgres
62
+ POSTGRES_PASSWORD: password
63
+ POSTGRES_DB: test
64
+ ports: ['5432:5432']
65
+
66
+ steps:
67
+ - uses: actions/checkout@v3
68
+
69
+ - name: Set up Ruby
70
+ uses: ruby/setup-ruby@v1
71
+ with:
72
+ ruby-version: ${{ matrix.ruby }}
73
+ bundler: default
74
+ bundler-cache: true
75
+ rubygems: latest
76
+
77
+ - name: Run tests
78
+ env:
79
+ DATABASE_URL: postgres://postgres:password@localhost:5432/test
80
+ RAILS_ENV: test
81
+ run: |
82
+ bundle exec rails db:test:prepare
83
+ bundle exec rails test
data/README.md CHANGED
@@ -1,16 +1,16 @@
1
1
  # MentionSystem
2
2
 
3
- [![Build Status](https://travis-ci.org/pmviva/mention_system.png?branch=master)](https://travis-ci.org/pmviva/mention_system)
3
+ [![Build Status](https://github.com/pmviva/mention_system/actions/workflows/ci.yml/badge.svg)](https://github.com/pmviva/mention_system/actions)
4
4
  [![Gem Version](https://badge.fury.io/rb/mention_system.svg)](http://badge.fury.io/rb/mention_system)
5
5
  [![Code Climate](https://codeclimate.com/github/pmviva/mention_system/badges/gpa.svg)](https://codeclimate.com/github/pmviva/mention_system)
6
6
 
7
7
  An active record mention system developed using ruby on rails applying domain driven design and test driven development principles.
8
8
 
9
- For rails 4 support use branch v0.0.7-stable.
9
+ * For rails 4 support use branch v0.0.7-stable.
10
+ * For rails 5 support use branch v0.1.1-stable.
11
+ * For rails 6+ support use the latest version.
10
12
 
11
- For rails 5 support use branch v0.1.1-stable.
12
-
13
- This gem is heavily influenced by cmer/socialization.
13
+ This gem is heavily influenced by [cmer/socialization.](https://github.com/cmer/socialization)
14
14
 
15
15
  ## Installation
16
16
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "6.0.0"
5
+ gem "rails", "6.0.6"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "6.0.1"
5
+ gem "rails", "6.1.7"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "6.0.2.1"
5
+ gem "rails", "~> 7.0.0"
6
6
 
7
7
  gemspec path: "../"
@@ -2,6 +2,6 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
- gem "rails", "6.0.2"
5
+ gem "rails", github: "rails/rails", branch: "main"
6
6
 
7
7
  gemspec path: "../"
@@ -7,5 +7,5 @@ module MentionSystem
7
7
  ###
8
8
  # Version constant definition
9
9
  ###
10
- VERSION = "0.2.0"
10
+ VERSION = "0.3.1"
11
11
  end
@@ -6,8 +6,8 @@ require 'mention_system/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "mention_system"
8
8
  spec.version = MentionSystem::VERSION
9
- spec.authors = ["Pablo Martin Viva"]
10
- spec.email = ["pmviva@gmail.com"]
9
+ spec.authors = ["Pablo Martin Viva", "Bilal Budhani"]
10
+ spec.email = ["pmviva@gmail.com", "bilal@bilalbudhani.com"]
11
11
  spec.summary = %q{An active record like system.}
12
12
  spec.description = %q{An active record mention system developed using ruby on rails applying domain driven design and test driven development principles.}
13
13
  spec.homepage = "http://github.com/pmviva/mention_system"
@@ -19,7 +19,7 @@ Gem::Specification.new do |spec|
19
19
  spec.require_paths = ["lib"]
20
20
  spec.required_ruby_version = Gem::Requirement.new(">= 2.5.5")
21
21
 
22
- spec.add_dependency "rails", [ ">= 6.0", "< 7.0" ]
22
+ spec.add_dependency "rails", [ ">= 6.0" ]
23
23
 
24
24
  spec.add_development_dependency "appraisal", "~> 2.2"
25
25
  spec.add_development_dependency "bundler", "~> 2.1"
metadata CHANGED
@@ -1,14 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mention_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Martin Viva
8
- autorequire:
8
+ - Bilal Budhani
9
+ autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2020-02-06 00:00:00.000000000 Z
12
+ date: 2023-06-22 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: rails
@@ -17,9 +18,6 @@ dependencies:
17
18
  - - ">="
18
19
  - !ruby/object:Gem::Version
19
20
  version: '6.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '7.0'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +25,6 @@ dependencies:
27
25
  - - ">="
28
26
  - !ruby/object:Gem::Version
29
27
  version: '6.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '7.0'
33
28
  - !ruby/object:Gem::Dependency
34
29
  name: appraisal
35
30
  requirement: !ruby/object:Gem::Requirement
@@ -132,12 +127,14 @@ description: An active record mention system developed using ruby on rails apply
132
127
  domain driven design and test driven development principles.
133
128
  email:
134
129
  - pmviva@gmail.com
130
+ - bilal@bilalbudhani.com
135
131
  executables: []
136
132
  extensions: []
137
133
  extra_rdoc_files: []
138
134
  files:
139
135
  - ".editorconfig"
140
136
  - ".github/stale.yml"
137
+ - ".github/workflows/ci.yml"
141
138
  - ".gitignore"
142
139
  - ".rspec"
143
140
  - ".ruby-gemset"
@@ -149,10 +146,10 @@ files:
149
146
  - LICENSE.txt
150
147
  - README.md
151
148
  - Rakefile
152
- - gemfiles/rails6.0.0.gemfile
153
- - gemfiles/rails6.0.1.gemfile
154
- - gemfiles/rails6.0.2.1.gemfile
155
- - gemfiles/rails6.0.2.gemfile
149
+ - gemfiles/rails6.0.gemfile
150
+ - gemfiles/rails6.1.gemfile
151
+ - gemfiles/rails7.gemfile
152
+ - gemfiles/rails_main.gemfile
156
153
  - lib/generators/mention_system/mention_system_generator.rb
157
154
  - lib/generators/mention_system/templates/migration.rb
158
155
  - lib/mention_system.rb
@@ -176,7 +173,7 @@ homepage: http://github.com/pmviva/mention_system
176
173
  licenses:
177
174
  - MIT
178
175
  metadata: {}
179
- post_install_message:
176
+ post_install_message:
180
177
  rdoc_options: []
181
178
  require_paths:
182
179
  - lib
@@ -191,8 +188,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
191
188
  - !ruby/object:Gem::Version
192
189
  version: '0'
193
190
  requirements: []
194
- rubygems_version: 3.1.2
195
- signing_key:
191
+ rubygems_version: 3.4.10
192
+ signing_key:
196
193
  specification_version: 4
197
194
  summary: An active record like system.
198
195
  test_files: