railway_flower 0.0.1 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 4bf73c3dc6dbf19d2db0c23880e799d4943fd97128c590f273f669ddba7410b5
4
+ data.tar.gz: b737d5550eccc503f3a7ed39036780c337ee3685b4f82fb16f0408fff109ba16
5
+ SHA512:
6
+ metadata.gz: 446d88c072414457d564cb6e81ca639fcb43cb97242696ff3ba73851ed5b38989f907d495f985afbb19a3642e7606e27a358a47eb5072841a6de59e55a7ad0eb
7
+ data.tar.gz: 4a8947c10bcffc501e8db16d8cd34551abae5aaa6d1e23a0bda738598b6540d14797cfd104e1bf2644303c7bcb48cd9dc3fae5db173df9f1295b6802c4434053
@@ -0,0 +1,2 @@
1
+ Rails.application.config.assets.precompile += %w( jasmine_suite.js )
2
+ Rails.application.config.assets.precompile += %w( jasmine/jasmine.css )
@@ -1,4 +1,4 @@
1
1
  RailwayFlower::Engine.routes.draw do
2
2
  root :to => "specs#index"
3
- match '/:manifest' => 'specs#run', :as => :run
3
+ get '/:manifest' => 'specs#run', :as => :run
4
4
  end
@@ -6,7 +6,12 @@ module RailwayFlower
6
6
  isolate_namespace RailwayFlower
7
7
 
8
8
  initializer :setup_railway_flower do |app|
9
- app.assets.append_path "#{app.root}/#{RailwayFlower.spec_path}"
9
+ if (app.assets && app.assets.respond_to?(:append_path))
10
+ app.assets.append_path "#{app.root}/#{RailwayFlower.spec_path}"
11
+
12
+ elsif Sprockets::VERSION.split(".").first.to_i >= 3
13
+ Sprockets.append_path "#{app.root}/#{RailwayFlower.spec_path}"
14
+ end
10
15
  end
11
16
  end
12
- end
17
+ end
@@ -1,3 +1,3 @@
1
1
  module RailwayFlower
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -17,9 +17,9 @@ Gem::Specification.new do |s|
17
17
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
18
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
19
  s.require_paths = ["lib"]
20
-
21
- s.add_dependency "rails", "~> 3.1.0"
22
-
20
+
21
+ s.add_dependency "rails", ">= 3.1"
22
+
23
23
  s.add_development_dependency 'rspec', '>= 2.4.0'
24
24
  s.add_development_dependency 'guard-rspec', '>=0.1.9'
25
25
  s.add_development_dependency 'rake'
metadata CHANGED
@@ -1,60 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railway_flower
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
5
- prerelease:
4
+ version: 0.0.6
6
5
  platform: ruby
7
6
  authors:
8
7
  - Sebastian Munz
9
- autorequire:
8
+ autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-11-30 00:00:00.000000000 Z
11
+ date: 2020-07-10 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rails
16
- requirement: &2170674820 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
- - - ~>
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
- version: 3.1.0
19
+ version: '3.1'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *2170674820
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '3.1'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: rspec
27
- requirement: &2170674320 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
- - - ! '>='
31
+ - - ">="
31
32
  - !ruby/object:Gem::Version
32
33
  version: 2.4.0
33
34
  type: :development
34
35
  prerelease: false
35
- version_requirements: *2170674320
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.4.0
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: guard-rspec
38
- requirement: &2170673860 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
- - - ! '>='
45
+ - - ">="
42
46
  - !ruby/object:Gem::Version
43
47
  version: 0.1.9
44
48
  type: :development
45
49
  prerelease: false
46
- version_requirements: *2170673860
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.1.9
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: rake
49
- requirement: &2170673480 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
- - - ! '>='
59
+ - - ">="
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  type: :development
56
63
  prerelease: false
57
- version_requirements: *2170673480
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
58
69
  description: Jasmine specs in rails 3.1
59
70
  email:
60
71
  - sebastian@yo.lk
@@ -62,7 +73,7 @@ executables: []
62
73
  extensions: []
63
74
  extra_rdoc_files: []
64
75
  files:
65
- - .gitignore
76
+ - ".gitignore"
66
77
  - Gemfile
67
78
  - Guardfile
68
79
  - MIT-LICENSE
@@ -71,6 +82,7 @@ files:
71
82
  - app/controllers/railway_flower/specs_controller.rb
72
83
  - app/views/railway_flower/specs/index.html.erb
73
84
  - app/views/railway_flower/specs/run.html.erb
85
+ - config/initializers/assets.rb
74
86
  - config/routes.rb
75
87
  - lib/railway_flower.rb
76
88
  - lib/railway_flower/engine.rb
@@ -83,33 +95,25 @@ files:
83
95
  - vendor/assets/javascripts/jasmine/jasmine.js
84
96
  homepage: ''
85
97
  licenses: []
86
- post_install_message:
98
+ metadata: {}
99
+ post_install_message:
87
100
  rdoc_options: []
88
101
  require_paths:
89
102
  - lib
90
103
  required_ruby_version: !ruby/object:Gem::Requirement
91
- none: false
92
104
  requirements:
93
- - - ! '>='
105
+ - - ">="
94
106
  - !ruby/object:Gem::Version
95
107
  version: '0'
96
- segments:
97
- - 0
98
- hash: -2946908003987242527
99
108
  required_rubygems_version: !ruby/object:Gem::Requirement
100
- none: false
101
109
  requirements:
102
- - - ! '>='
110
+ - - ">="
103
111
  - !ruby/object:Gem::Version
104
112
  version: '0'
105
- segments:
106
- - 0
107
- hash: -2946908003987242527
108
113
  requirements: []
109
- rubyforge_project: railway_flower
110
- rubygems_version: 1.8.10
111
- signing_key:
112
- specification_version: 3
114
+ rubygems_version: 3.0.3
115
+ signing_key:
116
+ specification_version: 4
113
117
  summary: Jasmine specs in rails 3.1
114
118
  test_files:
115
119
  - spec/spec_helper.rb