bug_no_shirase_rails 0.0.1 → 0.1.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 (62) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +49 -0
  3. data/.travis.yml +4 -0
  4. data/Gemfile +15 -0
  5. data/LICENSE +22 -0
  6. data/README.md +36 -0
  7. data/Rakefile +4 -35
  8. data/bin/bug_no_shirase +6 -0
  9. data/bin/console +14 -0
  10. data/bin/setup +7 -0
  11. data/bug_no_shirase_rails.gemspec +24 -0
  12. data/lib/bug_no_shirase_rails.rb +5 -1
  13. data/lib/bug_no_shirase_rails/version.rb +1 -1
  14. data/lib/test_gem.rb +8 -0
  15. metadata +48 -93
  16. data/README.rdoc +0 -3
  17. data/app/assets/javascripts/bug_no_shirase_rails/application.js +0 -13
  18. data/app/assets/stylesheets/bug_no_shirase_rails/application.css +0 -15
  19. data/app/controllers/bug_no_shirase_rails/application_controller.rb +0 -4
  20. data/app/helpers/bug_no_shirase_rails/application_helper.rb +0 -4
  21. data/app/views/layouts/bug_no_shirase_rails/application.html.erb +0 -14
  22. data/bin/rails +0 -12
  23. data/config/routes.rb +0 -2
  24. data/lib/bug_no_shirase_rails/engine.rb +0 -5
  25. data/lib/tasks/bug_no_shirase_rails_tasks.rake +0 -4
  26. data/test/bug_no_shirase_rails_test.rb +0 -7
  27. data/test/dummy/README.rdoc +0 -28
  28. data/test/dummy/Rakefile +0 -6
  29. data/test/dummy/app/assets/javascripts/application.js +0 -13
  30. data/test/dummy/app/assets/stylesheets/application.css +0 -15
  31. data/test/dummy/app/controllers/application_controller.rb +0 -5
  32. data/test/dummy/app/helpers/application_helper.rb +0 -2
  33. data/test/dummy/app/views/layouts/application.html.erb +0 -14
  34. data/test/dummy/bin/bundle +0 -3
  35. data/test/dummy/bin/rails +0 -4
  36. data/test/dummy/bin/rake +0 -4
  37. data/test/dummy/bin/setup +0 -29
  38. data/test/dummy/config.ru +0 -4
  39. data/test/dummy/config/application.rb +0 -26
  40. data/test/dummy/config/boot.rb +0 -5
  41. data/test/dummy/config/database.yml +0 -25
  42. data/test/dummy/config/environment.rb +0 -5
  43. data/test/dummy/config/environments/development.rb +0 -41
  44. data/test/dummy/config/environments/production.rb +0 -79
  45. data/test/dummy/config/environments/test.rb +0 -42
  46. data/test/dummy/config/initializers/assets.rb +0 -11
  47. data/test/dummy/config/initializers/backtrace_silencers.rb +0 -7
  48. data/test/dummy/config/initializers/cookies_serializer.rb +0 -3
  49. data/test/dummy/config/initializers/filter_parameter_logging.rb +0 -4
  50. data/test/dummy/config/initializers/inflections.rb +0 -16
  51. data/test/dummy/config/initializers/mime_types.rb +0 -4
  52. data/test/dummy/config/initializers/session_store.rb +0 -3
  53. data/test/dummy/config/initializers/wrap_parameters.rb +0 -14
  54. data/test/dummy/config/locales/en.yml +0 -23
  55. data/test/dummy/config/routes.rb +0 -4
  56. data/test/dummy/config/secrets.yml +0 -22
  57. data/test/dummy/public/404.html +0 -67
  58. data/test/dummy/public/422.html +0 -67
  59. data/test/dummy/public/500.html +0 -66
  60. data/test/dummy/public/favicon.ico +0 -0
  61. data/test/integration/navigation_test.rb +0 -10
  62. data/test/test_helper.rb +0 -20
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2b5c172b171b0ef17eebc1f712e9ca8db0676d3d
4
- data.tar.gz: e4e391eeafeb242b1a5a4253a069e015a9a0217e
3
+ metadata.gz: 2d494eeb4cda3ec71a5f123dedd14af18f255617
4
+ data.tar.gz: 5ad20afef4e20bb59e12cbd9c31ab4fe75c829a5
5
5
  SHA512:
6
- metadata.gz: 4a877fa0dc2c3cbb8ba71f10a4bdb758c494809ce1f823b86a2ea922d41e396b9ec28d68853e8cdcaf9c63a92bb367474d3e0e72f65688c805534fe102f88ecb
7
- data.tar.gz: 0ef6bdb8e99df8fae7a241b072cce9fd30cd2e0a2458e9f02e37200afcbb8bf5dbc2348eb85493bd9ab41d2cbf233cb41d699c7d12844e62afced2cc37fbd8d9
6
+ metadata.gz: 03fe7a1e9b970e768fb896edfc12759ce3abf52fdb3933d3675c82051e7c0c463e4665a2c4f9bd7f235982d5413b639f15bc2cfbf30ef251b9d1565c344189ac
7
+ data.tar.gz: 748b6e9b66494b55a362a85f46ace7db574b9b48e46a14eded257674cabf57d2d33bbb38e39befe5c5132cf2199130445c28bb0f42c4a1ab6fe80cf6a837ce06
data/.gitignore ADDED
@@ -0,0 +1,49 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /pkg/
7
+ /spec/reports/
8
+
9
+ *.rbc
10
+ capybara-*.html
11
+ .rspec
12
+ /log
13
+ /tmp
14
+ /db/*.sqlite3
15
+ /db/*.sqlite3-journal
16
+ /public/system
17
+ /coverage/
18
+ /spec/tmp
19
+ **.orig
20
+ rerun.txt
21
+ pickle-email-*.html
22
+ pkg/
23
+ test/dummy/db/*.sqlite3
24
+ test/dummy/db/*.sqlite3-journal
25
+ test/dummy/log/*.log
26
+ test/dummy/tmp/
27
+ test/dummy/.sass-cache
28
+
29
+ # TODO Comment out these rules if you are OK with secrets being uploaded to the repo
30
+ config/initializers/secret_token.rb
31
+ config/secrets.yml
32
+
33
+ ## Environment normalisation:
34
+ /.bundle
35
+ /vendor/bundle
36
+
37
+ # these should all be checked in to normalise the environment:
38
+ # Gemfile.lock, .ruby-version, .ruby-gemset
39
+
40
+ # unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
41
+ .rvmrc
42
+
43
+ # if using bower-rails ignore default bower_components path bower.json files
44
+ /vendor/assets/bower_components
45
+ *.bowerrc
46
+ bower.json
47
+
48
+ # Ignore pow environment settings
49
+ .powenv
data/.travis.yml ADDED
@@ -0,0 +1,4 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.0.0
4
+ before_install: gem install bundler -v 1.10.6
data/Gemfile ADDED
@@ -0,0 +1,15 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Declare your gem's dependencies in bug_no_shirase_rails.gemspec.
4
+ # Bundler will treat runtime dependencies like base dependencies, and
5
+ # development dependencies will be added by default to the :development group.
6
+ gemspec
7
+
8
+ # Declare any dependencies that are still in development here instead of in
9
+ # your gemspec. These might include edge Rails or gems from your path or
10
+ # Git. Remember to move these dependencies to your gemspec before releasing
11
+ # your gem to rubygems.org.
12
+
13
+ # To use a debugger
14
+ # gem 'byebug', group: [:development, :test]
15
+
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Tetsuya Taguchi
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
data/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # BugNoShiraseRails
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/bug_no_shirase_rails`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'bug_no_shirase_rails'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install bug_no_shirase_rails
22
+
23
+ ## Usage
24
+
25
+ TODO: Write usage instructions here
26
+
27
+ ## Development
28
+
29
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
+
31
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/bug_no_shirase_rails.
36
+
data/Rakefile CHANGED
@@ -1,37 +1,6 @@
1
- begin
2
- require 'bundler/setup'
3
- rescue LoadError
4
- puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
- end
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
6
3
 
7
- require 'rdoc/task'
4
+ RSpec::Core::RakeTask.new(:spec)
8
5
 
9
- RDoc::Task.new(:rdoc) do |rdoc|
10
- rdoc.rdoc_dir = 'rdoc'
11
- rdoc.title = 'BugNoShiraseRails'
12
- rdoc.options << '--line-numbers'
13
- rdoc.rdoc_files.include('README.rdoc')
14
- rdoc.rdoc_files.include('lib/**/*.rb')
15
- end
16
-
17
- APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
18
- load 'rails/tasks/engine.rake'
19
-
20
-
21
- load 'rails/tasks/statistics.rake'
22
-
23
-
24
-
25
- Bundler::GemHelper.install_tasks
26
-
27
- require 'rake/testtask'
28
-
29
- Rake::TestTask.new(:test) do |t|
30
- t.libs << 'lib'
31
- t.libs << 'test'
32
- t.pattern = 'test/**/*_test.rb'
33
- t.verbose = false
34
- end
35
-
36
-
37
- task default: :test
6
+ task :default => :spec
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bug_no_shirase_rails'
4
+
5
+ puts BugNoShiraseRails.greet
6
+
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "bug_no_shirase_rails"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start
data/bin/setup ADDED
@@ -0,0 +1,7 @@
1
+ #!/bin/bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+
5
+ bundle install
6
+
7
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'bug_no_shirase_rails/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "bug_no_shirase_rails"
8
+ spec.version = BugNoShiraseRails::VERSION
9
+ spec.authors = ["Tetsuya Taguchi"]
10
+ spec.email = ["bouzu.ao@gmail.com"]
11
+
12
+ spec.summary = %q{BugNoShiraseRails}
13
+ spec.description = %q{BugNoShiraseRails}
14
+ spec.homepage = "https://github.com/tagty/bug_no_shirase_rails"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
17
+ spec.bindir = "exe"
18
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler", "~> 1.10"
22
+ spec.add_development_dependency "rake", "~> 10.0"
23
+ spec.add_development_dependency "rspec"
24
+ end
@@ -1,4 +1,8 @@
1
- require "bug_no_shirase_rails/engine"
1
+ require "bug_no_shirase_rails/version"
2
2
 
3
3
  module BugNoShiraseRails
4
+ # Your code goes here...
5
+ def self.greet
6
+ 'Hello World!'
7
+ end
4
8
  end
@@ -1,3 +1,3 @@
1
1
  module BugNoShiraseRails
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
data/lib/test_gem.rb ADDED
@@ -0,0 +1,8 @@
1
+ require 'test_gem/version'
2
+
3
+ module TestGem
4
+ def self.greet
5
+ 'Hello World!'
6
+ end
7
+ end
8
+
metadata CHANGED
@@ -1,17 +1,45 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bug_no_shirase_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tetsuya Taguchi
8
8
  autorequire:
9
- bindir: bin
9
+ bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-08 00:00:00.000000000 Z
11
+ date: 2015-09-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: sqlite3
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '1.10'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.10'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
15
43
  requirement: !ruby/object:Gem::Requirement
16
44
  requirements:
17
45
  - - '>='
@@ -24,68 +52,32 @@ dependencies:
24
52
  - - '>='
25
53
  - !ruby/object:Gem::Version
26
54
  version: '0'
27
- description: bug_no_shirase_rails
55
+ description: BugNoShiraseRails
28
56
  email:
29
57
  - bouzu.ao@gmail.com
30
58
  executables: []
31
59
  extensions: []
32
60
  extra_rdoc_files: []
33
61
  files:
62
+ - .gitignore
63
+ - .rspec
64
+ - .travis.yml
65
+ - Gemfile
66
+ - Gemfile.lock
67
+ - LICENSE
34
68
  - MIT-LICENSE
35
- - README.rdoc
69
+ - README.md
36
70
  - Rakefile
37
- - app/assets/javascripts/bug_no_shirase_rails/application.js
38
- - app/assets/stylesheets/bug_no_shirase_rails/application.css
39
- - app/controllers/bug_no_shirase_rails/application_controller.rb
40
- - app/helpers/bug_no_shirase_rails/application_helper.rb
41
- - app/views/layouts/bug_no_shirase_rails/application.html.erb
71
+ - bin/bug_no_shirase
42
72
  - bin/bug_test.rb
43
- - bin/rails
44
- - config/routes.rb
73
+ - bin/console
74
+ - bin/setup
75
+ - bug_no_shirase_rails.gemspec
45
76
  - lib/bug_no_shirase_rails.rb
46
- - lib/bug_no_shirase_rails/engine.rb
47
77
  - lib/bug_no_shirase_rails/version.rb
48
- - lib/tasks/bug_no_shirase_rails_tasks.rake
49
- - test/bug_no_shirase_rails_test.rb
50
- - test/dummy/README.rdoc
51
- - test/dummy/Rakefile
52
- - test/dummy/app/assets/javascripts/application.js
53
- - test/dummy/app/assets/stylesheets/application.css
54
- - test/dummy/app/controllers/application_controller.rb
55
- - test/dummy/app/helpers/application_helper.rb
56
- - test/dummy/app/views/layouts/application.html.erb
57
- - test/dummy/bin/bundle
58
- - test/dummy/bin/rails
59
- - test/dummy/bin/rake
60
- - test/dummy/bin/setup
61
- - test/dummy/config.ru
62
- - test/dummy/config/application.rb
63
- - test/dummy/config/boot.rb
64
- - test/dummy/config/database.yml
65
- - test/dummy/config/environment.rb
66
- - test/dummy/config/environments/development.rb
67
- - test/dummy/config/environments/production.rb
68
- - test/dummy/config/environments/test.rb
69
- - test/dummy/config/initializers/assets.rb
70
- - test/dummy/config/initializers/backtrace_silencers.rb
71
- - test/dummy/config/initializers/cookies_serializer.rb
72
- - test/dummy/config/initializers/filter_parameter_logging.rb
73
- - test/dummy/config/initializers/inflections.rb
74
- - test/dummy/config/initializers/mime_types.rb
75
- - test/dummy/config/initializers/session_store.rb
76
- - test/dummy/config/initializers/wrap_parameters.rb
77
- - test/dummy/config/locales/en.yml
78
- - test/dummy/config/routes.rb
79
- - test/dummy/config/secrets.yml
80
- - test/dummy/public/404.html
81
- - test/dummy/public/422.html
82
- - test/dummy/public/500.html
83
- - test/dummy/public/favicon.ico
84
- - test/integration/navigation_test.rb
85
- - test/test_helper.rb
78
+ - lib/test_gem.rb
86
79
  homepage: https://github.com/tagty/bug_no_shirase_rails
87
- licenses:
88
- - MIT
80
+ licenses: []
89
81
  metadata: {}
90
82
  post_install_message:
91
83
  rdoc_options: []
@@ -106,42 +98,5 @@ rubyforge_project:
106
98
  rubygems_version: 2.4.8
107
99
  signing_key:
108
100
  specification_version: 4
109
- summary: bug_no_shirase_rails
110
- test_files:
111
- - test/bug_no_shirase_rails_test.rb
112
- - test/dummy/app/assets/javascripts/application.js
113
- - test/dummy/app/assets/stylesheets/application.css
114
- - test/dummy/app/controllers/application_controller.rb
115
- - test/dummy/app/helpers/application_helper.rb
116
- - test/dummy/app/views/layouts/application.html.erb
117
- - test/dummy/bin/bundle
118
- - test/dummy/bin/rails
119
- - test/dummy/bin/rake
120
- - test/dummy/bin/setup
121
- - test/dummy/config/application.rb
122
- - test/dummy/config/boot.rb
123
- - test/dummy/config/database.yml
124
- - test/dummy/config/environment.rb
125
- - test/dummy/config/environments/development.rb
126
- - test/dummy/config/environments/production.rb
127
- - test/dummy/config/environments/test.rb
128
- - test/dummy/config/initializers/assets.rb
129
- - test/dummy/config/initializers/backtrace_silencers.rb
130
- - test/dummy/config/initializers/cookies_serializer.rb
131
- - test/dummy/config/initializers/filter_parameter_logging.rb
132
- - test/dummy/config/initializers/inflections.rb
133
- - test/dummy/config/initializers/mime_types.rb
134
- - test/dummy/config/initializers/session_store.rb
135
- - test/dummy/config/initializers/wrap_parameters.rb
136
- - test/dummy/config/locales/en.yml
137
- - test/dummy/config/routes.rb
138
- - test/dummy/config/secrets.yml
139
- - test/dummy/config.ru
140
- - test/dummy/public/404.html
141
- - test/dummy/public/422.html
142
- - test/dummy/public/500.html
143
- - test/dummy/public/favicon.ico
144
- - test/dummy/Rakefile
145
- - test/dummy/README.rdoc
146
- - test/integration/navigation_test.rb
147
- - test/test_helper.rb
101
+ summary: BugNoShiraseRails
102
+ test_files: []