boring_presenters 0.1.2 → 0.1.4

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: 3268bd8fabcbf7444c87e76712aaea98291a1912
4
- data.tar.gz: 5b4d7a254f982b0530124ff00ff78071813ec273
2
+ SHA256:
3
+ metadata.gz: 6577b8d247e48b58772f5e56b49164c4f0c3e5fc4ead35729cff30712e06c84b
4
+ data.tar.gz: 5e45f6a9f034d69c1c2232a6e6691d37fe5e792882e682608b320db58285e4e9
5
5
  SHA512:
6
- metadata.gz: 82c1fa603ce3570fa4ebc85f3d654e5a1be8b99955db24e446cd302a356953697312cac51b5a5da586c87dfd44bf26f5a74f8feea5f8bc1d79f09660537d6596
7
- data.tar.gz: c49573dd97ddc2925f1dfc25ced2d3f4e0964f4bdf0f1cc84d7d5b7f68f500b1346d1f5da179aae8e3fed71f17bf1ce173919dfb772a8e6473f4f2bf65f972e9
6
+ metadata.gz: cb5bfc337726acf46e9c7c5d5247169c2d1f0e11ee74395e25ddfedb73ebe239fc3ccfa7079a591069e20243af5f436baf646c9da0612c5b7c0a617b1bb8e52e
7
+ data.tar.gz: d178e61756ac5f5f5008b1cc53e4d1a4b78697cc96ef8051d227efb5a37710fc5ef2a1c7b4272fc6618df7179f4ee509155db6f5abf7fa6c424a4e093c9c1289
@@ -0,0 +1,26 @@
1
+ name: Test & Lint
2
+
3
+ on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
+
8
+ jobs:
9
+ test:
10
+
11
+ runs-on: ubuntu-latest
12
+
13
+ strategy:
14
+ matrix:
15
+ ruby-version: ['3.1', '3.0', '2.7']
16
+
17
+ steps:
18
+ - uses: actions/checkout@v3
19
+ - name: Set up Ruby
20
+ uses: ruby/setup-ruby@359bebbc29cbe6c87da6bc9ea3bc930432750108
21
+ with:
22
+ ruby-version: ${{ matrix.ruby-version }}
23
+ - name: Install dependencies
24
+ run: bundle install
25
+ - name: Run tests
26
+ run: bundle exec rake
data/.gitignore CHANGED
@@ -19,3 +19,5 @@ coverage/*
19
19
 
20
20
  # rspec failure tracking
21
21
  .rspec_status
22
+
23
+ *Gemfile.lock
data/Gemfile.lock CHANGED
@@ -1,35 +1,35 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- boring_presenters (0.1.2)
4
+ boring_presenters (0.1.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- diff-lcs (1.3)
9
+ diff-lcs (1.5.0)
10
10
  rake (10.5.0)
11
- rspec (3.7.0)
12
- rspec-core (~> 3.7.0)
13
- rspec-expectations (~> 3.7.0)
14
- rspec-mocks (~> 3.7.0)
15
- rspec-core (3.7.1)
16
- rspec-support (~> 3.7.0)
17
- rspec-expectations (3.7.0)
11
+ rspec (3.12.0)
12
+ rspec-core (~> 3.12.0)
13
+ rspec-expectations (~> 3.12.0)
14
+ rspec-mocks (~> 3.12.0)
15
+ rspec-core (3.12.1)
16
+ rspec-support (~> 3.12.0)
17
+ rspec-expectations (3.12.2)
18
18
  diff-lcs (>= 1.2.0, < 2.0)
19
- rspec-support (~> 3.7.0)
20
- rspec-mocks (3.7.0)
19
+ rspec-support (~> 3.12.0)
20
+ rspec-mocks (3.12.3)
21
21
  diff-lcs (>= 1.2.0, < 2.0)
22
- rspec-support (~> 3.7.0)
23
- rspec-support (3.7.1)
22
+ rspec-support (~> 3.12.0)
23
+ rspec-support (3.12.0)
24
24
 
25
25
  PLATFORMS
26
- ruby
26
+ universal-darwin-22
27
27
 
28
28
  DEPENDENCIES
29
29
  boring_presenters!
30
- bundler (~> 1.16)
30
+ bundler (~> 2)
31
31
  rake (~> 10.0)
32
32
  rspec (~> 3.0)
33
33
 
34
34
  BUNDLED WITH
35
- 1.16.1
35
+ 2.3.9
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Boring
2
2
  ## Because your presentation layer shouldn't be interesting
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/boring_presenters.svg)](https://badge.fury.io/rb/boring_presenters) [![Build Status](https://travis-ci.org/apsislabs/boring.svg?branch=master)](https://travis-ci.org/apsislabs/boring) [![Inline docs](http://inch-ci.org/github/apsislabs/boring.svg?branch=master)](http://inch-ci.org/github/apsislabs/boring)
4
+ [![Gem Version](https://badge.fury.io/rb/boring_presenters.svg)](https://badge.fury.io/rb/boring_presenters) [[![Inline docs](http://inch-ci.org/github/apsislabs/boring.svg?branch=master)](http://inch-ci.org/github/apsislabs/boring)
5
5
 
6
6
  **Note:** while we're actively using `boring` in production, it is still actively under development, and you should expect breaking changes.
7
7
 
@@ -68,3 +68,11 @@ Bug reports and pull requests are welcome on GitHub at https://github.com/wkirby
68
68
  ## License
69
69
 
70
70
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
71
+
72
+ ---
73
+
74
+ # Built by Apsis
75
+
76
+ [![apsis](https://s3-us-west-2.amazonaws.com/apsiscdn/apsis.png)](https://www.apsis.io)
77
+
78
+ `boring` was built by Apsis Labs. We love sharing what we build! Check out our [other libraries on Github](https://github.com/apsislabs), and if you like our work you can [hire us](https://www.apsis.io/work-with-us/) to build your vision.
@@ -18,9 +18,9 @@ Gem::Specification.new do |spec|
18
18
  spec.bindir = 'exe'
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
- spec.required_ruby_version = '~> 2.1'
21
+ spec.required_ruby_version = '> 2.1'
22
22
 
23
- spec.add_development_dependency 'bundler', '~> 1.16'
23
+ spec.add_development_dependency 'bundler', '~> 2'
24
24
  spec.add_development_dependency 'rake', '~> 10.0'
25
25
  spec.add_development_dependency 'rspec', '~> 3.0'
26
26
  end
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'forwardable'
4
+
3
5
  module Boring
4
6
  class Presenter #:nodoc:
5
7
  extend Forwardable
@@ -0,0 +1,7 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Boring
4
+ class Presenter
5
+ include AbstractController::Translation
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Boring
2
- VERSION = "0.1.2"
2
+ VERSION = '0.1.4'
3
3
  end
@@ -1,2 +1,6 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require "boring_presenters/version"
2
4
  require "boring_presenters/presenter"
5
+
6
+ require "boring_presenters/rails" if defined? Rails
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: boring_presenters
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wyatt Kirby
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2018-05-29 00:00:00.000000000 Z
12
+ date: 2023-02-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: '1.16'
20
+ version: '2'
21
21
  type: :development
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: '1.16'
27
+ version: '2'
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rake
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -61,9 +61,9 @@ executables: []
61
61
  extensions: []
62
62
  extra_rdoc_files: []
63
63
  files:
64
+ - ".github/workflows/test.yml"
64
65
  - ".gitignore"
65
66
  - ".rspec"
66
- - ".travis.yml"
67
67
  - Gemfile
68
68
  - Gemfile.lock
69
69
  - LICENSE.txt
@@ -73,8 +73,8 @@ files:
73
73
  - bin/setup
74
74
  - boring_presenters.gemspec
75
75
  - lib/boring_presenters.rb
76
- - lib/boring_presenters/exceptions.rb
77
76
  - lib/boring_presenters/presenter.rb
77
+ - lib/boring_presenters/rails.rb
78
78
  - lib/boring_presenters/version.rb
79
79
  homepage: http://www.apsis.io
80
80
  licenses:
@@ -86,7 +86,7 @@ require_paths:
86
86
  - lib
87
87
  required_ruby_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - "~>"
89
+ - - ">"
90
90
  - !ruby/object:Gem::Version
91
91
  version: '2.1'
92
92
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -95,8 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  requirements: []
98
- rubyforge_project:
99
- rubygems_version: 2.6.13
98
+ rubygems_version: 3.0.3.1
100
99
  signing_key:
101
100
  specification_version: 4
102
101
  summary: A boring presentation layer.
data/.travis.yml DELETED
@@ -1,5 +0,0 @@
1
- sudo: false
2
- language: ruby
3
- rvm:
4
- - 2.4.2
5
- before_install: gem install bundler -v 1.16.1
File without changes