view_components 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ee5719ede8e7cc459f19be78c50da1b8257e78d
4
- data.tar.gz: fc5c745fcda7c209d8af3c8bf22646be58ce19b2
3
+ metadata.gz: 272a91769f239034de2268364dd6ee58690fb1bd
4
+ data.tar.gz: d14fa4340288310a29c431b3f244865025e6ee9c
5
5
  SHA512:
6
- metadata.gz: 9ccd9f6677faadcbd54167d6b74bdeba8d619f8fdf60f54d560463a63c86056fae6c2a25737b37cd130b75e5c921c183725043dee9c2fa89226662ce9bdc6fb8
7
- data.tar.gz: 76dd1fc2e01758debba95be49ec67f670e1a6c216afb7aacfc25f432f023770b97f5d98a9853c5e72d27ddca8631a07e9dcf944b444a49f001103c6350cc75d6
6
+ metadata.gz: e3dd719e5e3efc1d3db9af5a4e1ec9b17be278fe2e48148caaaad44ba49c56ba4a5e980517063b930d1fc44f9570d71a5e9c3f357bebd588139cba5a3b7d1df6
7
+ data.tar.gz: 83250be3d0d0c26089d8b6dfe59f4edcf99f72030f2432a4c4fcd85ebce38cfebc2f1dff4c4fdb057291fe6811f657108a367cf1dc62deb519028cd254a01e22
data/README.md CHANGED
@@ -36,9 +36,10 @@ Use it in your views:
36
36
 
37
37
  ## Installation
38
38
 
39
- Add `rails-view_components` to your Gemfile, using the path to the Github repository:
39
+ Add `view_components` to your Gemfile:
40
40
  ```ruby
41
- gem 'rails-view_components', git: 'https://github.com/manastech/rails-view_components.git', branch: 'master'
41
+ source 'https://rubygems.org'
42
+ gem 'view_components'
42
43
  ```
43
44
 
44
45
  ## Usage
@@ -1,3 +1,3 @@
1
1
  module ViewComponents
2
- VERSION = "0.0.1"
2
+ VERSION = "0.1.0"
3
3
  end
@@ -1,4 +1,8 @@
1
- Rails.application.configure do
1
+ if Rails::VERSION::MAJOR == 3
2
+ Dummy::Application
3
+ else
4
+ Rails.application
5
+ end.configure do
2
6
  # Settings specified here will take precedence over those in config/application.rb.
3
7
 
4
8
  # The test environment is used exclusively to run your application's
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: view_components
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
  - Brian J. Cardiff