brace_comb 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: c3f4a2060ab1b9507b4ec5ea18df91473e465ba3
4
- data.tar.gz: 86ab140e66bc4d9432ca8f02b9a7690715b620b1
3
+ metadata.gz: 41d35900d437fbd8fb7020a89d72244682bfb255
4
+ data.tar.gz: b4be3187728524431a2b33cfef64006660cc638d
5
5
  SHA512:
6
- metadata.gz: 96a050f07a60bfd8c59466a56c0ee6147c8c2e72c190399f4d9b9305f0fdfbfc81c4c0fbcf85e3880c618b55437887295fe60d930c240845196f15ba91ad46ca
7
- data.tar.gz: e65946dbf7044edaf1722e2ccb5fe93834b566500cb1462e03b587c1bc14652fb27acefa2607329df1c8727a0142cef2de831c108e74a491448bd0d8f456dc8b
6
+ metadata.gz: 17ace335998349832f61efc1671d773a862ef0bc84f99ca5ae4a85aa7fba29b2d23154ab33fee9deadfcf760be56a171b685a4bdd2ca2c0cc0ba6af01f9fd94e
7
+ data.tar.gz: '09fae34d26d65f50119710fec7cb7704ab5d2b5b0c3a174caafc67bf3d5e4ee4c5cd5c237dcfa514608a0b197ef66f740fdd8af92a1b5fa9554b937b62658406'
data/README.md CHANGED
@@ -50,7 +50,7 @@ To kick-off this flow just call `dependency.resolve` and the before and after ho
50
50
  d. Create the dependency tables and associations using `bundle exec rake db:migrate`
51
51
 
52
52
  e. Generate the basic dependency model by running:
53
- ```bundle exec rails generate brace_comb:model ''```
53
+ ```bundle exec rails generate brace_comb:model <insert model name here>```
54
54
 
55
55
  ## Usage
56
56
 
@@ -19,10 +19,9 @@ Gem::Specification.new do |spec|
19
19
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
20
20
  spec.require_paths = ['lib']
21
21
 
22
- spec.add_dependency 'activerecord', ['>= 4.0', '< 5.2']
22
+ spec.add_dependency 'activerecord'
23
23
  spec.add_dependency 'dry-configurable', '~> 0.6'
24
24
 
25
- spec.add_development_dependency 'activesupport', '>= 4.2.5'
26
25
  spec.add_development_dependency 'bundler', '~> 1.15'
27
26
  spec.add_development_dependency 'generator_spec', '~> 0.9.3'
28
27
  spec.add_development_dependency 'pry'
@@ -27,8 +27,5 @@ module BraceComb
27
27
  end
28
28
  end
29
29
 
30
- ActiveSupport.on_load(:active_record) do
31
- include BraceComb::Model
32
- end
33
30
 
34
31
 
@@ -1,3 +1,3 @@
1
1
  module BraceComb
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
@@ -33,7 +33,7 @@ module BraceComb
33
33
 
34
34
  def model_contents
35
35
  <<-CONTENT
36
- enum status: { pending: 0, resolved: 1 }
36
+ enum status: { pending: 0, resolved: 1 }
37
37
  CONTENT
38
38
  end
39
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: brace_comb
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
  - Ankita Gupta
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-08-22 00:00:00.000000000 Z
11
+ date: 2019-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '4.0'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '5.2'
19
+ version: '0'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '4.0'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '5.2'
26
+ version: '0'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: dry-configurable
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -44,20 +38,6 @@ dependencies:
44
38
  - - "~>"
45
39
  - !ruby/object:Gem::Version
46
40
  version: '0.6'
47
- - !ruby/object:Gem::Dependency
48
- name: activesupport
49
- requirement: !ruby/object:Gem::Requirement
50
- requirements:
51
- - - ">="
52
- - !ruby/object:Gem::Version
53
- version: 4.2.5
54
- type: :development
55
- prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- version: 4.2.5
61
41
  - !ruby/object:Gem::Dependency
62
42
  name: bundler
63
43
  requirement: !ruby/object:Gem::Requirement