verse-ruby 0.1.2 → 0.1.3

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: 255311fb8cc0e58f96a8183ba7f47866e6ec352c
4
- data.tar.gz: 478a3c0fc53eaa66d71af0c710dd8e8329c643f4
3
+ metadata.gz: a5e2bc78c0682581de2b8f13905b3bdbfe8849ff
4
+ data.tar.gz: 67f77f9aba328d3d3a90de2eb269264228cc7e9a
5
5
  SHA512:
6
- metadata.gz: d8c2a99b5871386dc39cb4fa0c57bff5dafebc93d37ed2b5534319ba0ac910c4834c1d544a1053aa1af8f2c919f553e52c3346e8ae7606e86885ff229303fb04
7
- data.tar.gz: 8052ecb87d52a96d39d4ff078e443c1307b3208150d65f7dbe4b09d1206d1f1f8c9e152d4e3d2afc303445ee304dce59f20c337d41af0747148ce12157131574
6
+ metadata.gz: be00d68daad02d496d994c8b4e7389913b3cb5b3277b6995626ddb2f4d07ca90a3b6603bdf813cf3c58568c86c63cce703f83c646a2de0f6becef1b1c8b53f88
7
+ data.tar.gz: e924ac8a94c06d57b37bda02d6cb3f6e4ef0891e544761b28fb90915fdeda80c4a995d747f8542d06895060c8286ee267cf65d232d7a25690f0ff8bcce7b4447
data/.rspec ADDED
@@ -0,0 +1 @@
1
+ --require spec_helper
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Verse::Ruby
2
2
 
3
+ [![CircleCI](https://img.shields.io/circleci/project/github/thombruce/verse-ruby.svg)](https://circleci.com/gh/thombruce/verse-ruby) [![Coveralls](https://img.shields.io/coveralls/thombruce/verse-ruby.svg)](https://coveralls.io/github/thombruce/verse-ruby) [![Gemnasium](https://img.shields.io/gemnasium/thombruce/verse-ruby.svg)](https://gemnasium.com/github.com/thombruce/verse-ruby) [![Code Climate](https://img.shields.io/codeclimate/github/thombruce/verse-ruby.svg)](https://codeclimate.com/github/thombruce/verse-ruby) [![Beerpay](https://beerpay.io/thombruce/verse-ruby/badge.svg?style=beer)](https://beerpay.io/thombruce/verse-ruby)
4
+
3
5
  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/verse`. To experiment with that code, run `bin/console` for an interactive prompt.
4
6
 
5
7
  TODO: Delete this and the text above, and describe your gem
@@ -1,6 +1,6 @@
1
1
  module Verse
2
2
  class Engine < ::Rails::Engine
3
- initializer "verse_controller" do
3
+ initializer 'verse_controller' do
4
4
  ActiveSupport.on_load(:action_controller) do
5
5
  include Verse::Controller
6
6
  end
@@ -3,9 +3,5 @@ module Verse
3
3
  include Her::Model
4
4
 
5
5
  include_root_in_json true
6
-
7
- def self.model_name
8
- ActiveModel::Name.new(self, nil, name.split('::').last)
9
- end
10
6
  end
11
7
  end
data/lib/verse/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Verse
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/verse.rb CHANGED
@@ -2,7 +2,7 @@ require 'her'
2
2
  require 'request_store'
3
3
 
4
4
  require "verse/controller"
5
- require "initializers/engine"
5
+ require "initializers/engine" if defined?(Rails)
6
6
 
7
7
  require "verse/version"
8
8
 
data/verse-ruby.gemspec CHANGED
@@ -23,9 +23,11 @@ Gem::Specification.new do |spec|
23
23
 
24
24
  spec.add_development_dependency "bundler", "~> 1.14"
25
25
  spec.add_development_dependency "coveralls", "~> 0.8"
26
- spec.add_development_dependency "rake", "~> 10.0"
26
+ spec.add_development_dependency "rake", "~> 12.1"
27
27
  spec.add_development_dependency "rspec", "~> 3"
28
- spec.add_development_dependency "rubocop", "~> 0.49.1"
28
+ spec.add_development_dependency "rubocop", "~> 0.50.0"
29
+ spec.add_development_dependency "vcr", "~> 3.0.3"
30
+ spec.add_development_dependency "webmock", "~> 3.0.1"
29
31
 
30
32
  spec.add_dependency "activesupport", "~> 5.1.0.rc1"
31
33
  spec.add_dependency "her", "~> 0.9.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: verse-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thom Bruce
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-18 00:00:00.000000000 Z
11
+ date: 2017-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '10.0'
47
+ version: '12.1'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '10.0'
54
+ version: '12.1'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -72,14 +72,42 @@ dependencies:
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: 0.49.1
75
+ version: 0.50.0
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.49.1
82
+ version: 0.50.0
83
+ - !ruby/object:Gem::Dependency
84
+ name: vcr
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 3.0.3
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 3.0.3
97
+ - !ruby/object:Gem::Dependency
98
+ name: webmock
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: 3.0.1
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: 3.0.1
83
111
  - !ruby/object:Gem::Dependency
84
112
  name: activesupport
85
113
  requirement: !ruby/object:Gem::Requirement
@@ -144,6 +172,7 @@ extensions: []
144
172
  extra_rdoc_files: []
145
173
  files:
146
174
  - ".gitignore"
175
+ - ".rspec"
147
176
  - ".rubocop.yml"
148
177
  - ".rubocop_todo.yml"
149
178
  - ".ruby-version"