viewable 0.5.14 → 0.5.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -6
- data/viewable.gemspec +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47494ae9db7ffad41ab622cfdbf6dc9799647a5d
|
4
|
+
data.tar.gz: e6b741407364bdc71639b6cd4696a2f35c2c6f5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8180bfac4df3a9d7df614bdccf7974c48adb0c783a9a150f16802767b2c9f886560ded1213cfe719770cc6323d81d1cb7c80e0e8ef620d412982d76b0ff1db37
|
7
|
+
data.tar.gz: 5a735ae7314bb85ad5382614872802728eb2f4a058c93ead323ae14c5581e5956d3f64d80954c01666fd65406044df6261c0dc82d94eb954aceac2e97febc728
|
data/README.md
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
|
12
12
|
Viewable works with Rails 4.0. Add this line to your Gemfile:
|
13
13
|
|
14
|
-
gem 'viewable', '~> 0.5.
|
14
|
+
gem 'viewable', '~> 0.5.15'
|
15
15
|
|
16
16
|
Then execute:
|
17
17
|
|
@@ -29,13 +29,10 @@ Alternatively you can specify a named resource such as 'room'
|
|
29
29
|
|
30
30
|
$ rails generate viewable:install room
|
31
31
|
|
32
|
-
The generator will create the file structure you need to implement viewing functionality into your app:
|
32
|
+
The generator will create the file structure you need to implement viewing functionality into your app, it will also run migrations after generating these:
|
33
33
|
* controllers
|
34
34
|
* models - resource(room) and viewing
|
35
35
|
* views
|
36
36
|
* javascript - which uses the jQuery Full Calendar (old) plugin
|
37
37
|
* css - some basic CSS is provided which you may want to override
|
38
|
-
|
39
|
-
The necessary routes will be applied to your routes file and you will need to run, you may want to edit the migration file.
|
40
|
-
|
41
|
-
$ rake db:migrate
|
38
|
+
* routes
|
data/viewable.gemspec
CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
# metadata
|
7
7
|
s.name = 'viewable'
|
8
|
-
s.version = '0.5.
|
8
|
+
s.version = '0.5.15'
|
9
9
|
s.licenses = ['MIT']
|
10
10
|
s.summary = %q{a viewings calendar gem for rails 4.0}
|
11
11
|
s.description = %q{Viewable is a Rails 4.0 gem that enables you to add resource viewing functionality to your Rails application. A resource can be anything that is viewable e.g. function room, conference hall. }
|
@@ -28,5 +28,5 @@ Gem::Specification.new do |s|
|
|
28
28
|
# runtime dependencies
|
29
29
|
s.add_dependency 'jbuilder', '~> 2.0'
|
30
30
|
s.add_dependency 'rails_12factor', '~> 0.0.3'
|
31
|
-
s.add_dependency 'responders', '~> 2.
|
31
|
+
s.add_dependency 'responders', '~> 2.0'
|
32
32
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: viewable
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom Cox
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-03-
|
12
|
+
date: 2015-03-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -73,14 +73,14 @@ dependencies:
|
|
73
73
|
requirements:
|
74
74
|
- - "~>"
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: '2.
|
76
|
+
version: '2.0'
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
79
|
version_requirements: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - "~>"
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: '2.
|
83
|
+
version: '2.0'
|
84
84
|
description: 'Viewable is a Rails 4.0 gem that enables you to add resource viewing
|
85
85
|
functionality to your Rails application. A resource can be anything that is viewable
|
86
86
|
e.g. function room, conference hall. '
|