aureus 3.0.3 → 3.0.4

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: 327335339e800e2c6603c9ef3f2cf96a42e63887
4
- data.tar.gz: b906d2016e5058274dddb3843ba916a7d7a5dfd9
3
+ metadata.gz: 3053009b107d6bba8fecac48fe9c49e750cf5160
4
+ data.tar.gz: aae18ddddc786189141232580e971cc37b236c72
5
5
  SHA512:
6
- metadata.gz: dee7ed3086af9e77c3ddda4d8bff865b8bb581385d1d6d06959e92c0255a03c155b801a4a01f959a00833c08885cd40df94b115c46ba63c07e643d19445fbb1d
7
- data.tar.gz: f5bed1df54a46d778cfde0bd01113555442e843f75c7775db5f905f7b4594a460559ea3f4dc054cdd0eecd7c3a13b71a000464b458f887edfc15780792f4889d
6
+ metadata.gz: 0c12b6344f6e8aae83cc94ae0b5c9c37f11d103561b2cf16718000f3d633860139e9e28b99ecb1045eef1ec0df12f626430f5078512d6b65f2a26b14a75cf442
7
+ data.tar.gz: 5ffd935e7fe4a6ec8e0f748a4e1d782c70372fbee857597ce8c02edc3c0beb920d56af7b08809b3dd75c8ea9cb6d48808559d5d933e70ce60b4700b480372693
data/.gitignore CHANGED
@@ -2,3 +2,4 @@
2
2
  tmp
3
3
  spec/internal/tmp
4
4
  *.gem
5
+ *.db
data/Gemfile CHANGED
@@ -3,7 +3,7 @@ gemspec
3
3
 
4
4
  group :development, :test do
5
5
  gem 'rake'
6
- gem 'rspec-rails', '~> 2.14'
6
+ gem 'rspec-rails'
7
7
  gem 'combustion'
8
8
  gem 'actionpack'
9
9
  gem 'activerecord'
data/Gemfile.lock CHANGED
@@ -1,41 +1,45 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aureus (3.0.2)
4
+ aureus (3.0.3)
5
5
  formtastic (~> 3.0)
6
6
  haml-rails (~> 0.5)
7
- jquery-rails (~> 3.0)
7
+ jquery-rails (~> 4.0)
8
8
  normalize-rails (~> 3.0)
9
9
  sass-rails (~> 5.0)
10
10
 
11
11
  GEM
12
12
  remote: http://rubygems.org/
13
13
  specs:
14
- actionpack (4.1.1)
15
- actionview (= 4.1.1)
16
- activesupport (= 4.1.1)
17
- rack (~> 1.5.2)
14
+ actionpack (4.2.0)
15
+ actionview (= 4.2.0)
16
+ activesupport (= 4.2.0)
17
+ rack (~> 1.6.0)
18
18
  rack-test (~> 0.6.2)
19
- actionview (4.1.1)
20
- activesupport (= 4.1.1)
19
+ rails-dom-testing (~> 1.0, >= 1.0.5)
20
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
21
+ actionview (4.2.0)
22
+ activesupport (= 4.2.0)
21
23
  builder (~> 3.1)
22
24
  erubis (~> 2.7.0)
23
- activemodel (4.1.1)
24
- activesupport (= 4.1.1)
25
+ rails-dom-testing (~> 1.0, >= 1.0.5)
26
+ rails-html-sanitizer (~> 1.0, >= 1.0.1)
27
+ activemodel (4.2.0)
28
+ activesupport (= 4.2.0)
25
29
  builder (~> 3.1)
26
- activerecord (4.1.1)
27
- activemodel (= 4.1.1)
28
- activesupport (= 4.1.1)
29
- arel (~> 5.0.0)
30
- activesupport (4.1.1)
31
- i18n (~> 0.6, >= 0.6.9)
30
+ activerecord (4.2.0)
31
+ activemodel (= 4.2.0)
32
+ activesupport (= 4.2.0)
33
+ arel (~> 6.0)
34
+ activesupport (4.2.0)
35
+ i18n (~> 0.7)
32
36
  json (~> 1.7, >= 1.7.7)
33
37
  minitest (~> 5.1)
34
- thread_safe (~> 0.1)
38
+ thread_safe (~> 0.3, >= 0.3.4)
35
39
  tzinfo (~> 1.1)
36
- arel (5.0.1.20140414130214)
40
+ arel (6.0.0)
37
41
  builder (3.2.2)
38
- combustion (0.5.1)
42
+ combustion (0.5.2)
39
43
  activesupport (>= 3.0.0)
40
44
  railties (>= 3.0.0)
41
45
  thor (>= 0.14.6)
@@ -43,7 +47,7 @@ GEM
43
47
  erubis (2.7.0)
44
48
  formtastic (3.1.2)
45
49
  actionpack (>= 3.2.13)
46
- generator_spec (0.9.2)
50
+ generator_spec (0.9.3)
47
51
  activesupport (>= 3.0.0)
48
52
  railties (>= 3.0.0)
49
53
  haml (4.1.0.beta.1)
@@ -61,39 +65,57 @@ GEM
61
65
  haml (>= 4.0.0.rc.1)
62
66
  hpricot (~> 0.8.6)
63
67
  ruby_parser (~> 3.1.1)
64
- i18n (0.6.11)
65
- jquery-rails (3.1.2)
66
- railties (>= 3.0, < 5.0)
68
+ i18n (0.7.0)
69
+ jquery-rails (4.0.3)
70
+ rails-dom-testing (~> 1.0)
71
+ railties (>= 4.2.0)
67
72
  thor (>= 0.14, < 2.0)
68
73
  json (1.8.1)
74
+ loofah (2.0.1)
75
+ nokogiri (>= 1.5.9)
76
+ mini_portile (0.6.2)
69
77
  minitest (5.5.0)
70
78
  multi_json (1.10.1)
79
+ nokogiri (1.6.5)
80
+ mini_portile (~> 0.6.0)
71
81
  normalize-rails (3.0.1)
72
- rack (1.5.2)
82
+ rack (1.6.0)
73
83
  rack-test (0.6.2)
74
84
  rack (>= 1.0)
75
- railties (4.1.1)
76
- actionpack (= 4.1.1)
77
- activesupport (= 4.1.1)
85
+ rails-deprecated_sanitizer (1.0.3)
86
+ activesupport (>= 4.2.0.alpha)
87
+ rails-dom-testing (1.0.5)
88
+ activesupport (>= 4.2.0.beta, < 5.0)
89
+ nokogiri (~> 1.6.0)
90
+ rails-deprecated_sanitizer (>= 1.0.1)
91
+ rails-html-sanitizer (1.0.1)
92
+ loofah (~> 2.0)
93
+ railties (4.2.0)
94
+ actionpack (= 4.2.0)
95
+ activesupport (= 4.2.0)
78
96
  rake (>= 0.8.7)
79
97
  thor (>= 0.18.1, < 2.0)
80
98
  rake (10.4.2)
81
- rspec-core (2.14.8)
82
- rspec-expectations (2.14.5)
83
- diff-lcs (>= 1.1.3, < 2.0)
84
- rspec-mocks (2.14.6)
85
- rspec-rails (2.14.2)
99
+ rspec-core (3.1.7)
100
+ rspec-support (~> 3.1.0)
101
+ rspec-expectations (3.1.2)
102
+ diff-lcs (>= 1.2.0, < 2.0)
103
+ rspec-support (~> 3.1.0)
104
+ rspec-mocks (3.1.3)
105
+ rspec-support (~> 3.1.0)
106
+ rspec-rails (3.1.0)
86
107
  actionpack (>= 3.0)
87
- activemodel (>= 3.0)
88
108
  activesupport (>= 3.0)
89
109
  railties (>= 3.0)
90
- rspec-core (~> 2.14.0)
91
- rspec-expectations (~> 2.14.0)
92
- rspec-mocks (~> 2.14.0)
110
+ rspec-core (~> 3.1.0)
111
+ rspec-expectations (~> 3.1.0)
112
+ rspec-mocks (~> 3.1.0)
113
+ rspec-support (~> 3.1.0)
114
+ rspec-support (3.1.2)
93
115
  ruby_parser (3.1.3)
94
116
  sexp_processor (~> 4.1)
95
117
  sass (3.4.9)
96
- sass-rails (5.0.0)
118
+ sass-rails (5.0.1)
97
119
  railties (>= 4.0.0, < 5.0)
98
120
  sass (~> 3.1)
99
121
  sprockets (>= 2.8, < 4.0)
@@ -109,7 +131,7 @@ GEM
109
131
  actionpack (>= 3.0)
110
132
  activesupport (>= 3.0)
111
133
  sprockets (>= 2.8, < 4.0)
112
- sqlite3 (1.3.9)
134
+ sqlite3 (1.3.10)
113
135
  thor (0.19.1)
114
136
  thread_safe (0.3.4)
115
137
  tilt (1.4.1)
@@ -126,6 +148,6 @@ DEPENDENCIES
126
148
  combustion
127
149
  generator_spec
128
150
  rake
129
- rspec-rails (~> 2.14)
151
+ rspec-rails
130
152
  sprockets
131
153
  sqlite3
data/aureus.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
19
19
 
20
20
  s.add_runtime_dependency 'sass-rails', '~> 5.0'
21
- s.add_runtime_dependency 'jquery-rails', '~> 3.0'
21
+ s.add_runtime_dependency 'jquery-rails', '~> 4.0'
22
22
  s.add_runtime_dependency 'haml-rails', '~> 0.5'
23
23
  s.add_runtime_dependency 'formtastic', '~> 3.0'
24
24
  s.add_runtime_dependency 'normalize-rails', '~> 3.0'
@@ -1,3 +1,3 @@
1
1
  module Aureus
2
- VERSION = '3.0.3'
2
+ VERSION = '3.0.4'
3
3
  end
@@ -1,3 +1,3 @@
1
1
  test:
2
2
  adapter: sqlite3
3
- database: ':memory:'
3
+ database: db/test.db
@@ -1,7 +1,9 @@
1
+ require_relative '../app/models/resource'
2
+
1
3
  ActiveRecord::Schema.define do
2
- create_table 'resources', force: true do |t|
3
- t.string 'title'
4
- t.string 'text'
4
+ create_table :resources, force: true do |t|
5
+ t.string :title
6
+ t.string :text
5
7
  end
6
8
  end
7
9
 
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  require_relative '../../../lib/generators/aureus/copy/copy_generator'
4
4
 
5
- describe Aureus::Generators::CopyGenerator do
5
+ describe Aureus::Generators::CopyGenerator, type: :generator do
6
6
  destination File.expand_path('../../../../tmp/gen', __FILE__)
7
7
 
8
8
  before do
@@ -2,7 +2,7 @@ require 'spec_helper'
2
2
 
3
3
  require_relative '../../../lib/generators/aureus/setup/setup_generator'
4
4
 
5
- describe Aureus::Generators::SetupGenerator do
5
+ describe Aureus::Generators::SetupGenerator, type: :generator do
6
6
  destination File.expand_path('../../../../tmp/gen', __FILE__)
7
7
 
8
8
  before do
data/spec/spec_helper.rb CHANGED
@@ -11,5 +11,6 @@ require 'rspec/rails'
11
11
  require 'generator_spec'
12
12
 
13
13
  RSpec.configure do |config|
14
+ config.infer_spec_type_from_file_location!
14
15
  config.use_transactional_fixtures = true
15
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aureus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joël Gähhwiler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-14 00:00:00.000000000 Z
11
+ date: 2015-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass-rails
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '3.0'
33
+ version: '4.0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '3.0'
40
+ version: '4.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: haml-rails
43
43
  requirement: !ruby/object:Gem::Requirement