chanko 2.0.0 → 2.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. checksums.yaml +7 -0
  2. data/.github/workflows/master_and_pr.yml +64 -0
  3. data/CHANGELOG.md +42 -0
  4. data/MIT-LICENSE +1 -1
  5. data/README.md +30 -9
  6. data/Rakefile +2 -9
  7. data/bin/setup +8 -0
  8. data/bin/test +7 -0
  9. data/chanko.gemspec +8 -4
  10. data/gemfiles/Gemfile_rails_5.0.rb +6 -0
  11. data/gemfiles/Gemfile_rails_5.0.rb.lock +203 -0
  12. data/gemfiles/Gemfile_rails_5.1.rb +6 -0
  13. data/gemfiles/Gemfile_rails_5.1.rb.lock +203 -0
  14. data/gemfiles/Gemfile_rails_5.2.rb +6 -0
  15. data/gemfiles/Gemfile_rails_5.2.rb.lock +209 -0
  16. data/gemfiles/Gemfile_rails_6.0.rb +8 -0
  17. data/gemfiles/Gemfile_rails_6.0.rb.lock +238 -0
  18. data/gemfiles/Gemfile_rails_6.1.rb +8 -0
  19. data/gemfiles/Gemfile_rails_6.1.rb.lock +241 -0
  20. data/lib/chanko/active_if.rb +42 -10
  21. data/lib/chanko/config.rb +20 -2
  22. data/lib/chanko/controller.rb +1 -1
  23. data/lib/chanko/exception_handler.rb +32 -5
  24. data/lib/chanko/function.rb +3 -1
  25. data/lib/chanko/invoker.rb +25 -4
  26. data/lib/chanko/loader.rb +127 -43
  27. data/lib/chanko/railtie.rb +33 -6
  28. data/lib/chanko/resolver/no_cache_file_system_resolver.rb +13 -0
  29. data/lib/chanko/test.rb +6 -1
  30. data/lib/chanko/unit/scope_finder.rb +7 -7
  31. data/lib/chanko/unit.rb +5 -1
  32. data/lib/chanko/unit_proxy.rb +4 -0
  33. data/lib/chanko/version.rb +1 -1
  34. data/lib/generators/chanko/unit/templates/unit.rb.erb +7 -1
  35. data/spec/chanko/controller_spec.rb +5 -5
  36. data/spec/chanko/deprecated_spec.rb +27 -0
  37. data/spec/chanko/exception_handler_spec.rb +23 -2
  38. data/spec/chanko/function_spec.rb +34 -8
  39. data/spec/chanko/helper_spec.rb +1 -1
  40. data/spec/chanko/invoker_spec.rb +62 -36
  41. data/spec/chanko/loader_spec.rb +14 -12
  42. data/spec/chanko/logger_spec.rb +13 -7
  43. data/spec/chanko/test_spec.rb +17 -7
  44. data/spec/chanko/unit/extender_spec.rb +3 -3
  45. data/spec/chanko/unit/scope_finder_spec.rb +4 -4
  46. data/spec/chanko/unit_proxy_provider_spec.rb +12 -12
  47. data/spec/chanko/unit_proxy_spec.rb +3 -3
  48. data/spec/chanko/unit_spec.rb +107 -33
  49. data/spec/controllers/application_controller_spec.rb +2 -2
  50. data/spec/dummy/README.md +12 -0
  51. data/spec/dummy/app/assets/config/manifest.js +3 -0
  52. data/spec/dummy/app/controllers/entries_controller.rb +2 -2
  53. data/spec/dummy/app/models/entry.rb +0 -1
  54. data/spec/dummy/app/units/entry_deletion/entry_deletion.rb +6 -0
  55. data/spec/dummy/config/application.rb +15 -17
  56. data/spec/dummy/config/boot.rb +4 -5
  57. data/spec/dummy/config/environment.rb +1 -1
  58. data/spec/dummy/config/environments/development.rb +2 -16
  59. data/spec/dummy/config/environments/production.rb +5 -1
  60. data/spec/dummy/config/environments/test.rb +10 -7
  61. data/spec/dummy/config/initializers/chanko_initializer.rb +0 -0
  62. data/spec/dummy/config/initializers/secret_token.rb +1 -0
  63. data/spec/dummy/config/storage.yml +1 -0
  64. data/spec/fixtures/units/example_unit/example_unit.rb +17 -0
  65. data/spec/fixtures/units/sensitive_inactive_unit/sensitive_inactive_unit.rb +9 -0
  66. data/spec/fixtures/units/sensitive_unit/sensitive_unit.rb +16 -0
  67. data/spec/spec_helper.rb +35 -5
  68. metadata +112 -70
  69. data/.travis.yml +0 -5
  70. data/Gemfile +0 -26
  71. data/spec/dummy/README.rdoc +0 -261
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: b169eda16ebf38c4052c3379205412a4262230db439066cf5743717797ffb120
4
+ data.tar.gz: 27f319ef0ec3012764d0aff3da7e55a940f3954374727c7fe430a8f7ef859bc8
5
+ SHA512:
6
+ metadata.gz: 349b4df82abc58b345591e783dfca68444e41d001334e701d9ae8fe227040c04b37c81b76997dd624a964ccf363c75860bd70de8f7fa7a9d33acd0afe60ec263
7
+ data.tar.gz: a9ee4a5cd9a3a5193ee4a3a4e597796fe0c214101bcaea094e2d5c8c60d7527ab0d54cebd9ae9a804c009d9ceaff0de73e06fabc77b452323133b2e935d4dd7d
@@ -0,0 +1,64 @@
1
+ name: master & PR
2
+ on:
3
+ pull_request:
4
+ push:
5
+ branches:
6
+ - master
7
+ jobs:
8
+ spec:
9
+ runs-on: ubuntu-latest
10
+ strategy:
11
+ matrix:
12
+ rails_version:
13
+ - "5.0"
14
+ - "5.1"
15
+ - "5.2"
16
+ - "6.0"
17
+ - "6.1"
18
+ ruby_version:
19
+ - "2.7"
20
+ - "3.1"
21
+ autoloader:
22
+ - "zeitwerk"
23
+ - "classic"
24
+ eager_load:
25
+ - "true"
26
+ - "false"
27
+ exclude:
28
+ - rails_version: "5.0"
29
+ ruby_version: "3.1"
30
+ - rails_version: "5.1"
31
+ ruby_version: "3.1"
32
+ - rails_version: "5.2"
33
+ ruby_version: "3.1"
34
+ - rails_version: "5.0"
35
+ autoloader: "zeitwerk"
36
+ - rails_version: "5.1"
37
+ autoloader: "zeitwerk"
38
+ - rails_version: "5.2"
39
+ autoloader: "zeitwerk"
40
+ - rails_version: "5.0"
41
+ autoloader: "classic"
42
+ - rails_version: "5.1"
43
+ autoloader: "classic"
44
+ - rails_version: "5.2"
45
+ autoloader: "classic"
46
+ name: Test on Rails ${{ matrix.rails_version }} & Ruby ${{ matrix.ruby_version }} & Autoloader ${{ matrix.autoloader }} & EagerLoad ${{ matrix.eager_load }}
47
+ env:
48
+ BUNDLE_GEMFILE: gemfiles/Gemfile_rails_${{ matrix.rails_version }}.rb
49
+ CI: true
50
+ EAGER_LOAD: ${{ matrix.eager_load }}
51
+ AUTOLOADER : ${{ matrix.autoloader }}
52
+ steps:
53
+ - uses: actions/checkout@v3
54
+ - uses: ruby/setup-ruby@v1
55
+ with:
56
+ ruby-version: ${{ matrix.ruby_version }}
57
+ bundler-cache: true
58
+ - name: rspec
59
+ run: bundle exec rspec
60
+ - name: Coveralls
61
+ if: matrix.rails_version == '6.1' && matrix.ruby_version == '3.1'
62
+ uses: coverallsapp/github-action@master
63
+ with:
64
+ github-token: ${{ secrets.GITHUB_TOKEN }}
data/CHANGELOG.md ADDED
@@ -0,0 +1,42 @@
1
+ ## Unreleased
2
+
3
+ ## 2.3.0
4
+ * Support Rails 5.0, 5.1, 5,2, 6.0, 6,1.
5
+ * Drop support of Rails 4.x.
6
+ * Rails7 not supported yet.
7
+ * Chanko::Config.eager_load has been replaced by a direct reference to Rails.configuration.eager_load.
8
+ * Fix cache resolver error on Rails 6.
9
+
10
+ ## 2.2.1
11
+ * Support Rails 7.0.
12
+
13
+ ## 2.2.0
14
+ * Drop support for old Ruby versions.
15
+ * Support Rails 5.1.
16
+
17
+ ## 2.1.1
18
+ * Delete circular symlink in gem package
19
+ * No changes in library code
20
+
21
+ ## 2.1.0
22
+ * Support Rails 5.
23
+ * Drop support of ruby 1.9.x and 2.0.0.
24
+ * Drop support of Rails 3.x.
25
+
26
+ ## 2.0.8
27
+ * Improve documentation about expanding class methods.
28
+
29
+ ## 2.0.7
30
+ * Fix run_default again. 2.0.6 still has run_default bug. Use unstack block instad of depth counting.
31
+
32
+ ## 2.0.6
33
+ * Fix stack control of run_default.
34
+
35
+ ## 2.0.5
36
+ * Guarantee thread-safety of unit stack for Rails 4
37
+
38
+ ## 2.0.4
39
+ * Allow to change Chanko::Config.eager_load after loading chanko
40
+
41
+ ## 2.0.3
42
+ * Custom eager-loading support on production env
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2013 Ryo Nakamura
1
+ Copyright (c) 2013 COOKPAD Inc.
2
2
 
3
3
  MIT License
4
4
 
data/README.md CHANGED
@@ -1,16 +1,19 @@
1
- # Chanko
1
+ # Chanko [![Build Status](https://travis-ci.org/cookpad/chanko.svg?branch=master)](https://travis-ci.org/cookpad/chanko) [![Code Climate](https://codeclimate.com/github/cookpad/chanko/badges/gpa.svg)](https://codeclimate.com/github/cookpad/chanko) [![Coverage Status](https://coveralls.io/repos/cookpad/chanko/badge.svg?branch=master)](https://coveralls.io/r/cookpad/chanko?branch=master)
2
+
3
+ http://cookpad.github.io/chanko/
4
+
2
5
  Chanko provides a simple framework for rapidly and safely prototyping new
3
6
  features in your production Rails app, and exposing these prototypes to
4
7
  specified segments of your user base.
5
8
 
6
- With Chanko, you can release many concurrent features and independently manage
7
- which users see them. If there are errors with any chanko, it will be
8
- automatically removed, without impacting your site.
9
+ With Chanko, you can release many features concurrently and manage target users independently.
10
+ When any errors are raised from chanko's features,
11
+ it will be automatically hidden and fallback to its normal behavior.
9
12
 
10
13
 
11
14
  ## Requirements
12
- * Ruby >= 1.8.7
13
- * Rails >= 3.0.10
15
+ * Ruby >= 2.6.0
16
+ * Rails >= 5.0.0
14
17
 
15
18
 
16
19
  ## Usage
@@ -21,10 +24,19 @@ gem "chanko"
21
24
  ```
22
25
 
23
26
  ## Files
24
- Chanko provides a generator to create a template of unit.
27
+ Chanko provides a generator to create templates of an unit.
25
28
 
26
29
  ```
27
- $ rails generate chanko:install example_unit
30
+ $ rails generate chanko:unit example_unit
31
+ create app/units/example_unit
32
+ create app/units/example_unit/example_unit.rb
33
+ create app/units/example_unit/views/.gitkeep
34
+ create app/units/example_unit/images/.gitkeep
35
+ create app/units/example_unit/javascripts/.gitkeep
36
+ create app/units/example_unit/stylesheets/.gitkeep
37
+ create app/assets/images/units/example_unit
38
+ create app/assets/javascripts/units/example_unit
39
+ create app/assets/stylesheets/units/example_unit
28
40
  ```
29
41
 
30
42
  ## Invoke
@@ -57,6 +69,7 @@ end
57
69
  ```
58
70
 
59
71
  ## Unit
72
+ You can see [the real example of an unit module file](https://github.com/cookpad/chanko/blob/master/spec/dummy/app/units/entry_deletion/entry_deletion.rb).
60
73
 
61
74
  ### module
62
75
  You can define your MVC code here.
@@ -121,7 +134,7 @@ end
121
134
  ### models
122
135
  In models block, you can expand model features by `expand` method.
123
136
  The expanded methods are available via unit proxy like `User.unit.active`,
124
- and `User.find(params[:id]).unit.active?`, and so on.
137
+ `User.find(params[:id]).unit.active?` or `User.unit.gc_all_soft_deleted_users`.
125
138
 
126
139
  ```ruby
127
140
  models do
@@ -131,6 +144,12 @@ models do
131
144
  def active?
132
145
  deleted_at.nil?
133
146
  end
147
+
148
+ class_methods do
149
+ def gc_all_soft_deleted_users
150
+ where.not(deleted_at: nil).delete_all
151
+ end
152
+ end
134
153
  end
135
154
  end
136
155
  ```
@@ -163,6 +182,8 @@ Chanko provides an example rails application in spec/dummy directory.
163
182
  ```
164
183
  $ git clone git@github.com:cookpad/chanko.git
165
184
  $ cd chanko/spec/dummy
185
+ $ bundle install
186
+ $ bundle exec rake db:create db:migrate
166
187
  $ rails s
167
188
  $ open http://localhost:3000
168
189
  ```
data/Rakefile CHANGED
@@ -1,12 +1,5 @@
1
1
  require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
2
3
 
3
- begin
4
- require "rspec/core/rake_task"
5
- RSpec::Core::RakeTask.new(:spec) do |spec|
6
- spec.pattern = "spec/**/*_spec.rb"
7
- spec.rspec_opts = ["-cfs"]
8
- end
9
- rescue LoadError => e
10
- end
11
-
4
+ RSpec::Core::RakeTask.new(:spec)
12
5
  task :default => :spec
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ for path in gemfiles/Gemfile_*.rb; do
7
+ BUNDLE_GEMFILE="${path}" bundle install
8
+ done
data/bin/test ADDED
@@ -0,0 +1,7 @@
1
+ set -euo pipefail
2
+ IFS=$'\n\t'
3
+ set -vx
4
+
5
+ for path in gemfiles/Gemfile_*.rb; do
6
+ BUNDLE_GEMFILE="${path}" bundle exec rspec
7
+ done
data/chanko.gemspec CHANGED
@@ -5,8 +5,8 @@ require "chanko/version"
5
5
  Gem::Specification.new do |gem|
6
6
  gem.name = "chanko"
7
7
  gem.version = Chanko::VERSION
8
- gem.authors = ["Ryo Nakamura"]
9
- gem.email = ["r7kamura@gmail.com"]
8
+ gem.authors = ["MORITA shingo", "Ryo Nakamura"]
9
+ gem.email = ["tech@cookpad.com"]
10
10
  gem.description = "Chanko is a Rails extension tool"
11
11
  gem.summary = "Rails extension tool"
12
12
  gem.homepage = "https://github.com/cookpad/chanko"
@@ -15,14 +15,18 @@ Gem::Specification.new do |gem|
15
15
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
16
16
  gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
17
17
  gem.require_paths = ["lib"]
18
+ gem.required_ruby_version = '>= 2.6.0'
18
19
 
19
- gem.add_dependency "rails", ">= 3.0.10"
20
+ gem.add_dependency "rails", ">= 5.0.0"
21
+ gem.add_development_dependency "byebug"
20
22
  gem.add_development_dependency "coffee-rails", ">= 3.0.10"
21
23
  gem.add_development_dependency "jquery-rails"
22
24
  gem.add_development_dependency "pry"
23
- gem.add_development_dependency "rspec-rails", "2.12.2"
25
+ gem.add_development_dependency "pry-rails"
26
+ gem.add_development_dependency "rspec-rails", ">= 3.0.0"
24
27
  gem.add_development_dependency "sass-rails", ">= 3.0.10"
25
28
  gem.add_development_dependency "simplecov"
29
+ gem.add_development_dependency 'simplecov-lcov'
26
30
  gem.add_development_dependency "slim"
27
31
  gem.add_development_dependency "sqlite3"
28
32
  gem.add_development_dependency "thin"
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'rails', '~> 5.0.0'
6
+ gem 'sqlite3', '~> 1.3.6'
@@ -0,0 +1,203 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ chanko (2.3.0)
5
+ rails (>= 5.0.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.0.7.2)
11
+ actionpack (= 5.0.7.2)
12
+ nio4r (>= 1.2, < 3.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.0.7.2)
15
+ actionpack (= 5.0.7.2)
16
+ actionview (= 5.0.7.2)
17
+ activejob (= 5.0.7.2)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.0.7.2)
21
+ actionview (= 5.0.7.2)
22
+ activesupport (= 5.0.7.2)
23
+ rack (~> 2.0)
24
+ rack-test (~> 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.0.7.2)
28
+ activesupport (= 5.0.7.2)
29
+ builder (~> 3.1)
30
+ erubis (~> 2.7.0)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.0.7.2)
34
+ activesupport (= 5.0.7.2)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.0.7.2)
37
+ activesupport (= 5.0.7.2)
38
+ activerecord (5.0.7.2)
39
+ activemodel (= 5.0.7.2)
40
+ activesupport (= 5.0.7.2)
41
+ arel (~> 7.0)
42
+ activesupport (5.0.7.2)
43
+ concurrent-ruby (~> 1.0, >= 1.0.2)
44
+ i18n (>= 0.7, < 2)
45
+ minitest (~> 5.1)
46
+ tzinfo (~> 1.1)
47
+ arel (7.1.4)
48
+ builder (3.2.4)
49
+ byebug (11.1.3)
50
+ coderay (1.1.3)
51
+ coffee-rails (4.2.2)
52
+ coffee-script (>= 2.2.0)
53
+ railties (>= 4.0.0)
54
+ coffee-script (2.4.1)
55
+ coffee-script-source
56
+ execjs
57
+ coffee-script-source (1.12.2)
58
+ concurrent-ruby (1.1.10)
59
+ crass (1.0.6)
60
+ daemons (1.4.1)
61
+ diff-lcs (1.5.0)
62
+ docile (1.4.0)
63
+ erubis (2.7.0)
64
+ eventmachine (1.2.7)
65
+ execjs (2.8.1)
66
+ ffi (1.15.5)
67
+ globalid (1.0.0)
68
+ activesupport (>= 5.0)
69
+ i18n (1.12.0)
70
+ concurrent-ruby (~> 1.0)
71
+ jquery-rails (4.5.1)
72
+ rails-dom-testing (>= 1, < 3)
73
+ railties (>= 4.2.0)
74
+ thor (>= 0.14, < 2.0)
75
+ loofah (2.19.0)
76
+ crass (~> 1.0.2)
77
+ nokogiri (>= 1.5.9)
78
+ mail (2.7.1)
79
+ mini_mime (>= 0.1.1)
80
+ method_source (1.0.0)
81
+ mini_mime (1.1.2)
82
+ mini_portile2 (2.8.0)
83
+ minitest (5.16.3)
84
+ nio4r (2.5.8)
85
+ nokogiri (1.13.9)
86
+ mini_portile2 (~> 2.8.0)
87
+ racc (~> 1.4)
88
+ pry (0.14.1)
89
+ coderay (~> 1.1)
90
+ method_source (~> 1.0)
91
+ pry-rails (0.3.9)
92
+ pry (>= 0.10.4)
93
+ racc (1.6.0)
94
+ rack (2.2.4)
95
+ rack-test (0.6.3)
96
+ rack (>= 1.0)
97
+ rails (5.0.7.2)
98
+ actioncable (= 5.0.7.2)
99
+ actionmailer (= 5.0.7.2)
100
+ actionpack (= 5.0.7.2)
101
+ actionview (= 5.0.7.2)
102
+ activejob (= 5.0.7.2)
103
+ activemodel (= 5.0.7.2)
104
+ activerecord (= 5.0.7.2)
105
+ activesupport (= 5.0.7.2)
106
+ bundler (>= 1.3.0)
107
+ railties (= 5.0.7.2)
108
+ sprockets-rails (>= 2.0.0)
109
+ rails-dom-testing (2.0.3)
110
+ activesupport (>= 4.2.0)
111
+ nokogiri (>= 1.6)
112
+ rails-html-sanitizer (1.4.3)
113
+ loofah (~> 2.3)
114
+ railties (5.0.7.2)
115
+ actionpack (= 5.0.7.2)
116
+ activesupport (= 5.0.7.2)
117
+ method_source
118
+ rake (>= 0.8.7)
119
+ thor (>= 0.18.1, < 2.0)
120
+ rake (13.0.6)
121
+ rspec-core (3.12.0)
122
+ rspec-support (~> 3.12.0)
123
+ rspec-expectations (3.12.0)
124
+ diff-lcs (>= 1.2.0, < 2.0)
125
+ rspec-support (~> 3.12.0)
126
+ rspec-mocks (3.12.0)
127
+ diff-lcs (>= 1.2.0, < 2.0)
128
+ rspec-support (~> 3.12.0)
129
+ rspec-rails (4.1.2)
130
+ actionpack (>= 4.2)
131
+ activesupport (>= 4.2)
132
+ railties (>= 4.2)
133
+ rspec-core (~> 3.10)
134
+ rspec-expectations (~> 3.10)
135
+ rspec-mocks (~> 3.10)
136
+ rspec-support (~> 3.10)
137
+ rspec-support (3.12.0)
138
+ sass-rails (6.0.0)
139
+ sassc-rails (~> 2.1, >= 2.1.1)
140
+ sassc (2.4.0)
141
+ ffi (~> 1.9)
142
+ sassc-rails (2.1.2)
143
+ railties (>= 4.0.0)
144
+ sassc (>= 2.0)
145
+ sprockets (> 3.0)
146
+ sprockets-rails
147
+ tilt
148
+ simplecov (0.21.2)
149
+ docile (~> 1.1)
150
+ simplecov-html (~> 0.11)
151
+ simplecov_json_formatter (~> 0.1)
152
+ simplecov-html (0.12.3)
153
+ simplecov-lcov (0.8.0)
154
+ simplecov_json_formatter (0.1.4)
155
+ slim (4.1.0)
156
+ temple (>= 0.7.6, < 0.9)
157
+ tilt (>= 2.0.6, < 2.1)
158
+ sprockets (4.1.1)
159
+ concurrent-ruby (~> 1.0)
160
+ rack (> 1, < 3)
161
+ sprockets-rails (3.2.2)
162
+ actionpack (>= 4.0)
163
+ activesupport (>= 4.0)
164
+ sprockets (>= 3.0.0)
165
+ sqlite3 (1.3.13)
166
+ temple (0.8.2)
167
+ thin (1.8.1)
168
+ daemons (~> 1.0, >= 1.0.9)
169
+ eventmachine (~> 1.0, >= 1.0.4)
170
+ rack (>= 1, < 3)
171
+ thor (1.2.1)
172
+ thread_safe (0.3.6)
173
+ tilt (2.0.11)
174
+ tzinfo (1.2.10)
175
+ thread_safe (~> 0.1)
176
+ uglifier (4.2.0)
177
+ execjs (>= 0.3.0, < 3)
178
+ websocket-driver (0.6.5)
179
+ websocket-extensions (>= 0.1.0)
180
+ websocket-extensions (0.1.5)
181
+
182
+ PLATFORMS
183
+ ruby
184
+
185
+ DEPENDENCIES
186
+ byebug
187
+ chanko!
188
+ coffee-rails (>= 3.0.10)
189
+ jquery-rails
190
+ pry
191
+ pry-rails
192
+ rails (~> 5.0.0)
193
+ rspec-rails (>= 3.0.0)
194
+ sass-rails (>= 3.0.10)
195
+ simplecov
196
+ simplecov-lcov
197
+ slim
198
+ sqlite3 (~> 1.3.6)
199
+ thin
200
+ uglifier
201
+
202
+ BUNDLED WITH
203
+ 2.3.26
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'rails', '~> 5.1.0'
6
+ gem 'sqlite3', '~> 1.3.6'
@@ -0,0 +1,203 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ chanko (2.3.0)
5
+ rails (>= 5.0.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ actioncable (5.1.7)
11
+ actionpack (= 5.1.7)
12
+ nio4r (~> 2.0)
13
+ websocket-driver (~> 0.6.1)
14
+ actionmailer (5.1.7)
15
+ actionpack (= 5.1.7)
16
+ actionview (= 5.1.7)
17
+ activejob (= 5.1.7)
18
+ mail (~> 2.5, >= 2.5.4)
19
+ rails-dom-testing (~> 2.0)
20
+ actionpack (5.1.7)
21
+ actionview (= 5.1.7)
22
+ activesupport (= 5.1.7)
23
+ rack (~> 2.0)
24
+ rack-test (>= 0.6.3)
25
+ rails-dom-testing (~> 2.0)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
27
+ actionview (5.1.7)
28
+ activesupport (= 5.1.7)
29
+ builder (~> 3.1)
30
+ erubi (~> 1.4)
31
+ rails-dom-testing (~> 2.0)
32
+ rails-html-sanitizer (~> 1.0, >= 1.0.3)
33
+ activejob (5.1.7)
34
+ activesupport (= 5.1.7)
35
+ globalid (>= 0.3.6)
36
+ activemodel (5.1.7)
37
+ activesupport (= 5.1.7)
38
+ activerecord (5.1.7)
39
+ activemodel (= 5.1.7)
40
+ activesupport (= 5.1.7)
41
+ arel (~> 8.0)
42
+ activesupport (5.1.7)
43
+ concurrent-ruby (~> 1.0, >= 1.0.2)
44
+ i18n (>= 0.7, < 2)
45
+ minitest (~> 5.1)
46
+ tzinfo (~> 1.1)
47
+ arel (8.0.0)
48
+ builder (3.2.4)
49
+ byebug (11.1.3)
50
+ coderay (1.1.3)
51
+ coffee-rails (4.2.2)
52
+ coffee-script (>= 2.2.0)
53
+ railties (>= 4.0.0)
54
+ coffee-script (2.4.1)
55
+ coffee-script-source
56
+ execjs
57
+ coffee-script-source (1.12.2)
58
+ concurrent-ruby (1.1.10)
59
+ crass (1.0.6)
60
+ daemons (1.4.1)
61
+ diff-lcs (1.5.0)
62
+ docile (1.4.0)
63
+ erubi (1.11.0)
64
+ eventmachine (1.2.7)
65
+ execjs (2.8.1)
66
+ ffi (1.15.5)
67
+ globalid (1.0.0)
68
+ activesupport (>= 5.0)
69
+ i18n (1.12.0)
70
+ concurrent-ruby (~> 1.0)
71
+ jquery-rails (4.5.1)
72
+ rails-dom-testing (>= 1, < 3)
73
+ railties (>= 4.2.0)
74
+ thor (>= 0.14, < 2.0)
75
+ loofah (2.19.0)
76
+ crass (~> 1.0.2)
77
+ nokogiri (>= 1.5.9)
78
+ mail (2.7.1)
79
+ mini_mime (>= 0.1.1)
80
+ method_source (1.0.0)
81
+ mini_mime (1.1.2)
82
+ mini_portile2 (2.8.0)
83
+ minitest (5.16.3)
84
+ nio4r (2.5.8)
85
+ nokogiri (1.13.9)
86
+ mini_portile2 (~> 2.8.0)
87
+ racc (~> 1.4)
88
+ pry (0.14.1)
89
+ coderay (~> 1.1)
90
+ method_source (~> 1.0)
91
+ pry-rails (0.3.9)
92
+ pry (>= 0.10.4)
93
+ racc (1.6.0)
94
+ rack (2.2.4)
95
+ rack-test (2.0.2)
96
+ rack (>= 1.3)
97
+ rails (5.1.7)
98
+ actioncable (= 5.1.7)
99
+ actionmailer (= 5.1.7)
100
+ actionpack (= 5.1.7)
101
+ actionview (= 5.1.7)
102
+ activejob (= 5.1.7)
103
+ activemodel (= 5.1.7)
104
+ activerecord (= 5.1.7)
105
+ activesupport (= 5.1.7)
106
+ bundler (>= 1.3.0)
107
+ railties (= 5.1.7)
108
+ sprockets-rails (>= 2.0.0)
109
+ rails-dom-testing (2.0.3)
110
+ activesupport (>= 4.2.0)
111
+ nokogiri (>= 1.6)
112
+ rails-html-sanitizer (1.4.3)
113
+ loofah (~> 2.3)
114
+ railties (5.1.7)
115
+ actionpack (= 5.1.7)
116
+ activesupport (= 5.1.7)
117
+ method_source
118
+ rake (>= 0.8.7)
119
+ thor (>= 0.18.1, < 2.0)
120
+ rake (13.0.6)
121
+ rspec-core (3.12.0)
122
+ rspec-support (~> 3.12.0)
123
+ rspec-expectations (3.12.0)
124
+ diff-lcs (>= 1.2.0, < 2.0)
125
+ rspec-support (~> 3.12.0)
126
+ rspec-mocks (3.12.0)
127
+ diff-lcs (>= 1.2.0, < 2.0)
128
+ rspec-support (~> 3.12.0)
129
+ rspec-rails (4.1.2)
130
+ actionpack (>= 4.2)
131
+ activesupport (>= 4.2)
132
+ railties (>= 4.2)
133
+ rspec-core (~> 3.10)
134
+ rspec-expectations (~> 3.10)
135
+ rspec-mocks (~> 3.10)
136
+ rspec-support (~> 3.10)
137
+ rspec-support (3.12.0)
138
+ sass-rails (6.0.0)
139
+ sassc-rails (~> 2.1, >= 2.1.1)
140
+ sassc (2.4.0)
141
+ ffi (~> 1.9)
142
+ sassc-rails (2.1.2)
143
+ railties (>= 4.0.0)
144
+ sassc (>= 2.0)
145
+ sprockets (> 3.0)
146
+ sprockets-rails
147
+ tilt
148
+ simplecov (0.21.2)
149
+ docile (~> 1.1)
150
+ simplecov-html (~> 0.11)
151
+ simplecov_json_formatter (~> 0.1)
152
+ simplecov-html (0.12.3)
153
+ simplecov-lcov (0.8.0)
154
+ simplecov_json_formatter (0.1.4)
155
+ slim (4.1.0)
156
+ temple (>= 0.7.6, < 0.9)
157
+ tilt (>= 2.0.6, < 2.1)
158
+ sprockets (4.1.1)
159
+ concurrent-ruby (~> 1.0)
160
+ rack (> 1, < 3)
161
+ sprockets-rails (3.2.2)
162
+ actionpack (>= 4.0)
163
+ activesupport (>= 4.0)
164
+ sprockets (>= 3.0.0)
165
+ sqlite3 (1.3.13)
166
+ temple (0.8.2)
167
+ thin (1.8.1)
168
+ daemons (~> 1.0, >= 1.0.9)
169
+ eventmachine (~> 1.0, >= 1.0.4)
170
+ rack (>= 1, < 3)
171
+ thor (1.2.1)
172
+ thread_safe (0.3.6)
173
+ tilt (2.0.11)
174
+ tzinfo (1.2.10)
175
+ thread_safe (~> 0.1)
176
+ uglifier (4.2.0)
177
+ execjs (>= 0.3.0, < 3)
178
+ websocket-driver (0.6.5)
179
+ websocket-extensions (>= 0.1.0)
180
+ websocket-extensions (0.1.5)
181
+
182
+ PLATFORMS
183
+ ruby
184
+
185
+ DEPENDENCIES
186
+ byebug
187
+ chanko!
188
+ coffee-rails (>= 3.0.10)
189
+ jquery-rails
190
+ pry
191
+ pry-rails
192
+ rails (~> 5.1.0)
193
+ rspec-rails (>= 3.0.0)
194
+ sass-rails (>= 3.0.10)
195
+ simplecov
196
+ simplecov-lcov
197
+ slim
198
+ sqlite3 (~> 1.3.6)
199
+ thin
200
+ uglifier
201
+
202
+ BUNDLED WITH
203
+ 2.3.26
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'rails', '~> 5.2.0'
6
+ gem 'sqlite3', '~> 1.3.6'