anonymous_active_record 0.1.0 β†’ 0.1.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
- SHA1:
3
- metadata.gz: 67c1cf60e54b550f21a8bf4b0a8993ec57394dd7
4
- data.tar.gz: b09d1d7a820a1a6b4299e42ff66586faface6e38
2
+ SHA256:
3
+ metadata.gz: fa15844570da514a5c2a30e69b63307af6f8231b3286df0a72e10c182545ee8a
4
+ data.tar.gz: 9862a7f30fda32682d5c2fd0444ab2e039e73e2d258eafa468fcedeafdeb2a1c
5
5
  SHA512:
6
- metadata.gz: 3d9be726ea4534a683a358db0f12fa6b9c1a292fe39536b73fab9d069b128445ae48757f7cfc55e34f4063053067247c00fe5cea402423b4c4570e54972dae21
7
- data.tar.gz: 7408bced825d4b3ea3971d9bc9493d166fdb86cf1f52cc652450f6db0b786f14ed756d2c80c7d95b9a9d6912238643874504bdd90c4077e5d521d4e67c1f51b2
6
+ metadata.gz: 18ae46be36c5bd034197b5f995ff4b68eb952e70786632062e47c975845928f77d6636497a2ae76383bc08f2f58df36d0aed2e4d4532edb19d5f616a1cc22148
7
+ data.tar.gz: 970454d5c98920e1a7f70faa050fe5818bda679c696af251ff42e4d532d9a51fbca5255676bcf9a3fa2501f3a9698d5a6d69c3afb77b9b25490c387e1bb13678
@@ -1,5 +1,32 @@
1
- sudo: false
1
+ env:
2
+ global:
3
+ - JRUBY_OPTS="-Xcli.debug=true --debug"
4
+ - CC_TEST_REPORTER_ID=79a38e2ae5a4a583152ef08b7a89eb7550f9554244f1309775332fc0ec81389e
5
+
6
+ before_script:
7
+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
8
+ - chmod +x ./cc-test-reporter
9
+ - ./cc-test-reporter before-build
10
+
11
+ script:
12
+ - bundle exec rspec
13
+
14
+ after_script:
15
+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
16
+
17
+ before_install:
18
+ - gem update --system
19
+ - gem install bundler
20
+
21
+ install:
22
+ - bundle install
23
+
24
+ bundler_args: --no-deployment --jobs 3 --retry 3
25
+
26
+ cache: bundler
27
+
2
28
  language: ruby
29
+ sudo: false
3
30
  rvm:
4
- - 2.4.2
5
- before_install: gem install bundler -v 1.16.1
31
+ - 2.4.4
32
+ - 2.5.1
data/Gemfile CHANGED
@@ -2,5 +2,14 @@ source 'https://rubygems.org'
2
2
 
3
3
  git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
+ group :test do
6
+ ruby_version = Gem::Version.new(RUBY_VERSION)
7
+ if ruby_version >= Gem::Version.new('2.1')
8
+ gem 'rubocop', '~> 0.53.0'
9
+ gem 'rubocop-rspec', '~> 1.24.0'
10
+ end
11
+ gem 'pry', '~> 0.11' if ruby_version >= Gem::Version.new('2.0')
12
+ end
13
+
5
14
  # Specify your gem's dependencies in anonymous_active_record.gemspec
6
15
  gemspec
data/README.md CHANGED
@@ -1,9 +1,26 @@
1
1
  # AnonymousActiveRecord
2
+ [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpboling%2Fanonymous_active_record.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpboling%2Fanonymous_active_record?ref=badge_shield)
3
+
2
4
 
3
5
  This library was 🎩 inspired by 🎩, the [Wolverine project](https://github.com/mcary/wolverine), which [implemented a clever workaround](https://github.com/mcary/wolverine/commit/fa27fa2cc485b2fa83d71b2045ba5a0a069dba75) to the official non-support of [anonymous classes by ActiveRecord](https://github.com/rails/rails/issues/8934).
4
6
 
5
7
  Warning: Use of this gem is a **security risk**, due to the use of Ruby's `eval`. It is intended for use in a test suite, or other non-critical environment.
6
8
 
9
+ | Project | AnonymousActiveRecord |
10
+ |------------------------ | ----------------------- |
11
+ | gem name | [anonymous_active_record](https://rubygems.org/gems/anonymous_active_record) |
12
+ | license | [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](https://opensource.org/licenses/MIT) |
13
+ | download rank | [![Downloads Today](https://img.shields.io/gem/rd/anonymous_active_record.svg)](https://github.com/pboling/anonymous_active_record) |
14
+ | version | [![Version](https://img.shields.io/gem/v/anonymous_active_record.svg)](https://rubygems.org/gems/anonymous_active_record) |
15
+ | dependencies | [![Depfu](https://badges.depfu.com/badges/a34c123a78a86496bbc2163b801089dd/count.svg)](https://depfu.com/github/pboling/activerecord-tablefree?project_id=5613) |
16
+ | continuous integration | [![Build Status](https://travis-ci.org/pboling/anonymous_active_record.svg?branch=master)](https://travis-ci.org/pboling/anonymous_active_record) |
17
+ | test coverage | [![Test Coverage](https://api.codeclimate.com/v1/badges/fe504d4ab2fb77cecf7d/test_coverage)](https://codeclimate.com/github/pboling/anonymous_active_record/test_coverage) |
18
+ | maintainability | [![Maintainability](https://api.codeclimate.com/v1/badges/fe504d4ab2fb77cecf7d/maintainability)](https://codeclimate.com/github/pboling/anonymous_active_record/maintainability) |
19
+ | code triage | [![Open Source Helpers](https://www.codetriage.com/pboling/anonymous_active_record/badges/users.svg)](https://www.codetriage.com/pboling/anonymous_active_record) |
20
+ | homepage | [http://www.railsbling.com/tags/anonymous_active_record/][homepage] |
21
+ | documentation | [http://rdoc.info/github/pboling/anonymous_active_record/frames][documentation] |
22
+ | Spread ~β™‘β“›β“žβ“₯β“”β™‘~ | [🌍 🌎 🌏](https://about.me/peter.boling), [🍚](https://www.crowdrise.com/helprefugeeswithhopefortomorrowliberia/fundraiser/peterboling), [βž•](https://plus.google.com/+PeterBoling/posts), [πŸ‘Ό](https://angel.co/peter-boling), [πŸ›](https://www.topcoder.com/members/pboling/), [:shipit:](http://coderwall.com/pboling), [![Tweet Peter](https://img.shields.io/twitter/follow/galtzo.svg?style=social&label=Follow)](http://twitter.com/galtzo) |
23
+
7
24
  ## Installation
8
25
 
9
26
  Add this line to your application's Gemfile:
@@ -124,3 +141,7 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/pbolin
124
141
  ## Code of Conduct
125
142
 
126
143
  Everyone interacting in the AnonymousActiveRecord project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/pboling/anonymous_active_record/blob/master/CODE_OF_CONDUCT.md).
144
+
145
+
146
+ ## License
147
+ [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fpboling%2Fanonymous_active_record.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fpboling%2Fanonymous_active_record?ref=badge_large)
@@ -24,9 +24,9 @@ Gem::Specification.new do |spec|
24
24
  spec.required_ruby_version = '>= 2.4' # Requirement for Ruby String#capitalize
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 1.16'
27
- spec.add_development_dependency 'rake', '~> 10.0'
27
+ spec.add_development_dependency 'rake', '~> 12.3'
28
28
  spec.add_development_dependency 'rspec', '~> 3.0'
29
- spec.add_development_dependency 'byebug', '~> 9.1'
29
+ spec.add_development_dependency 'byebug', '~> 10.0'
30
30
  spec.add_development_dependency 'sqlite3', '~> 1.3'
31
31
  spec.add_dependency 'activerecord', '~> 5.0'
32
32
  end
@@ -1,3 +1,3 @@
1
1
  module AnonymousActiveRecord
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: anonymous_active_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Boling
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-04 00:00:00.000000000 Z
11
+ date: 2018-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '12.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '12.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '9.1'
61
+ version: '10.0'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '9.1'
68
+ version: '10.0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: sqlite3
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  requirements: []
138
138
  rubyforge_project:
139
- rubygems_version: 2.6.14
139
+ rubygems_version: 2.7.7
140
140
  signing_key:
141
141
  specification_version: 4
142
142
  summary: Almost Anonymous ActiveRecord classes