raygun 1.1.0 → 1.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
2
  SHA256:
3
- metadata.gz: c7ca3630bd95d0e0c12a7bf9d9f6b5cc0255ba5dfced51c83017a164f84ff147
4
- data.tar.gz: 06ba32e033ec46d2ebe15f4e03c781b91ba94ac912075e9c1fff6872b68a5489
3
+ metadata.gz: eeaeb612fe4e56ab156e26d6d8299598274e0e5a8baf66647a62a399c3245067
4
+ data.tar.gz: c41f24ad804b4e7301bc54de9d1ecb0f04390fc909cb9823e7855cc820c2442f
5
5
  SHA512:
6
- metadata.gz: 24416fbf00a23e6cb6b9afaf3c9ac3184bf1e99127c97a0f3db58d09364625e3f4ca5145e5801a039e4f878fa7b5e5952235866a792bfb462ec3b19c145a98ec
7
- data.tar.gz: 496bcae1bc8c9bdaa1ed4975c9794c916a2187dfe76d1fb2df7fde190431f05c8a25cad2ed7b226898afc3d8a7249c02ee0ecdf6d2046e0633f806b74ba3e8b4
6
+ metadata.gz: 88423daeb034fca34d5db7c3b97836e61a462064c87788c07a3fa20d36774a9f86be6b782dff428eccc52651a919a1483dce2caae0591842577fb19ef6ef56bf
7
+ data.tar.gz: 86dd56014f3ddb0255f9ebc0796cdf038f06f8e7b7fc57c0fe9f72efeff9912a92a9c565c16bc4020b483013f667e6be4673a0a05a237ab4edddac79dcfbd094
@@ -0,0 +1,66 @@
1
+ version: 2.1
2
+ executors:
3
+ ruby:
4
+ parameters:
5
+ version:
6
+ description: "Ruby version number"
7
+ default: "2.7.2"
8
+ type: string
9
+ docker:
10
+ - image: cimg/ruby:<< parameters.version >>
11
+
12
+ commands:
13
+ bundle_install:
14
+ description: Install Ruby dependencies with Bundler
15
+ parameters:
16
+ version:
17
+ description: "Ruby version number"
18
+ default: "2.7.2"
19
+ type: string
20
+ steps:
21
+ - restore_cache:
22
+ keys:
23
+ - bundle-v1-{{ arch }}-<< parameters.version >>
24
+ - run:
25
+ name: Install Ruby Dependencies
26
+ command: |
27
+ gem install bundler -v 2.1.4 --conservative --no-document
28
+ bundle config --local path vendor/bundle
29
+ bundle check || (bundle install --jobs=4 --retry=3 && bundle clean)
30
+ - save_cache:
31
+ paths:
32
+ - ./vendor/bundle
33
+ key: bundle-v1-{{ arch }}-<< parameters.version >>-{{ checksum "Gemfile.lock" }}
34
+
35
+ jobs:
36
+ rubocop:
37
+ executor: ruby
38
+ steps:
39
+ - checkout
40
+ - bundle_install
41
+ - run: bundle exec rubocop
42
+
43
+ rspec:
44
+ parameters:
45
+ version:
46
+ description: "Ruby version number"
47
+ default: "2.7.2"
48
+ type: string
49
+ executor:
50
+ name: ruby
51
+ version: << parameters.version >>
52
+ steps:
53
+ - checkout
54
+ - bundle_install:
55
+ version: << parameters.version >>
56
+ - run: bundle exec rake spec
57
+
58
+ workflows:
59
+ version: 2
60
+ commit-workflow:
61
+ jobs:
62
+ - rubocop
63
+ - rspec:
64
+ matrix:
65
+ parameters:
66
+ version: ["2.5.8", "2.6.6", "2.7.2", "3.0.0"]
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 2.4
2
+ TargetRubyVersion: 2.5
3
3
  DisplayCopNames: true
4
4
  DisplayStyleGuide: true
5
5
 
@@ -1 +1 @@
1
- 2.6.5
1
+ 2.7.2
data/CHANGES.md CHANGED
@@ -3,6 +3,12 @@
3
3
  **Note:** Don't let the apparent lack of activity here scare you away. Almost all changes are captured in the
4
4
  prototype repo (see [raygun-rails](https://github.com/carbonfive/raygun-rails)), and it's kept pretty well up to date.
5
5
 
6
+ ## 1.1.1 [2020-07-02]
7
+
8
+ Housekeeping:
9
+
10
+ * Fix compatibility so that any supported Rudy (currently 2.5+) is allowed (#165).
11
+
6
12
  ## 1.1.0 [2020-07-02]
7
13
 
8
14
  Breaking:
data/README.md CHANGED
@@ -78,6 +78,35 @@ $ open http://localhost:3000
78
78
 
79
79
  ## Next Steps
80
80
 
81
+ ### React
82
+
83
+ To add React, just run this generator:
84
+
85
+ ```bash
86
+ $ bundle exec rails webpacker:install:react
87
+ ```
88
+
89
+ You can use JSX in your `app/javascript` sources and the `react_component` helper in your Rails views. Your React code
90
+ will be packaged and deployed automatically with the rest of your app, and you can test it end-to-end with Capybara,
91
+ just like other Rails apps. See the [webpacker-react](https://github.com/renchap/webpacker-react) README for more
92
+ information.
93
+
94
+ > :bulb: Check out [spraygun-react](https://github.com/carbonfive/spraygun-react) for eslint and stylelint configurations that can work for React projects.
95
+
96
+ ### React with Typescript
97
+
98
+ To add React with Typescript, run the React generator listed above, and then add Typescript:
99
+
100
+ ```bash
101
+ $ bundle exec rails webpacker:install:typescript
102
+ ```
103
+
104
+ Don't forget to rename any files containing JSX to `.tsx`.
105
+
106
+ For more information, see the [webpacker Typescript docs](https://github.com/rails/webpacker/blob/master/docs/typescript.md).
107
+
108
+ ### Bootstrap
109
+
81
110
  As you'll notice, the project comes with enough CSS (SCSS, actually) to establish some patterns. If you
82
111
  need more of a framework, here are instructions on how to add Bootstrap to your new project.
83
112
 
@@ -203,10 +203,10 @@ module Raygun
203
203
  puts "$".colorize(:blue) + " bin/rake".colorize(:light_blue)
204
204
  puts ""
205
205
  puts "# Run the app and check things out".colorize(:light_green)
206
- puts "$".colorize(:blue) + " heroku local".colorize(:light_blue)
206
+ puts "$".colorize(:blue) + " yarn start".colorize(:light_blue)
207
207
  puts "$".colorize(:blue) + " open http://localhost:3000".colorize(:light_blue)
208
208
  puts ""
209
- puts "# For some suggested next steps, check out the raygun README".colorize(:light_green)
209
+ puts "# For next steps like adding Bootstrap or React, check out the raygun README".colorize(:light_green)
210
210
  puts "$".colorize(:blue) + " open https://github.com/carbonfive/raygun/#next-steps".colorize(:light_blue)
211
211
  puts ""
212
212
  puts "Enjoy your Carbon Five flavored Rails application!".colorize(:yellow)
@@ -1,3 +1,3 @@
1
1
  module Raygun
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
@@ -19,7 +19,7 @@ Gem::Specification.new do |gem|
19
19
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
20
20
  gem.require_paths = ["lib"]
21
21
 
22
- gem.required_ruby_version = "~> 2.4"
22
+ gem.required_ruby_version = ">= 2.5"
23
23
 
24
24
  gem.add_development_dependency "bundler", "~> 2.0"
25
25
  gem.add_development_dependency "rake", "~> 13.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christian Nelson
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-07-02 00:00:00.000000000 Z
13
+ date: 2021-01-12 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -77,6 +77,7 @@ executables:
77
77
  extensions: []
78
78
  extra_rdoc_files: []
79
79
  files:
80
+ - ".circleci/config.yml"
80
81
  - ".gitignore"
81
82
  - ".rubocop.yml"
82
83
  - ".ruby-gemset"
@@ -94,7 +95,6 @@ files:
94
95
  - lib/raygun/version.rb
95
96
  - marvin.jpg
96
97
  - raygun.gemspec
97
- - spec/raygun/raygun.rb
98
98
  - spec/raygun/runner_spec.rb
99
99
  - spec/spec_helper.rb
100
100
  homepage: https://github.com/carbonfive/raygun
@@ -107,21 +107,20 @@ require_paths:
107
107
  - lib
108
108
  required_ruby_version: !ruby/object:Gem::Requirement
109
109
  requirements:
110
- - - "~>"
110
+ - - ">="
111
111
  - !ruby/object:Gem::Version
112
- version: '2.4'
112
+ version: '2.5'
113
113
  required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - ">="
116
116
  - !ruby/object:Gem::Version
117
117
  version: '0'
118
118
  requirements: []
119
- rubygems_version: 3.0.3
119
+ rubygems_version: 3.1.4
120
120
  signing_key:
121
121
  specification_version: 4
122
122
  summary: Generates and customizes Rails applications with Carbon Five best practices
123
123
  baked in.
124
124
  test_files:
125
- - spec/raygun/raygun.rb
126
125
  - spec/raygun/runner_spec.rb
127
126
  - spec/spec_helper.rb
@@ -1,3 +0,0 @@
1
- require_relative "../spec_helper"
2
-
3
- describe Raygun::Runner