sinatra-decorator 0.0.2 → 0.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
  SHA1:
3
- metadata.gz: a520a7de4af54c40a8d0d31134a08290c620ef21
4
- data.tar.gz: f3cd6cee69c92deff6bfd369ce6c1967c32e8ab6
3
+ metadata.gz: f3f4bc7970a2e0c189c495a1f6e9cb73c1fc6d42
4
+ data.tar.gz: ae873620f143866e55562ff2e858aca981a658fd
5
5
  SHA512:
6
- metadata.gz: bee14b9fca296290ec1823e751f93acd955fa42f1799dabfbec4745c80025f0027088231a48876cfa8171638f92032b88a7ad71c3ecc2d2e9c807384f4b0f8da
7
- data.tar.gz: 4d07bb0c19e2a5eb025f46fcc1dc3b2c9e88a1ea9d18a1b00bc29b796d252ccfe3631b27adfc9389842dd0ca1a6c8eb5ac77343759cd424b5e0458ff24e6ab31
6
+ metadata.gz: 9e68c78adbc739553ce6db7ad0799d65cced4058a0a8cc4d56c7286e17bd9f01cd744574b19ce8731f3d17e54ebd7c3eb4c8fbd1ceab87f34933aad5daeabde1
7
+ data.tar.gz: 774ab9e8b8824bea7803e171a73549080d25812285f9aa2dad45f4c0eb15286e2056de52850d91dcbeff4eee80b9e3a8612e789928aa7daf42e678495fae8d50
@@ -6,12 +6,13 @@ install:
6
6
  rvm:
7
7
  - 1.9.3
8
8
  - 2.0.0
9
- - 2.1.0
9
+ - 2.1
10
10
  - rbx
11
- - jruby-19mode
11
+ - jruby
12
12
  branches:
13
13
  only:
14
14
  - master
15
15
  matrix:
16
16
  allow_failures:
17
17
  - rvm: rbx
18
+ - rvm: jruby
data/README.md CHANGED
@@ -33,7 +33,7 @@ require_relative 'models/post'
33
33
  require_relative 'decorators/post_decorator'
34
34
 
35
35
  get '/' do
36
- @post = Post.new.decorate
36
+ @post = Post.new.decorate # will try to find "#{self.class}Decorator" class
37
37
  slim :show
38
38
  end
39
39
 
@@ -1,6 +1,6 @@
1
1
  module Sinatra
2
2
  module Decorator
3
- VERSION = '0.0.2' unless defined?(Sinatra::Decorator::VERSION)
3
+ VERSION = '0.1.1' unless defined?(Sinatra::Decorator::VERSION)
4
4
 
5
5
  def self.version
6
6
  VERSION
@@ -1,4 +1,3 @@
1
- gem 'minitest'
2
1
  require 'minitest/autorun'
3
2
  require 'minitest/spec'
4
3
 
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sinatra-decorator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naotoshi Seo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-10 00:00:00.000000000 Z
11
+ date: 2014-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  description: Object-Oriented layer of presentation logic to your Sinatra apps.
@@ -31,10 +31,10 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
- - .document
35
- - .gitignore
36
- - .travis.yml
37
- - .yardopts
34
+ - ".document"
35
+ - ".gitignore"
36
+ - ".travis.yml"
37
+ - ".yardopts"
38
38
  - Gemfile
39
39
  - LICENSE
40
40
  - README.md
@@ -61,22 +61,22 @@ licenses: []
61
61
  metadata: {}
62
62
  post_install_message:
63
63
  rdoc_options:
64
- - --charset=UTF-8
64
+ - "--charset=UTF-8"
65
65
  require_paths:
66
66
  - lib
67
67
  required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - '>='
69
+ - - ">="
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - '>='
74
+ - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: 1.3.6
77
77
  requirements: []
78
78
  rubyforge_project: sinatra-decorator
79
- rubygems_version: 2.0.3
79
+ rubygems_version: 2.2.2
80
80
  signing_key:
81
81
  specification_version: 4
82
82
  summary: View models for sinatra